Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images and SQL Server
Message
 
À
07/08/2004 12:45:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00931245
Message ID:
00933472
Vues:
25
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform