>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