that helped but it returns numbers like 2, 4 , 5 etcIt can help if you explain what error you're receiving.
atheltID is a number then :
Code:=DLookUp("tmimaID","Tbl_StelehosiTmimaton","atheltID=" & [atheltID])
ok, for tmimaIDOn Design View of table Tbl_StelehosiTmimaton, click on Lookup Tab (below panel).
post the SQL of the Rowsource.
SELECT [Tbl_Tmimata].[tmimaID], [Tbl_Tmimata].[ONOMA] FROM Tbl_Tmimata ORDER BY [tmimaID];
SELECT [Tbl_Athlets].[atheltID], [Tbl_Athlets].[ΕΠΙΘΕΤΟ], [Tbl_Athlets].[ΟΝΟΜΑ] FROM Tbl_Athlets ORDER BY [atheltID];
WOWWW=Dlookup("Onoma", "tbl_Tmimata", "tmimaID = " & Nz(DLookUp("tmimaID","Tbl_StelehosiTmimaton","atheltID=" & [atheltID]), 0))
Thank you very much=Dlookup("Onoma", "tbl_Tmimata", "tmimaID = " & Nz(DLookUp("tmimaID","Tbl_StelehosiTmimaton","atheltID=" & [atheltID]), 0))
you're welcome!Thank you very much
I ve tested it is superb but when theres no record on form i am askingwith the New Expression, test your form. i think there will be no more error.
i hope you mean thiswhat is the RowSource (the SQL string) of the combobox?