Jul 19, 2006 #1 PappaG Technical User Nov 21, 2003 288 GB Hi All Can anyone help i am looking for a query that will select anything from the left of the @ sign please see below examples example 1 VQ_Booking@NIVR example 2 45332@Newcastle I require only exapmle 1 VQ_Booking example 2 45332@Newcastle
Hi All Can anyone help i am looking for a query that will select anything from the left of the @ sign please see below examples example 1 VQ_Booking@NIVR example 2 45332@Newcastle I require only exapmle 1 VQ_Booking example 2 45332@Newcastle
Jul 19, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR Have a look at the Left and InStr functions. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Have a look at the Left and InStr functions. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jul 19, 2006 1 #3 Golom Programmer Sep 1, 2003 5,595 CA Try Code: Left([fldname], Instr(1,[FldName],"@")-1) Upvote 0 Downvote
Jul 19, 2006 Thread starter #4 PappaG Technical User Nov 21, 2003 288 GB Thanks Golum Works a treat how the heck you guys come up with these baffles me but thanks all the same Upvote 0 Downvote
Thanks Golum Works a treat how the heck you guys come up with these baffles me but thanks all the same