General information
Category:
Forms & Form designer
Title:
Combo box wont show source data
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only