Hi every body,
i have three table in my project , on each form in my project i open three tables either to edit or add
i open these tables an close them too much times on my code
i use the following code
is there any way to make a function with name forexample (Open table)
and when i want to open any table i just write open_table("table1")
Great Thanks
i have three table in my project , on each form in my project i open three tables either to edit or add
i open these tables an close them too much times on my code
i use the following code
Code:
Dim FoodStuff As DAO.Database
Dim RsFood As DAO.Recordset
Set FoodStuff = CurrentDb
Set RsFood = FoodStuff.OpenRecordset("Table1")
is there any way to make a function with name forexample (Open table)
and when i want to open any table i just write open_table("table1")
Great Thanks