Re: DBGrid problem
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Thu, 17 Aug 2006 19:51:42 -0500
Sorry, but i've already posted this question on another ng, but i hope thisYou should only be using one TadoConnection for both datasets
is the correct ng :)
This is the situation:
- One access db with 2 tables:
maintable: id: (unique key)
frequency : string
name : string
surname : string
secondtable: id: (unique key)
freq:string;
Now I've a form with a dbgrid linked to a datasource,linked to the
maintable, and 2 adoconnection ("adomain" and "adosecondtable")
Define a lookup field in the main table with the looklist pointing to your
What i want to do is quite simple... on the dbgrid i want a combobox on the
"frequency column"(picking values from the second table,field "freq"), but i
don't want a master-detail relationship; so when i select the string from
the combobox, that string will be stored on the maintable (and NOT linked to
the second table using "id").
second table. The Grid should automatically give you the combobox you are
looking for
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- DBGrid problem
- From: Michelinok
- DBGrid problem
- Prev by Date: stored proc suddenly extremely slow
- Next by Date: Error using locate
- Previous by thread: DBGrid problem
- Next by thread: stored proc suddenly extremely slow
- Index(es):
Relevant Pages
|