Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box wont show source data
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo box wont show source data
Miscellaneous
Thread ID:
00273070
Message ID:
00273070
Views:
55
I have a class set up which uses a Lookup file to take specific
records out depending on a key(icLookupKey) and populates
a combo box. If I drop one instance on a form, it works fine.
However, if I want a few different lookups on the same form,only
the Last one that I have accessed seems to work correctly.
- The correct values are displayed
- When I do select an item, it is written away correctly to my source record ....

but, when I initially bring up a form, the actual field is blank on all combos
except the last one I accessed ?

I have following class code in INIT (I also tried putting it into WHEN)

this.icSource=;
"Select par_code,par_valx1;
from par ;
into cursor lookupcur;
order by par_code ;
where par_type = this.icLookupKey"
this.RowSource = this.icSource
this.Requery()

Any help appreciated

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform