S
steveman2000
Two forms A and B. Form A opens form B and form B contains a sub form. After
setting a public variable on A to true (to indicate add record) then opening
form B using a command. Form B on load checks the variable and if its set to
true executes the go to add record. It then executes several insert queries
which after calling a form refresh fills up the sub form. However when teh
form refresh command is executed an error message comes up saying check box
value cannot be set to false when null which is teh message that i get when a
field is illegally null (there are no check box fields in the sub form (or
teh main form). After clicking ok there are no problems. I have checked the
the fields in teh underlining tables are not set to required and are
appropraitely set to allow empty value.
I've been on this bug for a long time and even though the form can be used
after clicking ok its still very annoying.
Please help, Thanks
setting a public variable on A to true (to indicate add record) then opening
form B using a command. Form B on load checks the variable and if its set to
true executes the go to add record. It then executes several insert queries
which after calling a form refresh fills up the sub form. However when teh
form refresh command is executed an error message comes up saying check box
value cannot be set to false when null which is teh message that i get when a
field is illegally null (there are no check box fields in the sub form (or
teh main form). After clicking ok there are no problems. I have checked the
the fields in teh underlining tables are not set to required and are
appropraitely set to allow empty value.
I've been on this bug for a long time and even though the form can be used
after clicking ok its still very annoying.
Please help, Thanks