Hi!
Since you are doing this in a query you can use:
Select IIf(InStr([Your Field], ".") = 0, [Your Field], Left([Your Field], InStr([Your Field], ".") - 1)) As WhateverNameYouWant
This is good if you are working in SQL, if your are using the query interface then you can put the following in the Field box:
WhateverNameYouWant: IIf(InStr([Your Field], ".") = 0, [Your Field], Left([Your Field], InStr([Your Field], ".") - 1))
hth
Jeff Bridgham
Purdue University
Graduate School
Data Analyst