Good point. I've been spending so much time in DOS 2.6 lately, I forget about the TEXT to variable.
Fred On Fri, Apr 13, 2012 at 5:19 AM, Frank Cazabon <[email protected]>wrote: > > Frank. > > Frank Cazabon > > > > On 13/04/2012 03:06 AM, Fred Taylor wrote: > > It does sound like your string is too long. Build it up in parts, not > all > > of it can be between one set of quotation marks. Maximum between quotes > is > > 255 chars. > > > > m.cSQL = [insert into food ]+; > > [(FoodID,CategoryID,CompanyID,]+; > > [UserID,Name)]+; > > [ values ]+; > > [(?lnFoodId,?lnCategoryId,?lnCompanyId,]+; > > [?lnUserId,?lcName) > > > > Fred > > > > A way that works much better is this: > > TEXT TO m.cSQL NOSHOW TEXTMERGE > insert into food (FoodID > > ,CategoryID > ,CompanyID > ,UserID > ,Name) > values > (?lnFoodId > ,?lnCategoryId > ,?lnCompanyId > ,?lnUserId > ,?lcName) > ENDTEXT > > > [excessive quoting removed by server] _______________________________________________ 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/CAJCBksoquTEvPJtUF4b==wzy52xgnrnmyvexac6k74pwyxm...@mail.gmail.com ** 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.

