assign a value to bound textbox

G

gjtired

I have a form that has bound textboxes. Based on a query if there are
no records in the table, I want to push a value to the textbox.

This is what I have and it gets an error:

"You can't assign a value to this object"

Me.txtPrimaryLastName.Value = [Forms]![frmNewRegisForm]!
[sbfrmShortAttendeesform].Form![LastName]

Please help.
 
K

Klatuu

You first have to create a new record before you can enter any data in the
text boxes.
 
Top