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:
01293780
Views:
19
>>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform