Germancho
Programmer
- Jul 9, 2003
- 36
Hi guys!
I want the user be able to change the currency simbol. I have a TextBox where the user introduce it and the LostFocus event has:
LOCAL lcCurrencyS
lcCurrencyS = ALLTRIM(THIS.Value)
But if I write:
SET CURRENCY TO lcCurrencyS
I get the error
** Command or phrase not recognized **
at developing time
SET CURRENCY TO '&lcCurrencyS'
I get the error
** Command or phrase not recognized **
at run time
How can I do that?
I want the user be able to change the currency simbol. I have a TextBox where the user introduce it and the LostFocus event has:
LOCAL lcCurrencyS
lcCurrencyS = ALLTRIM(THIS.Value)
But if I write:
SET CURRENCY TO lcCurrencyS
I get the error
** Command or phrase not recognized **
at developing time
SET CURRENCY TO '&lcCurrencyS'
I get the error
** Command or phrase not recognized **
at run time
How can I do that?