Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Three different problems!
Message
From
03/01/1997 08:56:10
 
 
To
03/01/1997 06:59:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00016365
Message ID:
00016373
Views:
35
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform