J jhairusw Guest Apr 24, 2003 #1 I have a sixteen digit field, I need to pull only the last four digits in the query. Thanks
R roelandkim Registered User. Local time Today, 23:11 Joined Apr 8, 2003 Messages 38 Apr 24, 2003 #2 Try this in your query. Right([fieldname],IIf(InStr([fieldname]," ")>0,InStr([fieldname]," ")-1,4))