You can override the on before execute event in the data object and use
get/set sql program.
You can put some methods in your data object class to make isolate this
implementation from the ND page.
Brendan
-----Original Message-----
From: Rachael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 22, 1999 2:31 PM
To: [EMAIL PROTECTED]
Subject: [ND] Add dynamic criteria to a dataobject with a custom SQL
Need to help and FAST ...............
I have a dataobject which has a customized SQL (ie I have a SQL string
specified in the
SQL tab of the dataobject editor).
I want to be able to add another criterion to
this query from the page which is accessing
this dataobject. Is this doable?
Or the custom SQL will always take precedence
Any help is greatly appreciated!!
Thanks
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]