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
No Microsoft Exchange Server was detected at the specified address
Wordpress Review theme with built in star ranking
Switch user problem
Why is Windows Server 2003 SBS So slow to boot after i run DCPromo
Vista Stalling
zshp1020.exe flooding Windows Task Manager
Modifying a Script: Ajax/PHP request to MySQL DB
Windows vista and 7 C drive permissions
CONVERT(char(10),[DATE_FIE<wbr />LD], 110) Question
how to identify when a column was modified