spartansFC
Programmer
Hi
I've set up a form which lists all members in a family:
if a person is the main parent/carer (tick box), type (mother, father, child etc), forename, surname etc.
Then i have an address table to show or to keep a different record of their addresses.
I need to set up the forms so that the user doesn't have to enter the same address, if say all the members of the family live at the same address.
my tables are set up as.
tblParentChild
ParentChildID (Autonumber)
mainparent (yes/no)
parentchildtype (number)..... etc
tblAddress
AddressID (autonumber)
ParentchildID (Foreign Key)
current address (yes/no)
addressline1....... etc
i've used a current address tick box as i only want to show on the form the most current address for that person.
What i thought was if i had another tick box on tblAddress, MainParentCarerAddress, if the user ticks this, the afterupdate then looks at the mainparent in tblParentChild and then autofills the address details for that other person in the family.
The user than has a choice of autofilling the address, or just typing in a different address for that person.
I've attached a picture to show you the form.
Any ideas
Mikie
I've set up a form which lists all members in a family:
if a person is the main parent/carer (tick box), type (mother, father, child etc), forename, surname etc.
Then i have an address table to show or to keep a different record of their addresses.
I need to set up the forms so that the user doesn't have to enter the same address, if say all the members of the family live at the same address.
my tables are set up as.
tblParentChild
ParentChildID (Autonumber)
mainparent (yes/no)
parentchildtype (number)..... etc
tblAddress
AddressID (autonumber)
ParentchildID (Foreign Key)
current address (yes/no)
addressline1....... etc
i've used a current address tick box as i only want to show on the form the most current address for that person.
What i thought was if i had another tick box on tblAddress, MainParentCarerAddress, if the user ticks this, the afterupdate then looks at the mainparent in tblParentChild and then autofills the address details for that other person in the family.
The user than has a choice of autofilling the address, or just typing in a different address for that person.
I've attached a picture to show you the form.
Any ideas
Mikie