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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement