Get data from a table in a table

pop

Registered User.
Local time
Today, 13:21
Joined
Jun 1, 2009
Messages
13
I have a text box which get value in a form which takes its value from a table, which looks like this :
Code:
=[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:
Code:
=[Forms]![frmRequest]![cboFrom].[Column](5).[Column](1)
What should I use as formula?

Thanks,

Cope
 
I forgot an important detail, my table which is in the other table can have multiple values.

Thanks,

Pop
 
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:
Code:
Me.Ename = Dlookup("[Ename]","[Table2]","[ID]=Forms![Form1]![ID]")
that's what i understood!
 

Users who are viewing this thread

Back
Top Bottom