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
Email address book transfer
Reactivate XP serial key?
cannot connect to the citrix metaframe server. There is no citrix metaframe server configured on the specified address.
Unable to install drivers for my network adapter, is a rebuild of XP required?
Aggregate function in subquery - performance issue
Disable auto archive across Exchange domain?
How can you find out who owns an email address if you cannot tell by the name being the email address?
The Security Implications of Running RDP
OWA Failed login
Something constantly trying to access internet - asking to work offline