T
TracyG
Hi all - I need help with subforms. I have a main form with multiple
subforms *eek!*. In each of these subforms I need to allow records to be
added to the associated tables. There is a single key that links the main
form to each subform. I am storing the key on the form in a text box but
have the property set as visible=false.
when I attempt to add a record to the sub forms, I get an error message that
says the "field is too small to accept the amount of data you ttempted to
add. Try inserting or pasting less"... however, the fields are over 15
characters and it happens after typing the first character.
First I need to get past the error message THEN I need to be able to update
the new record with the key value prior to the record being stored to avoid
attempting to add a null value on a key field.
Does anyone know what is causing the error?
also - Which event would I use to put the appropriate key value into the new
record? I tried before insert, after insert, ... several events to no
avail.
subforms *eek!*. In each of these subforms I need to allow records to be
added to the associated tables. There is a single key that links the main
form to each subform. I am storing the key on the form in a text box but
have the property set as visible=false.
when I attempt to add a record to the sub forms, I get an error message that
says the "field is too small to accept the amount of data you ttempted to
add. Try inserting or pasting less"... however, the fields are over 15
characters and it happens after typing the first character.
First I need to get past the error message THEN I need to be able to update
the new record with the key value prior to the record being stored to avoid
attempting to add a null value on a key field.
Does anyone know what is causing the error?
also - Which event would I use to put the appropriate key value into the new
record? I tried before insert, after insert, ... several events to no
avail.