CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Error in Code

Print topic Send  topic

Author Message
defiantclass1

Posts: 24
Posted: 01/12/2006, 11:59 AM

I have a date field in which I set the Default Value Property to "CurrentDate" from the drop down selection. It does insert the current date in to the field on the form. However, when attempting to add the record, I get a Variable Undefined error.

I have taken the Default Value of CurrentDate out of the settings, but now I am still getting the same error. Like it has been added to the code, but not taken out when I removed the property setting.

I would like first first to sucessfully add the CurrentDate default, or at least second, get it back to the way it was.

Any ideas/suggestions?

Thank you
View profile  Send private message
defiantclass1

Posts: 24
Posted: 01/12/2006, 12:11 PM

Ah Ha!

I change the line in the code where the error was, removing the word "CurrentDate" and replaced it with "Empty". I no longer get the error.

I would however like very much to use the Current Date feature. Is it possible that if the database field is set to get the system date as well, that this is the reason I am not able to use the CurrentDate setting??
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
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.