Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow
Message
From
07/07/2008 05:41:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Slow
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01329335
Message ID:
01329335
Views:
58
Hi all,

i try to see result at mygrid , but it is very slow operation,

f1=national number
f4=my file number as 00123/234

at my grid i must see all records have the same file number
USE x2
INDEX on f4 TO kk
LOCATE fOR f1=ALLTRIM(thisform.text1.value)
IF FOUND()

thisform.text2.value=f4
SELECT f1,f2,f3,f5,f6 FROM x2 WHERE f4=(thisform.text2.value);
order BY f5;
into CURSOR mycur
COUNT TO s
thisform.grid1.RecordSource="mycur"

ELSE
MESSAGEBOX("not found")
ENDIF
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform