Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String is too long
Message
From
17/05/2002 16:49:35
 
 
To
17/05/2002 16:33:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658429
Message ID:
00658435
Views:
10
a single string is limited to 255 characters. Break this up into say 3 char variables such as cSQL1, cSQL2 and cSQL3 and then concatonate them back using
something like cSQL = cSQL1 + cSQL2 + cSQL3. Seems odd but it will indeed work...

>How can I get this SQL string to work. It is too long but I need all the info
>
>testthissd = "INSERT INTO drawmstrp"+;
>"(dm_drawing_number,dm_drawing_title,dm_pending_change,"+;
>"dm_date_issued,dm_requester_name1,dm_requester_name2,"+;
>"dm_job_order,dm_project,dm_customer,dm_size,dm_sheets)"+;
>"Values"+;
>"(&nfn,"+"&nf2,"+"&nf3,"+"&nf4,"+"&nf5,"+"&nf6,"+"&nf7,"+"&nf8,"+"&nf9,"+"'E'"+",1)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform