Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images and SQL Server
Message
From
07/08/2004 12:45:12
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00931245
Message ID:
00931547
Views:
21
Dear Borislav,
I use the first code as follow howerver it gives me variable location is not found

clocation=GETPICT()
?clocation
IF EMPTY(clocation)
RETURN
ENDIF
clocation=ALLTRIM(clocation)
CREATE CURSOR pictemp (pic G)
APPEND blank
APPEND GENERAL pic FROM &clocation
INSERT INTO studentinfo (location,pic);
values (clocation,pictemp.pic)
-------------------------------------------------------
then i changed to a real field name like this one:
clocation=GETPICT()
?clocation
IF EMPTY(clocation)
RETURN
ENDIF
clocation=ALLTRIM(clocation)
CREATE CURSOR pictemp (pic G)
APPEND blank
APPEND GENERAL pic FROM &clocation
INSERT INTO studentinfo (picture,pic);
values (clocation,pictemp.pic)

and it gives me variable pic not found why?
thank's for your help.
Best Regards
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform