Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String gets cut off in a query, the reason?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01072623
Message ID:
01072632
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform