dbTalk Databases Forums  

moving two fields into one within the same record

comp.database.ms-access comp.database.ms-access


Discuss moving two fields into one within the same record in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff
 
Posts: n/a

Default moving two fields into one within the same record - 09-12-2003 , 12:42 PM






I have an access DB with two name fields, first and last, that I want
to move into one field with the format "last, first". All the fields
are within the same record and the table is about 20K records in size.
How??

Thanks.
J

Reply With Quote
  #2  
Old   
Access-Dufus
 
Posts: n/a

Default Re: moving two fields into one within the same record - 09-13-2003 , 08:14 PM






Sounds like a job for MACRO-Man - DuhDuhDuhDuhDaDaaaah! Up Up andawaaaayy!!

"Jeff" <mickmaster69 (AT) hotmail (DOT) com> wrote

Quote:
I have an access DB with two name fields, first and last, that I want
to move into one field with the format "last, first". All the fields
are within the same record and the table is about 20K records in size.
How??

Thanks.
J



Reply With Quote
  #3  
Old   
Ray
 
Posts: n/a

Default Re: moving two fields into one within the same record - 09-15-2003 , 07:40 AM



mickmaster69 (AT) hotmail (DOT) com (Jeff) wrote in message news:<b254d600.0309120942.5f5f34d0 (AT) posting (DOT) google.com>...
Quote:
I have an access DB with two name fields, first and last, that I want
to move into one field with the format "last, first". All the fields
are within the same record and the table is about 20K records in size.
How??

Thanks.
J
Hello Jeff.

May I suggest two ways?
1. You can concantinate the data into one field in your
source query, as an expression, to display in your
inputting form if your using one.
Exampe: FullName: [LName] & ", " & [FName]
Then add this new field to your form to display it.

2. Create an update query with the FullName field in
your source table. Use the source table in your query
and add the FullName field. Make sure it's an update
query type, and add the above statement into the
"Update To" row for that field.
Example: [LName] & ", " & [FName]
Then run the query. It will put the data into your
field accordingly.

Regards,

Ray


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.