Solved

How to change these Null values?

Posted on 2014-04-14
2
314 Views
Last Modified: 2014-04-14
I have a table with lots of Null values. I have realized why they are Null and I want to change them all to certain values.
Here is what my table looks like:

Nursing Home.....Worksheet....Line Number.....Column.....Number
1012587               B000002       400                                     3159
1012587               B000001        3000                                  7989
1012587               A000001        500                    200           299

For the B000002 work sheet the column should be 302 and for the B000001 worksheet the column should be 301.
Since the null values are all scattered and I have 11,481 that needs to be changed... is there a query I can run? I tried the update query but it came out blank...
0
Comment
Question by:alesha711
2 Comments
 
LVL 35

Accepted Solution

by:
Bembi earned 500 total points
ID: 40000220
As it is Access you can just use an update query to construct the sql statement.
Update tableName
Set column = 302
where Worksheet = "B000001"

or something into this direction-.
As I said you can use the access assinstant to create it, just slecte "Update" as the wuery type
0
 

Author Comment

by:alesha711
ID: 40000223
Ok thank you I was doing it wrong...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question