extremeshannon
Registered User.
- Local time
- Today, 09:48
- Joined
- Aug 28, 2019
- Messages
- 24
Hello all,
The next thing I am running into is probably simple and I just have not figured it out yet. I have normalized my data base and have separate tables. I have created Foriegn Key fields and have a relationship between them. I am trying to create a form that will update with the other tables to a master table.
tblAsset
AssetID
Name
SiteID (FK)
tblSite
SiteID (PK)
SiteName
I create a Form
frmAsset
cboSite row source tbleSite > Sitename
this combo box shows me the names of the sites and I can select one. I get an Error "The Value you entered isn't valid for this field." I understand it is trying to put characters into a field that is data type numbers.
How can I create this relationship between the tables and have a Combo box show me the names not the primary key and update the master table (asset in this case)
I hope I have explained what I am doing and what I want to happen well enough. Please point me to any references and I will be happy to read how to do this correctly. I was using Lookup Fields in my Database until I was informed and sent a link about them. I have removed them all and I am trying to do it correctly now.
Thanks in advance everyone has been extremely patient and helpful on this site.
Shannon
The next thing I am running into is probably simple and I just have not figured it out yet. I have normalized my data base and have separate tables. I have created Foriegn Key fields and have a relationship between them. I am trying to create a form that will update with the other tables to a master table.
tblAsset
AssetID
Name
SiteID (FK)
tblSite
SiteID (PK)
SiteName
I create a Form
frmAsset
cboSite row source tbleSite > Sitename
this combo box shows me the names of the sites and I can select one. I get an Error "The Value you entered isn't valid for this field." I understand it is trying to put characters into a field that is data type numbers.
How can I create this relationship between the tables and have a Combo box show me the names not the primary key and update the master table (asset in this case)
I hope I have explained what I am doing and what I want to happen well enough. Please point me to any references and I will be happy to read how to do this correctly. I was using Lookup Fields in my Database until I was informed and sent a link about them. I have removed them all and I am trying to do it correctly now.
Thanks in advance everyone has been extremely patient and helpful on this site.
Shannon