I found the HTML listing Batch to be very convenient, but some HTML tags doesn't work.
There are no problems with ,,, etc.
But there are compilation problems when trying to use formating tags such as , or , etc.
which could be very usefull.
Would it be complicate to use those tags and how to integrate in CSPro?
This works --> filewrite(html,"Questionnaire %d",GDC_QUESTIONNAIRE_ID);
This doesn't --> filewrite(html,"Questionnaire %d",GDC_QUESTIONNAIRE_ID);
Questions about HTML Listing Report
Re: Questions about HTML Listing Report
This works --> filewrite(html,"Questionnaire %d",GDC_QUESTIONNAIRE_ID);
This doesn't --> filewrite(html,"Questionnaire %d",GDC_QUESTIONNAIRE_ID);
This doesn't --> filewrite(html,"Questionnaire %d",GDC_QUESTIONNAIRE_ID);
Re: Questions about HTML Listing Report
Sorry, I meant
This works --> filewrite(html,"p+h2+strong+Questionnaire %d+/strong+/h2+",GDC_QUESTIONNAIRE_ID);
This doesn't --> filewrite(html,"p+font color="#0000ff"+h2+strong+Questionnaire %d+/strong+/font+/h2+",GDC_QUESTIONNAIRE_ID);
This works --> filewrite(html,"p+h2+strong+Questionnaire %d+/strong+/h2+",GDC_QUESTIONNAIRE_ID);
This doesn't --> filewrite(html,"p+font color="#0000ff"+h2+strong+Questionnaire %d+/strong+/font+/h2+",GDC_QUESTIONNAIRE_ID);
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Questions about HTML Listing Report
The issue here is with the quotation marks. If you want to use quotation marks in your string, your best option is to surround the string using single quotes, like this:
filewrite(html,'p+font color="#0000ff"+h2+strong+Questionnaire %d+/strong+/font+/h2+',GDC_QUESTIONNAIRE_ID);
The way it was coded before, the quotation mark in front of #0000ff was terminating the string and then you would get a compiler error when CSPro couldn't figure out what #0000ff was.Last bumped by Anonymous on July 12th, 2012, 7:06 pm.