kattzndagz
Technical User
Hi everyone
I am missing something simple here i am sure
I have a table
ServiceCompany
PK ServiceCoId Autonumber
FK EventID Number
CompanyName
CompanyAddress
ServiceProvided
ServiceCost
I have a form (mainfrm) which is based on tblevent where i have details on the type of event we are holding
I have a tabcontrol with EventAttendedsubform details on one tab and i want the ServiceCostssubform on the second tab
On the ServiceCostsubform, I want the user to be able to select from a list of Company names from the Service Company Table.
How do i create a drop down box that will show all the Companies from them to select from, and then populate other detail such as the address etc. when one is selected?
Once they have selected the company, they would then enter the service provided and the service cost
I have tried having the Service provided and the service cost in a separate table but that isn't really necessary due to the company generally on providing one type of service eg marquee hire, food etc
Or, would it be better to have them as two separate tables?
Also, if a company is not on the list, i need for them to be able to go to the ServiceCompanyFrm to complete new details then go back to the mainfrm to continue.
What am i missing?
thanks for your help
I am missing something simple here i am sure
I have a table
ServiceCompany
PK ServiceCoId Autonumber
FK EventID Number
CompanyName
CompanyAddress
ServiceProvided
ServiceCost
I have a form (mainfrm) which is based on tblevent where i have details on the type of event we are holding
I have a tabcontrol with EventAttendedsubform details on one tab and i want the ServiceCostssubform on the second tab
On the ServiceCostsubform, I want the user to be able to select from a list of Company names from the Service Company Table.
How do i create a drop down box that will show all the Companies from them to select from, and then populate other detail such as the address etc. when one is selected?
Once they have selected the company, they would then enter the service provided and the service cost
I have tried having the Service provided and the service cost in a separate table but that isn't really necessary due to the company generally on providing one type of service eg marquee hire, food etc
Or, would it be better to have them as two separate tables?
Also, if a company is not on the list, i need for them to be able to go to the ServiceCompanyFrm to complete new details then go back to the mainfrm to continue.
What am i missing?
thanks for your help