Okay, here's a question. I've got a coded INSERT INTO statement that adds a record to a table based on user input. Some fields have data, some are blank, but that's okay. The table field is set to "allow zero length."
Things have been fine until today. The new record is added but the blank field seems to be read as if there was some data entered. I've looked at the table...no data. I've checked my code...no clues. I was using a hidden text box with no default value to hold the "nothing" value, but I changed the INSERT statement code to insert a blank value. I don't need the hidden text box now...right?
Here's something else. I put some data in the "blank" field of the new record and save. Then take it out and save. Now the field is read as blank!
I don't have much hair left in my head. What else should I be double checking? There must be something I'm missing???
Amadea
Things have been fine until today. The new record is added but the blank field seems to be read as if there was some data entered. I've looked at the table...no data. I've checked my code...no clues. I was using a hidden text box with no default value to hold the "nothing" value, but I changed the INSERT statement code to insert a blank value. I don't need the hidden text box now...right?
Here's something else. I put some data in the "blank" field of the new record and save. Then take it out and save. Now the field is read as blank!
I don't have much hair left in my head. What else should I be double checking? There must be something I'm missing???
Amadea