Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String gets cut off in a query, the reason?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01072623
Message ID:
01072632
Views:
12
>Use PADR to insure the result field length. Otherwise FoxPro will determine the size of the field based on the first physical record in the table.
>PADR([<a href=wc.dll?testProcess~HelloWorld~&bedid=]+
>transform(bedid)+[~&vacid=]+transform(vacid)+[>],254) as pagelink;	
>
Ah, it works that way. Thanks for your help

>
>
>>I have the following sql syntax:
>>
>>SELECT *, ;
>>[<a href=wc.dll?testProcess~HelloWorld~&bedid=]+
>transform(bedid)+[~&vacid=]+transform(vacid)+[>]as pagelink;	
>>FROM vacancies;
>>WHERE vacancies.bedid = nBedid;
>>INTO CURSOR tVacancies
>>
>>
>>
>>For nBedid = 16 the vacid equals 41. I get the follwing string result:
>>
>><a href=wc.dll?testProcess~HelloWorld~&bedid=16~&vacid=41
>>
>>
>>What happened with [>]? What am I doing wrong?
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform