CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Limit to HTML content in Label

Print topic Send  topic

Author Message
kevind

Posts: 251
Posted: 02/25/2008, 2:56 PM

Hi all,

I'm creating a report in CCS 2.3.

A grid will contain a parent record, in the row below the main row I will insert a label with Content Type set to HTML.

This label will call code to obtain its value - the value will be HTML tags and values to build a table inside the <TR><TD> tag of the row that label is sitting in. The table will contain as many rows are there are child records.

My question is: what is the limit of using a Label object in CCS to contain HTML content?

If anyone can suggest a better approach - i'll take a crack at that too.

Thanks,
Kevin


_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message
wkempees
Posted: 02/25/2008, 3:27 PM

AFAIK, no real limit to HTML Label.
I would add the <table></table> to the label before and after.
And have the sql append the appropriate <tr><td></td></tr> to the datarows.
  
select '<tr><td>',field1, '</td><td>', field2, '</td></tr>'  
from table  
If you anticipate any null or blank values you might need to add & n b s p ;
before or after the datafields to have blanksspaces in empty fields so
alignment stays ok.
Of course you could also add alignment instructions to your <td> as usual.
Have fun!

Walter

"kevind" <kevind@forum.codecharge> schreef in bericht
news:247c3479407ee0@news.codecharge.com...
> Hi all,
>
> I'm creating a report in CCS 2.3.
>
> A grid will contain a parent record, in the row below the main row I will
> insert a label with Content Type set to HTML.
>
> This label will call code to obtain its value - the value will be HTML
> tags and
> values to build a table inside the <TR><TD> tag of the row that label is
> sitting
> in. The table will contain as many rows are there are child records.
>
> My question is: what is the limit of using a Label object in CCS
> to
> contain HTML content?
>
> If anyone can suggest a better approach - i'll take a crack at that too.
>
> Thanks,
> Kevin
>
>
> _________________
> ======================
> CCS 2.3.x / ASP / MS Access
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

kevind

Posts: 251
Posted: 02/25/2008, 4:30 PM

yes, building the whole table was the approach i was going to take. i just didn't want to waste time building it to have it dump out later due to some limit. thanks for the alignment advise - going with style values for that.

too bad there isn't the ability to 'include' a page that has the table already - like a sub-report in Crystal.....asking too much I suppose.

Regards,
Kevin

Quote wkempees:
AFAIK, no real limit to HTML Label.
I would add the <table></table> to the label before and after.
And have the sql append the appropriate <tr><td></td></tr> to the datarows.
  
select '<tr><td>',field1, '</td><td>', field2, '</td></tr>'  
from table  
If you anticipate any null or blank values you might need to add & n b s p ;
before or after the datafields to have blanksspaces in empty fields so
alignment stays ok.
Of course you could also add alignment instructions to your <td> as usual.
Have fun!

Walter

"kevind" <kevind@forum.codecharge> schreef in bericht
news:247c3479407ee0@news.codecharge.com...
> Hi all,
>
> I'm creating a report in CCS 2.3.
>
> A grid will contain a parent record, in the row below the main row I will
> insert a label with Content Type set to HTML.
>
> This label will call code to obtain its value - the value will be HTML
> tags and
> values to build a table inside the <TR><TD> tag of the row that label is
> sitting
> in. The table will contain as many rows are there are child records.
>
> My question is: what is the limit of using a Label object in CCS
> to
> contain HTML content?
>
> If anyone can suggest a better approach - i'll take a crack at that too.
>
> Thanks,
> Kevin
>
>
> _________________
> ======================
> CCS 2.3.x / ASP / MS Access
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>



_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message
wkempees


Posts: 1679
Posted: 02/25/2008, 4:35 PM

Ok.
regarding the include, I haven't tried that but........
Why not give it a go?
Was not part of your original Q.

Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
kevind

Posts: 251
Posted: 02/26/2008, 6:36 AM

can't include a page in a grid
would template blocks work ? i can spin through the data in vbscript and push values to the template block - have you seen any examples of using these in a report situation?

Quote wkempees:
Ok.
regarding the include, I haven't tried that but........
Why not give it a go?
Was not part of your original Q.

Walter


_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.