Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > BOOK: Beginning ASP 3.0
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 26th, 2004, 12:20 PM
Registered User
Join Date: Feb 2004
Location: worceter, , United Kingdom.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Determining the length of a database field


I am currently writing an ASP system. As part of the systems functionality I need to test to see if a field in a database is empty.

I've tried various ways including something like:

If objRS("field") = "" Then ...

Even though the field is empty this statement does not work. please can you tell me where I'm going wrong or another means of testing if a particular field is empty.

Many thanks for your time,

  #2 (permalink)  
Old February 26th, 2004, 12:23 PM
Registered User
Join Date: Feb 2004
Location: worceter, , United Kingdom.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Don't worry, I've sorted it.

I was being thick.



  #3 (permalink)  
Old February 26th, 2004, 12:49 PM
Authorized User
Join Date: Dec 2003
Location: Middletown, CT, USA.
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts

Please post your solution

Did you use a len("field")=0
as a solution


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining what field has focus? firefighter2045 Access VBA 4 November 6th, 2007 12:58 PM
write text file with fixed field length hugoscp Classic ASP Professional 0 June 27th, 2007 06:12 AM
Determining a database Schema rit01 Access 2 December 10th, 2005 03:54 PM
Help me on Fixed Field Length data files hossrad SQL Server DTS 3 January 29th, 2005 07:50 PM
SQL Server, field length of 20000 itHighway Classic ASP Databases 3 December 27th, 2004 01:16 AM

All times are GMT -4. The time now is 04:20 AM.

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