There has to be a better way
In VB6, if I wanted to check that data had been entered into a field I would say something like If Textbox1.text = "", then I knew there was nothing entered.
In VB .Net, I ended up writing this:
If Instr(Ltrim(Textbox1.text), " ") = 0 then there was nothng there, but even that solution is half baked as if the box is filled completely, then it won't work, anyone got any better ideas???
The other alternative was to compare it exactly to the number of spaces between quotes but that seems very messy
:rolleyes: