View Full Version : Get data from a table in a table


pop
07-28-2009, 09:42 AM
I have a text box which get value in a form which takes its value from a table, which looks like this :
=[Forms]![frmRequest]![cboAsk].[Column](1)from there its ok, but my problem is that I have a Data type that takes it data from a table (table in a table). So how can I take that value, I tried this but it didn't worked:
=[Forms]![frmRequest]![cboFrom].[Column](5).[Column](1)What should I use as formula?

Thanks,

Cope

pop
07-29-2009, 04:12 AM
I forgot an important detail, my table which is in the other table can have multiple values.

Thanks,

Pop

HAMMAMABUARQOUB
07-30-2009, 09:48 AM
did you try Dlookup!
xample:
if you have a field names id ID from Table 1, you wan to get the Ename of this Id from table 2 "must not contain dublicate IDs) type:

Me.Ename = Dlookup("[Ename]","[Table2]","[ID]=Forms![Form1]![ID]")

that's what i understood!