Guest Posted August 12, 2020 Posted August 12, 2020 Hi Donal I think we could use just a little more info. When FOCUS gives an error like this, its showing you exactly where it thinks the error occurs - it shows this right after the :. In your image, it says missing quote marks: '.x3{"line Your COMPUTE looks different than the error shows above. You dont have a style tag that starts with a single quote. You also dont have a double quote before the word line in the COMPUTE. The key is to pay attention to what WebFOCUS thinks even if it doesnt make sense. Right now, it looks like WebFOCUS is complaining about something different than the COMPUTEd field Double check that the error might not be coming from somewhere else. You could potentially even search your View Source (assuming your ECHOing) for the literal string that goes with the error. Maybe youve got a very similar looking style tag someplace. Or maybe you have a screenshot of an older run. You can see in the error message that theres a starting single quote with apparently no ending one. Also theres that double quote whered that come from Toby
Toby Mills Posted August 12, 2020 Posted August 12, 2020 Hey Donal I suck at HTML markdown - I dont know how to escape the word script the <> so it will show. Just look at your literal text after the colon. Sorry for any confusion. I should lean some basics on how to format things here. Thanks Toby
Donal Mattimoe Posted August 12, 2020 Author Posted August 12, 2020 This is the actual coding, has (style.x3{line-height:0px;}/style;). I do not see any other missing quotes COMPUTE TSITEXT/A50V = IF TSI EQ 1 THEN TSI ELSE ; COMPUTE ATSTEXT/A50V = IF ATS EQ 1 THEN ATSI ELSE ; COMPUTE CSITEXT/A50V = IF CSI EQ 1 THEN CSI ELSE ; COMPUTE CLASSTEXT/A20V = IF UNCLASSIFIED EQ 1 THEN Not Identified ELSE ; COMPUTE FFF/A100V = .x3{line-height:0px;}; BY COMPUTE SUBGROUP1/A100V = SUBGROUP;
Toby Mills Posted August 12, 2020 Posted August 12, 2020 Thanks Donal I still dont see where WebFOCUS is getting that double quote before the line-height in the image you uploaded. Seems like WebFOCUS sees a double quote that we dont see in your code. the .x3{"line part I know you might have private data there, so I dont want to ask for too much, but could you turn ECHO on and show us what you see that leads up to that error If you dont already have it, just add -SET &ECHO=ON; before running the code. That should help us see where the parsing error is coming from. Theres a double quote in there someplace Thanks! Toby
Donal Mattimoe Posted August 12, 2020 Author Posted August 12, 2020 ERROR is happening when I import to HTML it runs fine on canvas page. ERROR AT OR NEAR LINE 862 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC257) MISSING QUOTE MARKS: '.x3{line (FOC009) Request failed validation, not executed. ERROR AT OR NEAR LINE 876 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: ESSASC_HOLD
Pawan Vuppala Posted August 12, 2020 Posted August 12, 2020 I was able to create this and run it in AppStudio with no issues but Im at 8201. TABLE FILE CAR SUM SALES DEALER_COST COMPUTE FFF/A100V = .x3{line-height:0px;}; BY COUNTRY ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * ENDSTYLE END
Donal Mattimoe Posted August 12, 2020 Author Posted August 12, 2020 What is strange is that it runs on another HTML page, same code and report.
Pawan Vuppala Posted August 12, 2020 Posted August 12, 2020 The page could have been corrupted, if its easier to rebuild id try that approach.
Donal Mattimoe Posted August 12, 2020 Author Posted August 12, 2020 Nope, that did not work, still not liking the quotes somewhere
Donal Mattimoe Posted August 12, 2020 Author Posted August 12, 2020 I have an HTML page which does not like the following code 'COMPUTE FFF/A100V = .x3{line-height:0px;}; It runs fine in my main canvas page but when I try to import to HTML it gives me an error missing quote marks How should code be written so it is accepted Thanks webfocus version 8207
Toby Mills Posted August 13, 2020 Posted August 13, 2020 Morning Donal I see the post is marked as RESOLVED - was it really resolved If so, what did you find Curious Thanks! Toby
Donal Mattimoe Posted August 13, 2020 Author Posted August 13, 2020 The code had style in front and behind so I removed them and it worked! But still strange that it works fine in the other report. Thanks for your suggestions. COMPUTE FFF/A100V = .x3{line-height:0px;}
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now