mraetrudeaujr
Technical User
I posted this in the "Access Forms" forum, with no luck. I figure that since this is probably going to take a SELECT statment or VB code, that I would try here. Here is where I'm at:
I have a combo box that is based on a table (tbl DACS Country Code Table) for the 'selectable' values. This table contains all of the possible country codes that we use in our office. We also must distinguish between "Special Interest Region" countries and "Non-Special Interest Region" countries. So, armed with this, I made an 'option group' that populates a field in the "2005 LOG" table. It is a simple 'YES' or 'NO' option group.
Here is the request of the endusers; "Can you make it so that if we select an SIR country, that the 'YES/NO' SIR box will automatically check "YES"?
Right now I have it set to a default of "NO" and the endusers have to select "YES" if they encounter one of these SIR countries. How would I go about this? I have another table built that has ONLY these SIR countries...if this would help.
The breakdown:
table name - 2005 LOG
table name - tbl DACS Country Code Table (SIR country values of '1' and non-SIR countries of '2').
table name - tbl Special Interest Region Countries
combobox name - cboCountryPage2
option group name - optgrpSIRCountry (YES and NO options)
I hope that this will help someone to help me with the necessary VB code that will get this to work, thank you.
I have a combo box that is based on a table (tbl DACS Country Code Table) for the 'selectable' values. This table contains all of the possible country codes that we use in our office. We also must distinguish between "Special Interest Region" countries and "Non-Special Interest Region" countries. So, armed with this, I made an 'option group' that populates a field in the "2005 LOG" table. It is a simple 'YES' or 'NO' option group.
Here is the request of the endusers; "Can you make it so that if we select an SIR country, that the 'YES/NO' SIR box will automatically check "YES"?
Right now I have it set to a default of "NO" and the endusers have to select "YES" if they encounter one of these SIR countries. How would I go about this? I have another table built that has ONLY these SIR countries...if this would help.
The breakdown:
table name - 2005 LOG
table name - tbl DACS Country Code Table (SIR country values of '1' and non-SIR countries of '2').
table name - tbl Special Interest Region Countries
combobox name - cboCountryPage2
option group name - optgrpSIRCountry (YES and NO options)
I hope that this will help someone to help me with the necessary VB code that will get this to work, thank you.