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
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock<wbr />' (111)
MySQL can handle how many concurrent transactions?
No Free Memory Error & copying bulk pictures to clip board
Trying to convert a basic disk to RAID-1 using ghost
"Server Certificate" under Directory Security tab is grayed out
Access VBA - Import Spreadsheet
Logon Failed: HY00:[IBM][iSeries Access ODBC Driver]Internal Drive error - v5r4 driver to v4r3 database
Msg 1833: File 'sysft_myftcatalogname' cannot be reused until after the next BACKUP LOG
Cannot browse public folders in IE exchange 2007 sp1. OWA works fine.
How do you add an ID column in MS Access files?