Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Three different problems!
Message
From
03/01/1997 06:59:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Three different problems!
Miscellaneous
Thread ID:
00016365
Message ID:
00016365
Views:
84
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)
create cursor kvitto_rad;
(vgivpersnr c(12), mottagnid c(1), besoksdatum c(8))

I think it's the same problem with this code. I got a
syntax error (&kvitto_rad).

insert into &kvitto_rad (vgivpersnr, mottagnid, besoksdatum)
values (ThisForm.lstKvitto.list(nCnt, 1),;
ThisForm.lstKvitto.list(nCnt, 2),;
ThisForm.lstKvitto.list(nCnt, 3))

Problem 2:
I have a textbox with a date and If you put a invalid date in
the box you got a system message "Invalid input (press space)".
Is there any possibility to disable that message.

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).
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Next
Reply
Map
View

Click here to load this message in the networking platform