Question on Data Entry Form

msand

Board Regular
Joined
Apr 15, 2003
Messages
74
I am working on a data entry form like this:

Date

Spend Category

Category Details

Vendor

Dollar Amount



On the spend category, there is only two choice: external & internal, which I want to use a lookup wizard. The problem is on the category details. What I want to do is: when i pick external in the Spend Category, the Category Details will only display the details subcategory (a dropdown list)for External. When Internal is picked, only Internal Category Details will be displayed in a dropdown list. Can anyboday give me a hint how I shall proceed ?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Assuming that you have a table listing the various categories called tblCategoryDetails and that this table has a field showing the spend category.
Create a query based on the tblCategoryDetails in the filed for spend category create a criteria based on the spend category combobox you created using the wizard.
Yoe will then need to add a line of code to the after Update event of your spend category box to requery the details box.
There is an example of this in the Solutions.mdb that comes with access.

HTH

Peter
 
Upvote 0
HI, Peter. Thanks for your help. Would you please tell me where the Solutions.mdb is and how to find it? Thanks.
 
Upvote 0
It should be on your PC if you have a full instalation of Access 97 so you may be able to find it with a search. if not it can be downloaded from Microsoft
It is in 97 format but I belive it still apllies to latter versions.

HTH

Peter
 
Upvote 0

Forum statistics

Threads
1,221,553
Messages
6,160,467
Members
451,649
Latest member
fahad_ibnfurjan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top