DBGrid problem



Sorry, but i've already posted this question on another ng, but i hope this
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")

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").

Can someone point me on how to set the parameters of the column field?

Sorry for my English! :(





.



Relevant Pages

  • Re: AssertionFailure null id in entry
    ... private String MYROW1; ... However, as stated before, when I have a duplicate unique key, it ... EntityMode entityMode) ... Now Hibernate needs to do 2 things - it needs to persist an object to the ...
    (comp.lang.java.programmer)
  • Re: Using multiple keys within Map object
    ... My problem is that the unique key is 3 double values when non of them is unique by itself. ... There is a function to convert a floating point value to a string which is its ... Matlab help says that num2str is doing that but I've found that it cuts the accuracy dramatically. ... and data classes and value ...
    (comp.soft-sys.matlab)
  • Re: AssertionFailure null id in entry
    ... private String MYROW1; ... However, as stated before, when I have a duplicate unique key, it ... Now deleted the id autoincrement field from my mapping class and used ...
    (comp.lang.java.programmer)
  • Re: AssertionFailure null id in entry
    ... private String MYROW1; ... However, as stated before, when I have a duplicate unique key, it ... Now deleted the id autoincrement field from my mapping class and used ...
    (comp.lang.java.programmer)
  • Re: DBGrid problem
    ... frequency: string ... surname: string ... secondtable: id: (unique key) ... the combobox, that string will be stored on the maintable (and NOT linked to ...
    (borland.public.delphi.database.ado)