Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2006, 04:41 AM
Authorized User
 
Join Date: May 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm,

Ok, how do I remove this constraint from the table. What exactly am I looking for?
(can I post the db to you?)

Thanks!

 
Old June 22nd, 2006, 05:29 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Which db are you using?

 
Old June 22nd, 2006, 05:52 AM
Authorized User
 
Join Date: May 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Access 2000,

I'm going through it and have noticed that some 'Required' fields are set as No and some as Yes.
The Allow Zero Length are set also as No and some as Yes.

Is this what could be causing the problem?

What settings should they be if incorrect?

Thank you.

 
Old June 22nd, 2006, 06:06 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

As your query has data in each of the fields, required or allow zero length should not be causing the error.

Are there any fields that have the "Indexed" property set to "Yes (No Duplicates)"?

Cheers,

Chris

 
Old June 22nd, 2006, 06:16 AM
Authorized User
 
Join Date: May 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes.
The Primary key field and the BrEmail field.
Shall I alter the BrEmail field to Yes(duplicates OK)?

TIA!!!!

 
Old June 22nd, 2006, 06:36 AM
Authorized User
 
Join Date: May 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cured!!

Thank you Chris!!;)

 
Old June 22nd, 2006, 06:39 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

No problem, glad you got the problem solved.






Similar Threads
Thread Thread Starter Forum Replies Last Post
strange error Iguchi Visual Studio 2008 1 April 11th, 2008 06:21 AM
An Strange Error alirezaaali Classic ASP Professional 1 August 16th, 2007 10:03 AM
Strange Error !!! NinaWilliam ASP.NET 1.0 and 1.1 Basics 2 May 21st, 2006 01:34 AM
strange error dynamic_iiita Beginning PHP 0 May 22nd, 2005 06:14 AM
Strange error eraser Classic ASP Basics 3 September 21st, 2004 07:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.