Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images and SQL Server
Message
 
To
07/08/2004 12:45:12
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00931245
Message ID:
00933472
Views:
24
Sorry for my late answer, but I was on vacation,
Are You sure that You have Pic field in StudentInfo table?
I try Your code & it works.

Here what I try:
CREATE CURSOR studentinfo (picture M, pic G)

clocation=GETPICT()
?clocation
IF EMPTY(clocation)
   RETURN
ENDIF
clocation = ALLTRIM(clocation)
CREATE CURSOR pictemp (pic G)
APPEND BLANK
APPEND GENERAL Pic FROM (clocation) && I prefer to use brackets instead of macro

INSERT INTO studentinfo (picture  ,pic);
           VALUES       (clocation,pictemp.pic)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform