Hi
I am new in Ms Access
I need to know how can i create a command button on a form. When it is clicked, a table is opened that is associated to the data in a field i have.
E.g: if ( surName == "abc") then open table Table_Abc
if ( surName == "qaz") then open table Table_Qaz
i will have a lot of surnames, so tables needs to be opened accordingly.
Will it be done by macro, or expressin builder? If it needs VB code, can you give me that as i dont know VB
thank you very much
hassan
					I am new in Ms Access
I need to know how can i create a command button on a form. When it is clicked, a table is opened that is associated to the data in a field i have.
E.g: if ( surName == "abc") then open table Table_Abc
if ( surName == "qaz") then open table Table_Qaz
i will have a lot of surnames, so tables needs to be opened accordingly.
Will it be done by macro, or expressin builder? If it needs VB code, can you give me that as i dont know VB
thank you very much
hassan
Comment