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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top