Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasession
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01293763
Message ID:
01293776
Views:
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"
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform