Rudi
|
Posted: 05/08/2003, 6:46 AM |
|
Hi,
I am using "Custom Code" in the "Before Show" for a form called
"directory_requests" to hide and show a (check box). Hopefully many other
controls if I can get this to work.
The Data Source for the form is the table "directory_requests". The data
shown with the checkbox is fetched from the table "UserObjects" So the
"UserObject" is defined in the forms asp code.
I would like to check the table "UserObject" and the column "u_fax_number"
to see if it's empty or not. If it is empty I will like to hide the
checkbox.
How do I do this ?
(Custom code are running in a seperate include-file than the form but the
"UserObject is defined in the asp file for the form)
Do I have to create a new database connection object (since it is running in
a seperate include file), or how do I write the code to check if the column
"u_fax_number" in the table "UserObject" is empty or not ?
Regards,
Rudi
|
|
|
|