John Weller <[email protected]> wrote:
>I've just replaced a piece of code on a command button with a form
>method.
>I took the existing code and pasted it into a method then made the
>appropriate changes.
>
>The calling line is:
>
>= MkSelection(lnSelections, lcCursor, 'UnionID', laSelections,
>'curTemp3')
>
>where laSelections is a local array.
>
>The parameters line in the method is:
>
>LPARAMETERS tnSelections, tcSrceCursor, tcFieldname, taSelections,
>tcDestCursor
>
>When I build the app I get the following error message:
>
> Unknown TASELECTIONS - Undefined
>
>I suspect I have missed something out but can't see what, any help
>gratefully received.
>
>Regards 
>

John,

You need to pass the array by reference.

Put an @ in front of the array variable in the calling line.

-- 
Tracy

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.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.

Reply via email to