F
Frustrated..!
Hihi, I have been trying for days.
I'm using dlookup but is returns the autonumber of combo box.
I have simplify it and here is how it goes,
I have 2 table name [tbl_Process] & [tbl_Stations]
[tbl_Stations]
Auto= AutoNumber(primary)
Stations=Text
[tbl_Process]
Auto=AutoNumber(primary)
Model=Text
Stations=ComboBox (tbl_Stations,BoundCol=1,ColCount=2,ColWidth=0,1)
Seq=Integer
In my form,
Private Sub Command0_Click()
MsgBox DLookup("[Stations]", "[tbl_Process]", "[Model]=""A"" AND Seq=3")
End Sub
it keeps returning the value of [tbl_Stations]'s Autonumber..?
pls help..
I'm using dlookup but is returns the autonumber of combo box.
I have simplify it and here is how it goes,
I have 2 table name [tbl_Process] & [tbl_Stations]
[tbl_Stations]
Auto= AutoNumber(primary)
Stations=Text
[tbl_Process]
Auto=AutoNumber(primary)
Model=Text
Stations=ComboBox (tbl_Stations,BoundCol=1,ColCount=2,ColWidth=0,1)
Seq=Integer
In my form,
Private Sub Command0_Click()
MsgBox DLookup("[Stations]", "[tbl_Process]", "[Model]=""A"" AND Seq=3")
End Sub
it keeps returning the value of [tbl_Stations]'s Autonumber..?
pls help..