how do i fill

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

How do I fill an entire column with a value? | Access forum

resolvedResolved · Urgent Priority · Version 2007

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

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

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Deleting duplicate records from a table

You cannot delete records tables where there duplicate records. A way around this is to create a new table which wont hold the duplicates. and then deleting the old table.

1. Use a make-table query based on this table only. IMPORTANT - Ensure that you include all of the fields from your original table or you may loose data.

2. Open the query's property sheet by using VIEW, QUERY, PROPERTIES, and set the Unique Values property to Yes

3. Because you have selected the Unique Values to Yes when you run the query, Access creates a new table without duplicate records. You can now delete the old table and rename the new one.

View all Access hints and tips


Server loaded in 0.08 secs.