Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STR() basic question
Message
 
 
À
01/08/2005 22:30:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01037696
Message ID:
01037702
Vues:
33
The names in VFP cannot start with digits. It has to start with a letter or "_" (underscore). Someting like
lcPillName = "P" + TRANSFORM(pills.id)
>
>Basically, I want to store pills.ID field in a variable (lcPillName).
>What's wrong in this code?
>
>Why AddObject(lcPillName...) returns a syntax error? I want to add a 'pill' object named, let's say '1' or '2'...
>
>
>lcPillName=''
>
>SCAN
>
>  lcPillName = str(pills.id)
>  Thisform.AddObject(lcPillName,'pill')
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform