I created a table (Table 1) with your three examples, the field I called
"Data_stuff"
First issue - filtering records that start with an I or N: That Data Stuff
Column has to have a criteria that says
Left([Data_Stuff],1) In ("I","N")
You could say <> to "Y", but I don;t know if you have more possibilities.
Second issue - Isolating the data after the I or N: I'm assuming that there
will ALWAYS be a space separating your flag from the actual data, so what you
need to do is use the InStr function to find the location of the space. The
following expression does this:
InStr(1,[Data_Stuff]," ")
This expression has to be sued to determine how many characters from the
RIGHT of your field you want to keep. To do this subtract the result from
the InStr function from the length of the field. This will leave you with a
leading space, so I put the whole thing in the trim function. The resulting
expression is:
Trim(Right([Data_Stuff],Len([Data_Stuff])-InStr(1,[Data_Stuff]," ")))
The final query I get is this:
SELECT Trim(Right([Data_Stuff],Len([Data_Stuff])-InStr(1,[Data_Stuff]," ")))
AS Displayed_Data
FROM Table1
WHERE ((Left([Data_Stuff],1) In ("I","N")));
HTH.