S
silva
I am having an odd difficulty with a database. When you use a particular form
to create a new record, it throws up an error message saying that a record
needs to be created in such and such table first. Well, in the field I'm
typing in, it'll create the record in that table (we'll call it Table #1). I
found that it's creating records in a related table (Table #2) before any
data is being entered into the subform for that table. After reviewing the
tables, I found that for the one valid test entry I made in the subform, it
created four empty records attached to the main table. Well, empty except for
the autonumber field and the linked field. For example:
Table #2
Field 1 Field 2 Field 3 Field 4 Field 5
name 00001 empty empty empty
name 00002 empty empty empty
name 00003 data data data
name 00004 empty empty empty
name 00005 empty empty empty
Is there anything that could be creating these empty entries as soon as I
enter a character to create a new record in Table #1? I checked the event
scripts for the fields I start in, and they're all AfterUpdate fields, so
nothing should happen until after I move to a new field.
to create a new record, it throws up an error message saying that a record
needs to be created in such and such table first. Well, in the field I'm
typing in, it'll create the record in that table (we'll call it Table #1). I
found that it's creating records in a related table (Table #2) before any
data is being entered into the subform for that table. After reviewing the
tables, I found that for the one valid test entry I made in the subform, it
created four empty records attached to the main table. Well, empty except for
the autonumber field and the linked field. For example:
Table #2
Field 1 Field 2 Field 3 Field 4 Field 5
name 00001 empty empty empty
name 00002 empty empty empty
name 00003 data data data
name 00004 empty empty empty
name 00005 empty empty empty
Is there anything that could be creating these empty entries as soon as I
enter a character to create a new record in Table #1? I checked the event
scripts for the fields I start in, and they're all AfterUpdate fields, so
nothing should happen until after I move to a new field.