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:
01293780
Vues:
21
>>>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"
>
I've always used the macros in the past. Does this hinder the app in certain ways? The real issue now is the slowness and hesitation of the listbox.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform