473,385 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Microsoft access field thats dependent on value of other field

I have 3 table
1- African Countries
2- European Countries
3- Middle East Countries

and then I have a primary records table that contains 2 lookup fields ,the first one is Continent Field and The Other is nationality.

the continent field contains Africa, Europe and middle east.

I just want the nationality field to be updated when choosing in continent field.

like when I choose Europe in continent field I got a the European countries which I had them in the table that I mentioned. and so on for other continents.

I want to do it in a table not form.

how could I do this ?

Thanks
Sep 23 '15 #1
2 959
hvsummer
215 128KB
actually, Table can't update itself.
you have to do this in query.
Sep 24 '15 #2
NeoPa
32,556 Expert Mod 16PB
Sorry to reset the Best Answer. It wasn't wrong, it was simply not an answer to the question posed.

@Don.
From what you've posted I can say that you're heading for trouble unless you give your database design the respect it deserves. If that sounds cryptic then let me explain. Storing different countries in different tables is a very basic design flaw that will surely lead you into trouble. There is no doubt about that. It's a problem waiting to show itself. To help avoid such mistakes here's a very helpful link (Database Normalisation and Table Structures). Please understand that database design and table structure is the most basic and fundamental part of a database. That is why it is so critically important. Skim over it at your peril.

When you have a proper design set up then the ideas found at Cascaded Form Filtering should help you to accomplish what it seems you're after.

NB. HVSummer is absolutely right about such updates not being appropriate to do from the table interface. I understand you may be nervous about setting up a form but it's the only practical way to go about this.
Sep 24 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Randy A. Bohannon | last post by:
I have two fields on a form: GPA and Points. GPA will be entered by the user. I would like Points to be filled automatically depending on the value of GPA. For example, the following code...
4
by: Dennis C. Drumm | last post by:
Is there a way with C# to allow one class access to a method or field of another class, without making that method or field visible to all other classes, as would be the case when making the method...
1
by: Reza Nabi | last post by:
Dear All: I have been developing ASP.NET application on MS Access database using ODBC. When I was trying to save more than 255 chars in a Memo field I got the following error. ERROR Invalid...
0
by: jwtulp | last post by:
Hello all, I receive the following error when updating MSAccess2003 Memo fields using an ODBC connection in ASP.Net 1.1 when the length of the text to be updated exceeds 255 characters....
1
by: Scott Gordo | last post by:
I have an asp submission form using Web Wiz Captcha. When the form submits, it seems to occasionally drop the last value from the captcha field. The field size is 12, as is the maxlength. The...
2
by: MLH | last post by:
Fields in MyTable: PostID PostDate RollQtyXfer RollDenomination RollCount37 RollCount23
0
MMcCarthy
by: MMcCarthy | last post by:
The more data you include in your tables the more you will need to have indexes to search and sort that data. However, there is a balance between having enough indexes and too many. Too many...
9
by: kzzz | last post by:
Hello, I have a microsoft access file with fields that have "long binary data". I would like keep the same file, but change the "long binary data" into regular text. There are a large number of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.