Hello
I have a form that´s not based on a query or table, on this form I have a field that I use to display a record in a subform.
I need to check if I get a match before I use the subform query. if record exist messagebox("record exists") and if it does not get a match msgbox("record does not exist")
I´m all new to finding a record in a recordset so it would be nice to get a newby answer
I tried to use some of the code in other posts but couldnt get it to work.
Form: Huvudmeny
FormField for check: TxtOrdernr
Table: TOrder
Field in table: Ordernr
Let me know if you need any more information
//Micke
I have a form that´s not based on a query or table, on this form I have a field that I use to display a record in a subform.
I need to check if I get a match before I use the subform query. if record exist messagebox("record exists") and if it does not get a match msgbox("record does not exist")
I´m all new to finding a record in a recordset so it would be nice to get a newby answer
I tried to use some of the code in other posts but couldnt get it to work.
Form: Huvudmeny
FormField for check: TxtOrdernr
Table: TOrder
Field in table: Ordernr
Let me know if you need any more information
//Micke