how do i fill
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » How do I fill an entire column with a value?

How do I fill an entire column with a value?

resolvedResolved · Urgent Priority · Version 2007

replyReply Fri 9 Jan 2009, 16:19Delegate Sophie said...

Sophie has attended:
Access Introduction course
Access Intermediate course
Excel Advanced course

How do I fill an entire column with a value?

For example if in a table my column heading is 'Country' and I want all cells that are blank to be filled with United Kingdom how would I do this? Or for example if some of the cells in another column = 'uk' then how could I get all of the cells in the country column to be filled with 'United Kingdom' if the specific cell in the same row had the value UK?

I look forward to your response.

Kind regards,
Sophie Lloyd

For upcoming training course dates see: Pricing & availability

replyReply Mon 12 Jan 2009, 10:16Trainer Rajeev said...

RE: How do I fill an entire column with a value?

Dear Sophie

Thank you for attending Access Intermediate course!! I hope you enjoyed the course and benefited from it.

This seems to be an interesting question. There are few solutions to your query.

If you want only a new record to always display same data then you can go to the design view of that table and enter the value in the Default value box in the field properties section. Please bear in mind that it will not affect the current data in the existing field (Column).

I think the following solution is much more appropriate if you already have many records in a field (Column) and just want to update the entire field with the same data.

TO UPDATE ONE FIELD ONLY THAT IS BLANK:

You must have covered update query in your Intermediate Access course.

Please follow these steps:

1. Create a new query and choose the table from the

 

Please browse our web site to find out more about
microsoft+access+training and other Microsoft training courses.

Access tip:

Prefixed Autonumbering

When using Date Type = Autonumber as a primary key, clients may require autonumbering to be prefixed with a letter.

For example, P001, where P is the prefixed letter

Instructions
Step 1. Create Field Name
Step 2. Set Data Type to Autonumber
Step 3. Within Field Property General tabsheet,
enter Format property as [backslash]P000



View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard