CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Integer as text in grid

Print topic Send  topic

Author Message
bowtellj

Posts: 65
Posted: 08/04/2007, 12:46 AM

How do I show a label as a text value instead of an integer. The label does not have similar options to the list box.
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
View profile  Send private message
TheunisP

Posts: 342
Posted: 08/04/2007, 1:54 AM

James, what is the problem - I think that when it hits the screen it is pretty much not an intger or text - so I assume you want it in a specific format?
View profile  Send private message
bowtellj

Posts: 65
Posted: 08/04/2007, 4:23 AM

I have a column in my grid called categoryid and I cannot figure out how to show the friendly field name instead of the primary key......
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
View profile  Send private message
TheunisP

Posts: 342
Posted: 08/04/2007, 4:32 AM

so the cat id points to another table with cat id & name

open visual query builder (select grid, click on table in the properties - on the left click the ...)

right click in huge white area, add table - add your cat table

ccs will attempt to link if it fails, just click on the cat id in the original table, hold mouse button down and drop it on the cat id in the new table

check cat name

ok

go to lable

change to text type

and select cat name from the drop down

View profile  Send private message
bowtellj

Posts: 65
Posted: 08/04/2007, 4:46 AM

Great, worked a treat. Have a beer on me.
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
View profile  Send private message
bowtellj

Posts: 65
Posted: 08/04/2007, 5:00 AM

hmmmmm. While this showed the field name correctly it also filtered the records and did not show any with a null value. Is this normal.
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
View profile  Send private message
TheunisP

Posts: 342
Posted: 08/04/2007, 6:50 AM

ok, get back into visual query builder - right click on th cat id link line

pic edit link (or do they say join cant remember - but pick 2bd from top I think it is an edit)

select the radio button that says that it should display all records from the main table even if there is no relationship
View profile  Send private message
bowtellj

Posts: 65
Posted: 08/04/2007, 4:45 PM

Perfect. Oh and I am sorry, I drank your beer.....

Thanks
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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