Share via

Microsoft Access INDIRECT and Data Validation Commands

Anonymous
2016-09-13T22:16:41+00:00

I’d like to use a command similar to the INDIRECT and Data Validation commands in Excel, where the field values to choose from in a table change based on the value of another field in the same table. 

Simple example below – if in the country field USA is selected, then the city field would show only those cities in the US.

Country

USA

Canada

USA Cities

Chicago

Detroit

Canada Cities

Toronto

Windsor

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-09-13T22:33:13+00:00

I’d like to use a command similar to the INDIRECT and Data Validation commands in Excel, where the field values to choose from in a table change based on the value of another field in the same table. 

 

Simple example below – if in the country field USA is selected, then the city field would show only those cities in the US.

 

Country

USA

Canada

 

USA Cities

Chicago

Detroit

 

Canada Cities

Toronto

Windsor

You can do this on a form by using what are often called "cascading combo (or list) boxes.  There's a discussion of two ways to do that on The Access Web here:

    http://access.mvps.org/access/forms/frm0028.htm

    Forms: Limit content of combo/list boxes

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful