A
at
I have a form that has two subforms on it. The form has two fields that
contain the totals from each of the two subforms. The total fields are then
used in a calculation. This value is then stored in a table. I wouldn't
normally keep a calculated field in a table, but in this case it works best.
I have a print button on the form that prints out the information on the
form. However, sometimes when the user clicks on the print button, the
report prints out with zeros in the field that comes from the calculation.
It's like the report is printed before the value is saved in the table. I
have code to do a save before it prints the report and sometimes it works and
sometimes it doesn't. The database is on a network with the FE on the users
local drive and the BE on the network. Any ideas on how I can make sure the
value has been saved in the table before the report prints??
Thanks for any advice you can give me.
at
contain the totals from each of the two subforms. The total fields are then
used in a calculation. This value is then stored in a table. I wouldn't
normally keep a calculated field in a table, but in this case it works best.
I have a print button on the form that prints out the information on the
form. However, sometimes when the user clicks on the print button, the
report prints out with zeros in the field that comes from the calculation.
It's like the report is printed before the value is saved in the table. I
have code to do a save before it prints the report and sometimes it works and
sometimes it doesn't. The database is on a network with the FE on the users
local drive and the BE on the network. Any ideas on how I can make sure the
value has been saved in the table before the report prints??
Thanks for any advice you can give me.
at