A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copying Data from 1 field to multiple fields?



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2004, 11:39 AM
Ruth Whitelaw
external usenet poster
 
Posts: n/a
Default Copying Data from 1 field to multiple fields?

Does anyone know of a way of copying data in 1 field in a
row to other multiple blank fields in a large table?

I have filtered records and want to copy a particular bit
of data to thousands of rows, where this field is
presently blank.

I have tried everything to no avail. Have looked at Access
help and spoken to the Office IT 'guru'. Have tried using
the mouse, keyboard and also 'find and replace'.

I know I could export the table into excel, copy this info
easily and then import back into the Access DB. However as
I have to do this exercise for numerous DBs I would rather
not.

There has to be a way surely?

Frustrated and Fed Up!

Frustrated
  #2  
Old April 28th, 2004, 12:30 PM
Gerald Stanley
external usenet poster
 
Posts: n/a
Default Copying Data from 1 field to multiple fields?

Could you post to this thread the releavnt table layouts
indicating the location of the source data and the
destination columns.

Gerald Stanley MCSD
-----Original Message-----
Does anyone know of a way of copying data in 1 field in a
row to other multiple blank fields in a large table?

I have filtered records and want to copy a particular bit
of data to thousands of rows, where this field is
presently blank.

I have tried everything to no avail. Have looked at Access
help and spoken to the Office IT 'guru'. Have tried using
the mouse, keyboard and also 'find and replace'.

I know I could export the table into excel, copy this info
easily and then import back into the Access DB. However as
I have to do this exercise for numerous DBs I would rather
not.

There has to be a way surely?

Frustrated and Fed Up!

Frustrated
.

  #3  
Old April 28th, 2004, 05:10 PM
Tim Ferguson
external usenet poster
 
Posts: n/a
Default Copying Data from 1 field to multiple fields?

"Ruth Whitelaw" wrote in
:

I have filtered records and want to copy a particular bit
of data to thousands of rows, where this field is
presently blank.


UPDATE MyTable
SET MyField = "Something"
WHERE MyField IS NULL


Hope that helps


Tim F

  #4  
Old April 29th, 2004, 04:29 AM
TC
external usenet poster
 
Posts: n/a
Default Copying Data from 1 field to multiple fields?

It sounds lots as if your database has not been properly normalized. If you
are not familiar with the terms "normalized", "primary key" and "foreign
key", you have some study to do! Start here for a dry, but instructive read:
http://support.microsoft.com/support...es/Q100139.ASP

HTH,
TC


"Ruth Whitelaw" wrote in message
...
Does anyone know of a way of copying data in 1 field in a
row to other multiple blank fields in a large table?

I have filtered records and want to copy a particular bit
of data to thousands of rows, where this field is
presently blank.

I have tried everything to no avail. Have looked at Access
help and spoken to the Office IT 'guru'. Have tried using
the mouse, keyboard and also 'find and replace'.

I know I could export the table into excel, copy this info
easily and then import back into the Access DB. However as
I have to do this exercise for numerous DBs I would rather
not.

There has to be a way surely?

Frustrated and Fed Up!

Frustrated



 




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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.