Microsoft
Software
Hardware
Network
Question : Replace string in Access Table
Some values in a column of my table end with 'CR'.
For example
1550.84CR
For each of these values, I would like to change the string to begin with a hyphen, and drop the CR.
for exampole
-1550.84
I would also like to then convert this column from TEXT to CURRENCY.
Answer : Replace string in Access Table
In the table create a field with datatype currency. Then:
UPDATE tblValues SET fldCurrency=IIf(Right(fldT
ext,2)="CR
",-Val(fld
Text),Val(
fldText))
Of course use your real table and field names.
Random Solutions
convert pagemaker to HTML
using MMC on XP terminal to administer exchange mail boxes
Odd Printing
Blue Screen of Death - No idea why
Create 2003 AD replica test lab on virtual servers / different hardware
get server Names
WinXP hangs at shutdown with System Event Notification service running
Convert SQL datetime to timestamp
Outlook email disappearing
Creating Dashboard Meter Graphics in Powerpoint