philfer
03-06-2010, 07:45 AM
Hello,
I have a database with a continuous form which lists people. I have a button on each saying "add" which when clicked will opens another form (the original form isnt closed yet) where the user can add a few more details and add a person to the database.
On the form which opens when you click "add" I have the following type of code to the Form_Load event
Me.ClientID = Forms!frmClientList.txtIDNumber
but I get an error saying something about an object problem. I have changed it to :-
Me.ClientID = Forms!frmClientList!txtIDNumber
but get the same problem.
Where am I going wrong
Thanks
Phil
I have a database with a continuous form which lists people. I have a button on each saying "add" which when clicked will opens another form (the original form isnt closed yet) where the user can add a few more details and add a person to the database.
On the form which opens when you click "add" I have the following type of code to the Form_Load event
Me.ClientID = Forms!frmClientList.txtIDNumber
but I get an error saying something about an object problem. I have changed it to :-
Me.ClientID = Forms!frmClientList!txtIDNumber
but get the same problem.
Where am I going wrong
Thanks
Phil