G
Guest
In Form2, I have a save button which will update a listbox and a textbox in
Form1. My code in the Form2 save button looks like this:
Forms!Form1!listbox1.Requery
Forms!Form1!txtTotal.ControlSource =
DSum("[table1]![field1]","[table1]","[lngPNo]=Forms!Form1!lngPNo")
When I click on the Save button, I the listbox in Form1 works properly but
the field in Form1 shows #Name?. When I right-click on it and look at the
properties and controlsource, the number is there but it's just not
displaying. Any ideas? Thanks.
ck
Form1. My code in the Form2 save button looks like this:
Forms!Form1!listbox1.Requery
Forms!Form1!txtTotal.ControlSource =
DSum("[table1]![field1]","[table1]","[lngPNo]=Forms!Form1!lngPNo")
When I click on the Save button, I the listbox in Form1 works properly but
the field in Form1 shows #Name?. When I right-click on it and look at the
properties and controlsource, the number is there but it's just not
displaying. Any ideas? Thanks.
ck