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



_______________________________________________
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.

Reply via email to