CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Suppressing NULL/empty fields

Print topic Send  topic

Author Message
walter
Posted: 02/12/2002, 12:57 AM

Hi, there.

How do I best suppress / don't show NULL values/empty fields in a grid ?

Any hint is appreciated.
walt
Vincent
Posted: 02/12/2002, 1:33 AM

Walter,
This thread might help...
http://www.gotocode.com/disc_viewt.asp?mid=6752&s_topic=hide+forms&
Nicole
Posted: 02/12/2002, 1:52 AM

Walter,
the solution depends on case. Anyway the solution will be more elegant in templateless pattern because you may code everything in CC, while in template pattern you should edit generated html.
The more simple way is to use Columnar type Grid. In this case just create CustomShow event where check the field value and if it is empty just do not print html and field values on the form (simple if operator).
The solution for Tabular type Grid requires more manual coding (both code and html) in grid form events. If you prefer this way I can provide explanation.
Andrew B
Posted: 02/13/2002, 8:01 PM

Are you trying to hide the entire row if it is null, or are you getting the words 'NULL' in the grid?

   


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

Web Database

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.