P
PBrown
Currently the form is set up to open on a new record.
However, even if the user does not enter any information
it is saved. This is causing excessive blank records. I
believe the problem may lie with the fact that the subform
has default values (0) in the 5 value fields and when the
form is opened the 0's are filled in which causes the
record to save. I have tried taking out the default of 0
from the table for the subform, but it causes errors when
running the reports due to some of the calculations.
Basically because not all 5 fields have to be used every
time and the report can not multiple/add/divide by null.
Is there away to have the button "Return to Main" (Which
closes the form and opens the main form) to also state
something like (I know the code is incorrect, but is
basically says what is needed):
If isnull [description] then
Do not save record
else
save record
end if
Where [description] is a field from the subform named: Car
Data, and the subforms control source is Car subform
Thank you in advance for any and all help, this is
begining to bug me.... Too many excessive records slowing
down the reports.
Thank you again,
PBrown
However, even if the user does not enter any information
it is saved. This is causing excessive blank records. I
believe the problem may lie with the fact that the subform
has default values (0) in the 5 value fields and when the
form is opened the 0's are filled in which causes the
record to save. I have tried taking out the default of 0
from the table for the subform, but it causes errors when
running the reports due to some of the calculations.
Basically because not all 5 fields have to be used every
time and the report can not multiple/add/divide by null.
Is there away to have the button "Return to Main" (Which
closes the form and opens the main form) to also state
something like (I know the code is incorrect, but is
basically says what is needed):
If isnull [description] then
Do not save record
else
save record
end if
Where [description] is a field from the subform named: Car
Data, and the subforms control source is Car subform
Thank you in advance for any and all help, this is
begining to bug me.... Too many excessive records slowing
down the reports.
Thank you again,
PBrown