Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fixed Width for htp.tableData()?

530085Aug 28 2007 — edited Aug 28 2007
I have the following piece of code: htp.tableData(warrant_num);

Let's say the value of the variable warrant_num is the number 11. When the html page comes up, the field is populated with '11'. The width of the field is 2 characters wide. I want to make the width of the field 20 regardless of if the variable is 11 or 2359, the width is 20 characters.

I know how to make an htf.formText field a set number of characters wide. htp.tableData(htf.formText('warrant_num', '20','20'));
But this is for a second pass type of thing and I am plugging in the variable from the variable entry. I was unable to get the variable to go into an htf.formText box, so I am trying to just plug it into the tableData field direct. Is it possible to set the htp.tableData to a fixed width?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2007
Added on Aug 28 2007
2 comments
452 views