O
obembe
I'm creating a database for my coin collection. I want to enter the data by
country, e.g. all coins for Italy, etc.
My two main tables are:-
tblCountry: pkCountryNo (autonumber); CountryName (text)
tblCoin: pkCoinNo (auto); fkCountryNo (long integer); etc.
My Coin form with lookup to countries works fine.
However, I want to create a (vertical) form with an initial lookup to
country (probably in the header?), so that the country I choose, e.g. Italy,
is displayed then stored.
If any coins exist for Italy, the first one will be displayed in the form.
Any coins I subsequently add will inherit the the looked-up country and be
updated behind the scenes. I won't make the country field visible in the
coin form, as it'll be apparent from the country lookup field what I'm
viewing/entering. Any ideas on how I would achieve this in the simplest way?
Currently I'm just doing this automatically in a datasheet with subforms -
but the same functionality in a vertical form would be much nicer.
Regards,
Adetola Obembe.
country, e.g. all coins for Italy, etc.
My two main tables are:-
tblCountry: pkCountryNo (autonumber); CountryName (text)
tblCoin: pkCoinNo (auto); fkCountryNo (long integer); etc.
My Coin form with lookup to countries works fine.
However, I want to create a (vertical) form with an initial lookup to
country (probably in the header?), so that the country I choose, e.g. Italy,
is displayed then stored.
If any coins exist for Italy, the first one will be displayed in the form.
Any coins I subsequently add will inherit the the looked-up country and be
updated behind the scenes. I won't make the country field visible in the
coin form, as it'll be apparent from the country lookup field what I'm
viewing/entering. Any ideas on how I would achieve this in the simplest way?
Currently I'm just doing this automatically in a datasheet with subforms -
but the same functionality in a vertical form would be much nicer.
Regards,
Adetola Obembe.