Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About grid
Message
De
18/11/2004 03:48:56
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
17/11/2004 11:18:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00962234
Message ID:
00962505
Vues:
8
i put it in activate event but my problem is exist.
i made CursorTempB in init event of my form as below :

SELECT Rec_b.*, Driver_v.dvname, Driver_v.dvcarno ;
FROM rec_b ;
LEFT OUTER JOIN driver_v ON rec_b.dvcode = Driver_v.dvcode ;
ORDER BY rec_b.rbcode INTO CURSOR &CursorTempB readwrite

INDEX ON rbnum TAG rbnum
INDEX ON rbdate TAG rbdate
INDEX ON rbsen TAG rbsen
INDEX ON rbrec TAG rbrec
SET ORDER TO tag rbnum

WITH thisform.pageframe1.page2.grid1
.RecordSource = CursorTempB
.column1.ControlSource = "rbnum"
.column2.ControlSource = "rbdate"
.column3.ControlSource = "rbsen"
.column4.ControlSource = "rbrec"
ENDWITH


can you explain more about "Remember that the use of the set filter command could take a lot of time to show your data, maybe you'd better build a temporary cursor in which you store the record to show with a scan --- endscan loop" ?

Thanks for your reply
Reza
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform