1. Make sure you've created the CAR database in IBISAMP. 2. If IBISAMP is not on your APP PATH, then, either add it or code like: ?FF IBISAMP/CAR -EXIT
I suspect that something is missing like a semicolon.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 02, 2016, 04:19 PM
Tomsweb
I have created a fearless report in APP STUDIO report wizard, version 8105
-DEFAULT &COUNTRY = 'FRANCE';
TABLE FILE CAR
PRINT
CAR.BODY.DEALER_COST AS 'DEALER'
CAR.BODY.RETAIL_COST AS 'RETAIL'
CAR.BODY.SALES
BY LOWEST CAR.ORIGIN.COUNTRY
BY LOWEST CAR.COMP.CAR
BY LOWEST CAR.CARREC.MODEL
WHERE COUNTRY EQ '&COUNTRY';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END
and I get this error, which displays in a dialogue box:
>-< -DEFAULT &COUNTRY = 'FRANCE'
at the bottom is a clickable OK button.
What is this ?
I coded the extra line: -DEFAULT &COUNTRY = 'FRANCE'; to avoid getting perpetual prompts for the COUNTRY value.
Is the -DEFAULT the first line ?, I have seen weird things if the first line isn't a comment.
Thought that was fixed though
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 02, 2016, 05:00 PM
Squatch
I would hazard a guess that there is an unprintable character in front of the "-DEFAULT &COUNTRY = 'FRANCE';".
I have run into weird situations like this copying and pasting from Microsoft Outlook e-mails. I have also had App Studio throw in a few garbage characters at the beginning of the first line when opening text files.
Try opening the file up in a good text editor and see if there is an unprintable character at the beginning of the code. A good editor like "Programmer's Notepad" (It's free) will show you these kinds of characters.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
March 22, 2016, 09:36 AM
Tamra
Tomsweb,
Are you still encountering this issue, if so can you provide a step by step process of how you add the text into the focexec. Sometimes we miss something when trying out examples.
Can you try this within the BI Portal and on the Reporting Server?
This query command is working for me as well on WebFOCUS 8105. ?F CAR <- Also works, provides just the list of fieldnames - no format listed for the fields.
Let us know your status or if this has been resolved please update the subject line with Tag your topic with keywords .
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
March 22, 2016, 10:57 AM
Tomsweb
Since I encountered this issue I have learned that I must put a command like ?F CAR (and its brethren) in a COMMENT component. Otherwise the error occurs.
I have also discovered that a text editor option exists which provides me another means for reviewing and editing my code through the entirety of the fex.