I apologize if this was dealt with in a previous post but I couldn't find it if it was. 
I am working in Access 2007.
I have a form with a combo box that pulls data from a look-up table:
The RowSource selects records based on the value in the Group field (in this case Format).
The users want to "retire" some of the values from this group. I can't just delete them so I thought I would change the Desc to begin with XX - for example: XXScreening. I would like to filter out all the records that begin with XX so that they don't display in the combobox. I couldn't find a "Starts With" type option for the query and not sure how to write VBA to handle this. Do you have any suggestions?
TIA,
~RLG
I am working in Access 2007.
I have a form with a combo box that pulls data from a look-up table:
Code:
luID Desc Group
1 Newsletter Format
2 Outreach Format
3 Screening Format
4 Education Format
The RowSource selects records based on the value in the Group field (in this case Format).
Code:
SELECT lookupTable.luID, lookupTable.Desc, lookupTable.Group
FROM lookupTable
WHERE (((lookupTable.Group)="Format"))
ORDER BY lookupTable.Desc;
The users want to "retire" some of the values from this group. I can't just delete them so I thought I would change the Desc to begin with XX - for example: XXScreening. I would like to filter out all the records that begin with XX so that they don't display in the combobox. I couldn't find a "Starts With" type option for the query and not sure how to write VBA to handle this. Do you have any suggestions?
TIA,
~RLG