Solved

How to change these Null values?

Posted on 2014-04-14
2
308 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now