> taItems[ lnCount, 3] = "ThisForm.EditPo(cPoNo)"
> I have created a method in the form called EditPo and placed:
>
> LParameters cPoNo
> MessageBox("Edit this PO no " + cPoNo)
>
> My problem is that this gives an error "Cannot find cPoNo"
>
> Any Ideas
Your trouble is perhaps that cPoNo is not defined when the code in
aItems[ lnCount, 3] is executed.
I think you want to send the actual value itself:
taItems[ lnCount, 3] = [ThisForm.EditPo('] + cPoNo + [')] && where
cPoNo contains purchase invoice number
this should equate to something like
taItems[ lnCount, 3] = "ThisForm.EditPo('PO123')"
--stuart
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.