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 -> .NET

 Change Where Clause in Checkbox List inside a Record Form

Print topic Send  topic

Author Message
Andres Rormoser
Posted: 06/23/2005, 12:03 PM

I'm trying to change the Where Clause of a Chackbox List inside a Record Form, in ASP i
did it without problem but now in ASP.NET i can't.

I've put the following in the BeforeExecuteSelect Event of the Checkbox List

'ListBox CuentaList Event BeforeExecuteSelect. Action Custom Code @79-73254650
' -------------------------
DirectCast(Select_,TableCommand).Where = "cancelada=0"
DirectCast(Select_,TableCommand).Operation = "AND"
' -------------------------
'End ListBox CuentaList Event BeforeExecuteSelect. Action Custom Code


The code runs without errors but that where clause is never executed into the server.

Please Help.

Thanks in advance, AR

Andres Rormoser
Posted: 06/23/2005, 12:11 PM

2 secods after writing the email i realized that i was changing the Record Query and not
the Checkbox List Query!!!!

The correct code is:

DirectCast(CuentaListDataCommand ,TableCommand).Where = "cancelada=0"
DirectCast(CuentaListDataCommand ,TableCommand).Operation = "AND"

Thanks!!

"Andres Rormoser" <arormoser@witcom.com.ar> wrote in message
news:d9f11p$i8e$1@news.codecharge.com...
I'm trying to change the Where Clause of a Chackbox List inside a Record Form, in ASP i
did it without problem but now in ASP.NET i can't.

I've put the following in the BeforeExecuteSelect Event of the Checkbox List

'ListBox CuentaList Event BeforeExecuteSelect. Action Custom Code @79-73254650
' -------------------------
DirectCast(Select_,TableCommand).Where = "cancelada=0"
DirectCast(Select_,TableCommand).Operation = "AND"
' -------------------------
'End ListBox CuentaList Event BeforeExecuteSelect. Action Custom Code


The code runs without errors but that where clause is never executed into the server.

Please Help.

Thanks in advance, AR



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.

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.