Focal Point
[SOL] Amper field in Object Inspector in Painter doesn't show up as a field to select

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/24610047

April 07, 2009, 01:37 PM
CherylB
[SOL] Amper field in Object Inspector in Painter doesn't show up as a field to select
Is there a known problem with Painter and using the Object Inspector to select a Amper field that starts with a number. Such as "&1YRAGO" ?? If if change the field to read "&YR1AGO" it will show up in the Object Inspector. It does not like a number (1) as the first character in the Amper name. I had to use the Text Editor to create most of my program or recreate the field names, but I spent almost 2 days thinking trying to figure out why I could not find my created Amper field in the Object Inspector. Can some one let me know if this okay to create a Amper field using a number aa the first character. Thanks.

This message has been edited. Last edited by: Kerry,


WF 7.7
Unix/Tomcat
ZLinux on System Z
DB2 Relational DB
April 08, 2009, 03:13 AM
GamP
Somewhere in the manuals is that one little remark:
quote:
A variable name may be any combination of the characters A through Z, 0 through 9, and the underscore (_). The first character of the name must be A through Z.


Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
April 15, 2009, 08:54 AM
CherylB
Yes this helps, but I would like to find this for my documentation. How do I search on it, or is it in a Training Manual you are talking about? Which class? This would be very helpful, thanks.


WF 7.7
Unix/Tomcat
ZLinux on System Z
DB2 Relational DB
April 15, 2009, 09:25 AM
GinnyJakes
Page 213, Naming Conventions for Local and Global Variables, "Developing Reporting
Applications" Version 7 Release 6 DN4500805.0408 or wf761appslang.pdf.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 15, 2009, 09:31 AM
<JG>
quote:

Reference: Naming Conventions for Local and Global Variables
Local and global variable names are user-defined, while system and statistical variables
have predefined names. The following rules apply to the naming of local and global variables:
A local variable name is always preceded by an ampersand (&).
A global variable name is always preceded by a double ampersand (&&).
Embedded blanks are not permitted in a variable name.
If a value for a variable might contain an embedded blank, comma, or equal sign, enclose
the variable in single quotation marks when you refer to it.
A variable name may be any combination of the characters A through Z, 0 through 9, and
the underscore. The first character of the name should be a letter.
You can assign a number instead of a name to a variable to create a positional variable.
The underscore may be included in a variable name, but the following special characters
are not permitted: plus sign, minus sign, asterisk, slash, period, ampersand, and
semicolon.


DN4500805.1208 WebFOCUS Developing Reporting Application Version 7 Release 6

Downloadable from IBI's doc site
April 15, 2009, 09:32 AM
<JG>
Just beat me Ginny but there is a later vervion than .0408
April 15, 2009, 09:55 AM
GinnyJakes
Thanks, JG. I do have to be careful that I don't download the manuals that have been updated beyond the release I have installed for my users. We are still at 765.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 17, 2009, 11:56 AM
CherylB
Thank you all for your help. This what I was looking for.


WF 7.7
Unix/Tomcat
ZLinux on System Z
DB2 Relational DB
April 17, 2009, 12:07 PM
<JG>
Pleased to help.

Ginny,

Problem with 7.6 documentation is that they just keep updating it and do not give any indication of what sub-release
a feature is available in.

My personal view is if they want to do it that way, they should have the base documentation and then appendices
for sub releases.
April 17, 2009, 12:16 PM
GinnyJakes
I really don't have a problem with the way it is right now. My rule of thumb is to not download anything with a later date than the release I have installed just in case they changed the behaviour of something or enhanced an existing feature. That protects me from a developer checking something out and trying it when it is not available. and, not that they would, heaven forbid that they'd need to look at more than one manual.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google