J
judy jones via AccessMonster.com
I have a donor form with a donations subform. The user should be able to
enter donation data on new or existing donors, but does not HAVE to have
donation data. I am not able to enter data into the donation subform at
all. Any new or change data on the donor works correctly, and existing
donation data shows up correctly in the subform.
I know that I am not able to ENTER data, because a linked record does exist
for the new donation. It seems to me that I should be able to key in the
donorID (visible from the main form) into the subform; and that this would
create the linked record that the next fields on the subform could be
entered on.
And of course, if I could get it to accept a manual key into the donorID
field of the subform, I would then prefer to auto load the field by either
using a macro button labeled NEW DONATION ENTRY, and remove the tab stop
from the preloaded field.
Donor is based on a table with a primary key of donorID and the donation
subform is based on a table that contains donorID. Both fields are set to
LongInteger.
In creating the subform I used the wizard that loaded the Link Child and
Link Master Fields on the donation subform.
Where have I gone wrong?
fyi - I am fairly novice at code. It 'usually' makes sense when I see it,
but always let the wizards and tools create it for me.
judy
enter donation data on new or existing donors, but does not HAVE to have
donation data. I am not able to enter data into the donation subform at
all. Any new or change data on the donor works correctly, and existing
donation data shows up correctly in the subform.
I know that I am not able to ENTER data, because a linked record does exist
for the new donation. It seems to me that I should be able to key in the
donorID (visible from the main form) into the subform; and that this would
create the linked record that the next fields on the subform could be
entered on.
And of course, if I could get it to accept a manual key into the donorID
field of the subform, I would then prefer to auto load the field by either
using a macro button labeled NEW DONATION ENTRY, and remove the tab stop
from the preloaded field.
Donor is based on a table with a primary key of donorID and the donation
subform is based on a table that contains donorID. Both fields are set to
LongInteger.
In creating the subform I used the wizard that loaded the Link Child and
Link Master Fields on the donation subform.
Where have I gone wrong?
fyi - I am fairly novice at code. It 'usually' makes sense when I see it,
but always let the wizards and tools create it for me.
judy