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?
|
|
|
 |
|