On 12/04/2012 07:56 PM, M Jarvis wrote: > in direct mode the parameter values are within scope. In a pass thru, > (not sure) they might not be, thus they need to be evaluated first and > placed into the string before sending it along to SQL. So your code > might look something like: "insert into food > (FoodID,CategoryID,CompanyID,UserID,Name) values > (evaluate(?lnFoodId),evaluate(?lnCategoryId),evaluate(?lnCompanyId),evaluate(?lnUserId),evaluate(?lcName)) > > Just a WAG...
Once you declare the parameters as private you don't need to do that. Frank. Frank Cazabon _______________________________________________ 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.

