PShearing
Posts: 6
|
| Posted: 09/25/2006, 4:36 AM |
|
I have a perplexing and recurrent problem - in generated grids (where I have ticked the option to show the total number of records) the "Total Records:" count in the top row of the grid shows a zero even when the grid has, and displays, records.
The code that ostensibly updates total count is in the BeforeShow event. The event is bound and is invoked just before the grid is output. I have tried supressing (commenting-out) the invocation of the BeforeShow event and assigning a text such as "hello" to the label that displays the total but, curiously, this makes no difference.
Any help would be gratefully received.
Paul
CCS 3.0.4.12
ASP 3 + Templates
IIS on XP (SP2 + patches)
MS SQL 2005
Server Connection Type = Connection String
_________________
Eschew Obfuscation
...Anon |
 |
 |
PShearing
Posts: 6
|
| Posted: 09/25/2006, 4:53 AM |
|
Panic Over.
Found the problem - I had introduced a syntax error into the CountSQL statement.
Apologies for the false alarm.
Doh!
_________________
Eschew Obfuscation
...Anon |
 |
 |
|