Re: Access 2003: How to split one (lastname, firstname) field into 2?



You are trying to insert the XX left digits in your first name field? Don't
you have it backwards? Isn't the first name the right portion?


--
Rick B



"Carpediemlara" <Carpediemlara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1FA43DBD-3273-4F49-8F42-40A746A93873@xxxxxxxxxxxxxxxx
I've been at this way too long! Syntax errors, type conversion
errors...help! I've tried ltrim/rtrim left/right...latest follows.
fullname
field is formatted "smith, john". from other postings I tried the
following
and now a type conversion error coming up...?

UPDATE [members test]
SET FirstName=Left([FullName],InStr([FullName]," ")-1)
WHERE ((([members test].FirstName) Is Null));




.



Relevant Pages

  • Re: Prompt in query
    ... "Rick B" wrote: ... >> I've created a query that needs to pull all client/matter numbers. ... >> digits, ...
    (microsoft.public.access.queries)
  • Re: including . in a pattern match
    ... > zero or one decimal point followed by ... Is no whole-number portion an ... one or more digits, possibly followed by a decimal and one or more ...
    (perl.beginners)
  • Re: Decimal Precision error. GRRRR
    ... While the newest revision of MySQL conforms to 8.4 being 8 digits total it apparently allows less then 4 decimal points to be borrowed by the whole number portion: ... The error means the integer portion (the value discarding the decimal ...
    (microsoft.public.access.queries)
  • Re: Solution needed
    ... Rick (MVP - Excel) ... I have VBA code which adds 99 before 10 digits and differs if the ...
    (microsoft.public.excel.programming)
  • Re: Interesting that after all the political changes in Ireland...
    ... Rick wrote: ... Which isn't a major problem, unless I'm helping someone move stuff. ... Then I have to tell them I don't do backwards very well.... ...
    (soc.culture.irish)