Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting the recods from cursor
Message
From
20/01/2008 13:19:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Inserting the recods from cursor
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01283436
Message ID:
01283436
Views:
63
I am inserting the records from cursor. but only one top record is inserting.



SELECT student.*, Level.*,exam.*;
FROM ;
student,exam ;
INNER JOIN level ;
ON Student.lcode = Level.code;
WHERE scode=thisform.scode.value and lcode=thisform.lcode.Value;
and sec=thisform.sec.value and admtd=1 AND exam.code=thisform.code.value INTO CURSOR examre1

zpath=path
zbex=bex_a
zmonth=Nmonth
zscode=scode
zlcode=lcode
zsec=sec
zexamcode=code_c

INSERT INTO examtran (ttpath,bex,nmonth,scode,lcode,sec,examcode);
values (zpath,zbex,zmonth,zscode,zlcode,zsec,zexamcode)
what is mistake?thanks
Next
Reply
Map
View

Click here to load this message in the networking platform