I have à dbadvgrid and want certain column to be looked up in another table. How should I do that? THE manual doesn't really help.
Did you have a look at either the demo ADOLookup and
AdvDBLookupInGrid that show two sample implementations?
I can't get these examples to run. While opening the files I get an error that the file c:\PDOXUSRS.NET does not exist and then a permission denied error on c:, although I have administrator rights...
For the BDE demos, run the IDE as admin.
TX. Demo runs now. I can now start to try to understand te working. Is any documentation available? Or some hints? At least I see the demo does exactly what I want!
This control is running me crazy. Pls help me out.
The TAdvDBLookupComboBox willl not perform filtering, it is merely a component to select a DB field value from a datasource that is linked with a lookup datasource (listsource). From your description, it would appear you do not need a TAdvDBLookupComboBox, but would rather have to write an event handler from a regular TComboBox OnChange event to update a query to perform filtering.
Basically I agree with you. However, THE combo box should be filled with data from a db table. It should display a certain textfield, and when selected THE eventhandler should filter another query based on THE corresponding key. I hoped such à component would be in the TMS set. Since this situation must occur constantly amongst developers!
Solved! It is the DBLookupComboBox where you do not fill in the datasource property. Up till a few moments ago i had the impression that the datasource property was required to be filled in. But if you do so, the component edits the correponding datafield from the datasource!