switch minus from right to left access

vojinb

Registered User.
Local time
Today, 17:30
Joined
Jul 25, 2011
Messages
38
Hi,
I have table with imported negative sign on right side, like
23234,45-

How to switch minus to left, to have -23234,45?
 
Hi.. ;)

This can be useful..:

Code:
update tabloname set 
     fieldname = "-" & left([fieldname],len([fieldname])-1)
where right([fieldname],1)="-"
 
Hi,
Thanks :)
but when I try it gives me error "wrong number of arguments.."
 
Can you copy and paste the exact SQL you have entered.

Chris
 
Hi,
the sql is same as in example above:

Update bilansuspjeha set OPENING_BALANCE = "-" & left([OPENING_BALANCE],len([OPENING_BALANCE])-1)
where right([OPENING_BALANCE],1)="-"
 
Hi,
stupid me, it is working :))
i was missed one bracket in query, I just saw it :)
Thanks once again
 

Users who are viewing this thread

Back
Top Bottom