Thanks all. With that I was able to update the two tables that I needed to but 
I have hit another stumbling block. Can I open and work on multiple tables from 
within FoxPro by querying them one at a time? Or do I need to pull the data in 
one join that gets me all the line items in one select?  I think that it is 
just me wrapping my head around a different method of accessing data that is 
slowing me down somewhat. 


Michael Oke, II
661-349-6221

Contents of this and all messages are intended for their designated recipient. 

On Apr 13, 2012, at 7:55 AM, Fred Taylor <[email protected]> wrote:

> 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/[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