CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 How to check if datacolumn is empty ?

Print topic Send  topic

Author Message
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


   


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.