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:
01072624
Vues:
14
This message has been marked as the solution to the initial question of the thread.
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;	
>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?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform