navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

UPDATE with default values of NULL

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> UPDATE with default values of NULL
Page: [1]
 
toddhenkel

 

Posts: 19
From: Tulsa, OK USA
Status: offline

 
UPDATE with default values of NULL - 5/8/2001 21:04:00   
I have built an update form that uses returned field values from an existing record using DRW. Not all of those fields have data - many are NULL.

When I use the UPDATE in DRW, I get an error that the fields are not permitted to be a zero length string. The problem is that some of the fields must : : be NULL...

I have not found a manner to incorporate a NULL value if the parameter is passed w/o data. And inserting a space, "NULL", or other characters royally messes things up...

Vince from Spain

 

Posts: 658
From: Madrid Spain
Status: offline

 
RE: UPDATE with default values of NULL - 5/9/2001 20:40:00   
If you open your database table in design view, have you got the "Permit zero length" parameter set to false for these fields? If so, set it to true and everything should be ok.

Vince

------------------
Internet Business Solutions S.L.(Spain)


(in reply to toddhenkel)
Guest


 
RE: UPDATE with default values of NULL - 6/6/2001 13:45:00   
A few assumptions (wrong or right) before I ask my question;

First, it is muy understanding Zero-Length Strings and NULL values are NOT the same thing.

Second, I understand that Zero-Length Strings are not supported by SQL 7.0.

Finally, for arguement's sake, let's assume that it is not desireable (i.e. maybe not practical becasue I have too many tables) to set the AllowZeroLength property in the table(s).

The question becomes;
Is it possible to update a field with a NULL value?

Thanks in advance


(in reply to toddhenkel)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> UPDATE with default values of NULL
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts