JSimoncelli
Registered User.
- Local time
- Today, 14:48
- Joined
- Apr 23, 2012
- Messages
- 73
Hello all, first off I am a self taught Access 2007 enthusiast. Which basically means, I can get myself into trouble and maybe get myself out.
Here is my issue; I have a table “tbl_CMS-Master”. This table has several fields the issue surrounds the “Status” and “Container” fields. Both of these fields are Combo Boxes that draw from a select query in the respective tables “tbl_Status” and “tbl_Container”.
Here is what I am trying to do: Using a Form with the respective Combo Boxes I want to change the data “text” in the “Container” field to “N/A” when either “Destroyed” or “Sent” is selected in the “Status” Combo Box. Destroyed and Sent are two of five possible selections from the Combo Box.
I have tried using an Update Query, and this works. However I find a couple of issues. First, the Update Query updates the entire database not just the one record, this is ok as long as the database does not get to large. Second, I cannot get the Update Query to launch from the OnChange Event.
I would prefer to use Code Builder to make the change on the one record. I have had no luck in finding a sample/example Code that I can “barrow”. Any help would be appreciated.
Here is my issue; I have a table “tbl_CMS-Master”. This table has several fields the issue surrounds the “Status” and “Container” fields. Both of these fields are Combo Boxes that draw from a select query in the respective tables “tbl_Status” and “tbl_Container”.
Here is what I am trying to do: Using a Form with the respective Combo Boxes I want to change the data “text” in the “Container” field to “N/A” when either “Destroyed” or “Sent” is selected in the “Status” Combo Box. Destroyed and Sent are two of five possible selections from the Combo Box.
I have tried using an Update Query, and this works. However I find a couple of issues. First, the Update Query updates the entire database not just the one record, this is ok as long as the database does not get to large. Second, I cannot get the Update Query to launch from the OnChange Event.
I would prefer to use Code Builder to make the change on the one record. I have had no luck in finding a sample/example Code that I can “barrow”. Any help would be appreciated.