R
Revned
hi,
i have two different forms, the first one i name it Customer
the second form i name it Order Form....
in my Customer form i have a button [Place Order] with the event
DoCmd.OpenForm "Order Forms", acNormal, , , acFormAdd
Forms![Order Forms]![Text13].Value = Me.Text13.Value
Forms![Order Forms]![Text15].Value = Me.Text15.Value
Forms![Order Forms]![Text19].Value = Me.Text19.Value
Forms![Order Forms]![Combo61].SetFocus
DoCmd.Close acForm, "Customer", acSaveYes
this command will populate the information to my Order Forms such as
customer name [First Name] and [Last Time], the code works will
THE PROBLEM OCCURS when I use concatente in my Order Forms text box
txtCustomerName, i set the control source to = [First Name] & " " & [Last
Name]
it works for some time but when i close the Order Forms
and open my Customer form then click on my cmdPlaceOrder button
i have this Error
'Run Time Error '2448':
and highlights this code
Forms![Order Forms]![Text15].Value = Me.Text15.Value
with a message box
'You can't assign a value to thisobject.
pls. is there a way tofix this error...
thank you very much in advance a spending a time for this question
i have two different forms, the first one i name it Customer
the second form i name it Order Form....
in my Customer form i have a button [Place Order] with the event
DoCmd.OpenForm "Order Forms", acNormal, , , acFormAdd
Forms![Order Forms]![Text13].Value = Me.Text13.Value
Forms![Order Forms]![Text15].Value = Me.Text15.Value
Forms![Order Forms]![Text19].Value = Me.Text19.Value
Forms![Order Forms]![Combo61].SetFocus
DoCmd.Close acForm, "Customer", acSaveYes
this command will populate the information to my Order Forms such as
customer name [First Name] and [Last Time], the code works will
THE PROBLEM OCCURS when I use concatente in my Order Forms text box
txtCustomerName, i set the control source to = [First Name] & " " & [Last
Name]
it works for some time but when i close the Order Forms
and open my Customer form then click on my cmdPlaceOrder button
i have this Error
'Run Time Error '2448':
and highlights this code
Forms![Order Forms]![Text15].Value = Me.Text15.Value
with a message box
'You can't assign a value to thisobject.
pls. is there a way tofix this error...
thank you very much in advance a spending a time for this question