I have a define in my fex that changes the value of some data to "..... £". Later on I print a field and change the field title to "....£/...".
When I save and close and go back in the pound sign in the define changes to œ and the one for the field title changes to ?.
Is there a way to stop this happening and is this the only character it happens to. Am I going to have to use some fancy footwork to get around the problem?
Cheers
DevStudio 7.6.1. SQL Server 2005
December 06, 2007, 07:00 AM
Tony A
foz,
Go to Dev Studio and choose Windows/Options and check the "Store Data as ANSI" box. Click OK and you should be cooking.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
December 06, 2007, 08:02 AM
thefoz
Cheers. So that does mean it will store my code as ANSI and any subsequent data in my hold files?
DevStudio 7.6.1. SQL Server 2005
December 06, 2007, 08:10 AM
Tony A
Not necessarily, it depends upon what you are doing with the value of course.
One of the things I tend to do is to force the issue when it comes to currency symbol by using -SET &Pound = HEXBYT(156); -RUN SET CURRENCYSYM = &Pound or something similar (I do not have an example to hand and that is just memory.
You can also use the &Pound value anywhere in your code of course and avoid the annoying alternate symbols.
T
correcting typos This message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10