replace > 0 with an M
Posted by admin on 25 Sep 2008 at 10:28 PM
$5.00
I am using windows XP, Access 2003, but my database was created in access 2000.
I have a table with data already in it, one column has dolor amounts in it, and I need to find all cells with amounts greater that 0 and replace them with an M, all other cell with 0 in them need to be blank, so the only thing I have left in this column is M's where the value was greater than $0.00.
I also have another column with values like 24B, 24C, 24G, 24A, and so on, what I need to do is eliminate the 24 and just leave the letter in each cell, is there anyway to do this without going through each cell and erasing the number.
Thanks
Sam
I have a table with data already in it, one column has dolor amounts in it, and I need to find all cells with amounts greater that 0 and replace them with an M, all other cell with 0 in them need to be blank, so the only thing I have left in this column is M's where the value was greater than $0.00.
I also have another column with values like 24B, 24C, 24G, 24A, and so on, what I need to do is eliminate the 24 and just leave the letter in each cell, is there anyway to do this without going through each cell and erasing the number.
Thanks
Sam
Accepted Answer:
| Answer provided by admin on 25 Sep 2008 at 10:28 PM For the first field, you won't be able to do it assuming that the field is a number or currency field. What you CAN do is add another field as a text field. Then run an Update query that sets that new field to "M" where the amount is greater then 0. |
| Rating: * * * * * Awarded: $5.00 |
Ask a Question
Most Recent Questions
Most Recent Answers
Home Page
Login
Register
Information Technology
Programming Languages
Database
- Microsoft Access
- MySQL
- Oracle
- PostGreSQL
- SQL Server
- Visual FoxPro
Graphic Design
Operating Platforms
Hardware and Networking
Math and Science
Biology and Geology
Math and Statistics
Chemistry
Physics
Engineering

Are you an information
Most Recent Questions
Most Recent Answers
Home Page
Login
Register
Information Technology
Software, Hardware, Design
Programming LanguagesDatabase
- Microsoft Access
- MySQL
- Oracle
- PostGreSQL
- SQL Server
- Visual FoxPro
Graphic Design
Operating Platforms
Hardware and Networking
Math and Science
Homework Help
Biology and GeologyMath and Statistics
Chemistry
Physics
Engineering
Are you an information
technology or
math/science expert?
You can earn money by
providing answers to questions
at AnswerArchive.com.
Learn How