Re: splitting a field
From: Steve Schapel (schapel_at_mvps.org.ns)
Date: 12/12/04
- Next message: Duane Hookom: "Re: Need Assistance with Append Query...Thanks"
- Previous message: Popparod: "Re: .....Hey Steve Schapel...!"
- In reply to: tgl: "splitting a field"
- Next in thread: tgl: "Re: splitting a field"
- Reply: tgl: "Re: splitting a field"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 07:11:42 +1300
Tgl,
Mid([Full Name],InStrRev([Full Name]," ")+1)
(assumes the LastName does not contain a space, i.e. this will not work
for Joe Di Maggio)
-- Steve Schapel, Microsoft Access MVP tgl wrote: > I have a database including full name: > prefix firstname middlename lastname > > some fields have a prefix and/or middlename some do not. > How can i pull out just lastname > > i assume it's some variation on right() and instr() but can't seem to do it. >
- Next message: Duane Hookom: "Re: Need Assistance with Append Query...Thanks"
- Previous message: Popparod: "Re: .....Hey Steve Schapel...!"
- In reply to: tgl: "splitting a field"
- Next in thread: tgl: "Re: splitting a field"
- Reply: tgl: "Re: splitting a field"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|