Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blank dates and flexgrid error

Status
Not open for further replies.

striker73

MIS
Jun 7, 2001
376
US
I am working on a database application with a visual basic interface. I have a few forms where you can enter in certain dates. Entering the dates is not mandatory. I also have a flexgrid that displays information, however when the user has left a date blank, an error pops up and says invalid use of null. I put in an if statement that says if the date field is null, then display a blank space. This doesn't seem solve the problem, but when I go through the debugger, the compiler doesn't acknowledge that null=null. Any ideas? Thanks!

striker79
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top