Looking at it in more detail I think the problem is that it is not recognising taSelections as an array.
John Weller 01380 723235 07976 393631 > -----Original Message----- > From: ProfoxTech [mailto:[email protected]] On Behalf Of > John Weller > Sent: 22 October 2013 17:48 > To: [email protected] > Subject: Build error > > 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. > > Report [OT] Abuse: > http://leafe.com/reportAbuse/001701cecf46$6d5aa340$480fe9c0$@johnwel > ler.co.uk _______________________________________________ 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.

