Wrox Programmer Forums
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 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 February 26th, 2004, 12:20 PM
Registered User
Join Date: Feb 2004
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,

Old February 26th, 2004, 12:23 PM
Registered User
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Don't worry, I've sorted it.

I was being thick.



Old February 26th, 2004, 12:49 PM
Authorized User
Join Date: Dec 2003
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts

Please post your solution

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

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

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