Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01293763
Message ID:
01293776
Vues:
22
>>Do you create some objects as part of form property reference?
>
>Actually no.
>in the listbox init I have
>IF USED('&zfile')
>USE IN &zfile
>endi
>USE &LD:&zfile
>
>.rowsource="select emas,doc,noun,model,s_n,rec_1297,p_u_date,loc,tin_doc,drmo_date,remarks,rek from &LD:&ZFILE into curs zecu"
>
>Another problem I notice is the when arrowing thru the listbox, it hesitates dramatically and even has two line items highlighted. ugh.

You're using macro when there is absolutely no need for it. I don't know what else may be wrong, but this particular piece of code could be re-written as
&& zfile has the actual name of the table (without the path)
USE IN select(zfile)
USE (LD + ":\" + zfile + '.dbf') alias WorkFile && assuming your DBF is on the root of the drive

.rowsource="select emas,doc,noun,model,s_n,rec_1297,p_u_date,loc,tin_doc,drmo_date,remarks,rek from WorkFile into curs zecu"
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform