Option Group Stupid Question!

Tooom

Registered User.
Local time
Today, 09:01
Joined
Mar 4, 2014
Messages
16
Hello, I have run into a bit of a problem with my database...

I have a option group relating to reviewal status as you can see here:

2ym8wet.jpg


This toggle box however outputs to my table in a number format (Where not reviewed = 1, Under Review =2, etc..). As you can see here where the column is "Strategy Status"


21bn3x5.jpg



Is there a really easy way to get those numbers to be displayed as the text they represent? I have been down the macro and vba route and got completely lost.

Feels like it shouldn't be too difficult but couldn't do it via the option groups properties, the lookup and relationship on the table view, or (to my knowledge anyway) via a query
 
AFAIK an option group can only store a numeric value. Simplest solution might be a table with 2 fields, the numeric value and the text value. Then in a query you can join that table to this one and return the text value.
 
pbaldy ok thanks that seems sensible will see how I go with it
 
No problem, post back if you get stuck.
 
I'm stuck on the "Then in a query you can join that table to this one and return the text value" bit. I have tried mainly googling "lookup query" and "match data query" but they seem to be different things.

Could I ask for a kick in the right direction? I have set up my table relationship between the new reference table (Table 2) and my Major Equipment table as below:

bi5oja.png



My query: Do I need something in the criteria to have referenced values appear as the text?


2h5mv4w.png



And the new reference table you suggested (Table 2)


29uyckg.jpg


So Lost!!!
 
I wouldn't think that should be an append query. Try changing it to a Select query. That will make the Append To line go away, and just add the desired fields from the major equipment table.
 
105ekc9.png


Hi tried that before but I get a mismatch surely because there are alot more major equipment items than items in my reference table 2?
 
Is the data type of the Strategy Status field numeric? That error could be caused by incompatible data types in the join. Also, does every record have a status?
 
You were right Yipppeeeee! Wasn't set to number =))
 
Glad you got it working!
 

Users who are viewing this thread

Back
Top Bottom