M
Mike Quinn
I've been fighting an issue for about a day now. I didn't see mention
of it so I thought I'd post it.
I had a Combobox to perform data lookups. The record data was being
populated by a strongly typed dataset. I had the lookup data within
the same STD. The structure was like the following:
STD
Record Data Table:
ID
LookupID
DataField1
DataField2
Lookup Data Table:
LookupID
Description
The STD, as stated above, was being populated with both the record
data and the lookup data. The front end combobox was set up to hook
the LookupID from the Record Data with the description from the Lookup
Data. Standard stuff.
The problem was that the combobox would get set to the first record
from the Lookup Data Table until the user navigated the datagrid.
The issue behind the problem was that the Record Data was being
populated within the STD prior to the Lookup Data being populated.
So, the front end events were firing off to hook the lookup data prior
to the lookup data table being filled.
To fix this, I brought my lookup data into a separate STD and filled
it prior to the record data being populated.
Thanx,
-q
of it so I thought I'd post it.
I had a Combobox to perform data lookups. The record data was being
populated by a strongly typed dataset. I had the lookup data within
the same STD. The structure was like the following:
STD
Record Data Table:
ID
LookupID
DataField1
DataField2
Lookup Data Table:
LookupID
Description
The STD, as stated above, was being populated with both the record
data and the lookup data. The front end combobox was set up to hook
the LookupID from the Record Data with the description from the Lookup
Data. Standard stuff.
The problem was that the combobox would get set to the first record
from the Lookup Data Table until the user navigated the datagrid.
The issue behind the problem was that the Record Data was being
populated within the STD prior to the Lookup Data being populated.
So, the front end events were firing off to hook the lookup data prior
to the lookup data table being filled.
To fix this, I brought my lookup data into a separate STD and filled
it prior to the record data being populated.
Thanx,
-q