Sorry this is my second post, I hope to make it clearer and to find a answer 
Using the following line
If Generation_Date.Value contains nothing at all then the value of GenerationDateValue becomes "12:00:00 AM"
Therefore later on in my code when I do a IsNull(GenerationDateValute) it returns False because it contains "12:00:00 AM" hence screwing up the rest of my code.
Is there any way if my date field is blank, to check to see if its blank, and if it is make it null, or if there is a date to simply copy the date into the field.
It sounds simple but i've been trying to figure it out all morning and its driving me nuts!
Using the following line
Code:
GenerationDateValue = Nz(Generation_Date.Value, 0)
If Generation_Date.Value contains nothing at all then the value of GenerationDateValue becomes "12:00:00 AM"
Therefore later on in my code when I do a IsNull(GenerationDateValute) it returns False because it contains "12:00:00 AM" hence screwing up the rest of my code.
Is there any way if my date field is blank, to check to see if its blank, and if it is make it null, or if there is a date to simply copy the date into the field.
It sounds simple but i've been trying to figure it out all morning and its driving me nuts!