Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three different problems!
Message
De
03/01/1997 08:56:10
 
 
À
03/01/1997 06:59:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00016365
Message ID:
00016373
Vues:
43
>Dear Visual FoxPro users
>
>Problem 1:
>Following code generate a cursor with the name kvitto_rad
>and not with the name kvitto_rad1. I have also tried
>&kvitto_rad, but then I got a syntax error. What shall I
>do?
>
>nAntalKolumner = 1
>kvitto_rad = "kvitto_rad" + str(nAntalKolumner)

&& Use ALLTRIM(STR()) or STR(nExpr,1), else you get "kvitto_rad 1"

>create cursor kvitto_rad;
> (vgivpersnr c(12), mottagnid c(1), besoksdatum c(8))

&& Use CREATE CURSOR &cExpr.
>
>Problem 3:
>I have a property on a form with thw namn cNr.
>If I initialise the proprty to 451206 in the property window,
>FoxPro think it is a numeric value and if I write
>"451206", I got the string "451206" (8 char). How do I do if I
>just want to have six characters (451206).

Initialiaze in Init event to "451206".
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform