Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - help
Message
From
15/10/1997 00:14:02
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL - help
Miscellaneous
Thread ID:
00054618
Message ID:
00054618
Views:
74
ccommand = 'COPY TO ' + cfilename + ' FOR ' + THIS.cflagfield
&ccommand

SELECT 0
USE (cfilename) ALIAS tmp1
ccommand = 'SELECT *,RECNO(ctblname) AS flagrecno FROM tmp1,' + ;
ctblname + ' WHERE tmp1.' + THIS.ckeyfield + '=' + ctblname + ;
'.' + THIS.ckeyfield + ' AND tmp1.'+ THIS.cseqfield + '=' + ;
ctblname + '.' + THIS.cseqfield + ;
' INTO CURSOR mycursor'
&ccommand

I have these commands to select records that are flagged from the buffer (table buffering mode). The RECNO doesn't seem to return the correct number. What is the problem and any idea how to overcome this?

Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform