BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

My code is :

   obj.table_start(overrides: " rules=none frame=void cellpadding=0 cellspacing=0 ");

            obj.row_start();    
            obj.format_cell(data: " Montant  : ", overrides: "just=left color=black font_size=13pt font_weight=normal cellwidth=5cm");
	
            obj.row_end();
            obj.table_end();

I have this error :

 

79: LINE and COLUMN cannot be determined.
NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and COLUMN where the error has occurred.
ERROR 79-322: Expecting a (.
76: LINE and COLUMN cannot be determined.
NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and COLUMN where the error has occurred.
ERROR 76-322: Syntax error, statement will be ignored.
NOTE: Error occurred in: just=left color=black font_size=13pt font_weight=normal
NOTE: DATA statement used (Total process time):
real time 0.32 seconds
cpu time 0.31 seconds

 

But my report is Ok :

SASdevAnneMarie_0-1647356156833.png

I can't find where a (. is missing.

 

Thank you for your help.

 

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hello @SASdevAnneMarie,

 

I think the problem is simply that NORMAL is not a valid value of the FONT_WEIGHT style attribute. It is a valid value of the FONT_WIDTH attribute. The "normal" FONT_WEIGHT attribute is called MEDIUM. I didn't know this, but found those details in the documentation Style Attributes Detailed Information.

View solution in original post

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hello @SASdevAnneMarie,

 

I think the problem is simply that NORMAL is not a valid value of the FONT_WEIGHT style attribute. It is a valid value of the FONT_WIDTH attribute. The "normal" FONT_WEIGHT attribute is called MEDIUM. I didn't know this, but found those details in the documentation Style Attributes Detailed Information.

SASdevAnneMarie
Barite | Level 11
Thank you, FreelanceReinhard, that works
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 730 views
  • 1 like
  • 2 in conversation