ZuperDuper
Programmer
I think I've asked a simmilar question, got no response, so I try againg.
If I try to open a database in my case I tried DBASE3 and MDB, and try to access the field that is empty, I get NULL value - thats fine.
When I replace those NULL fields with spaces, I still get a NULL value. If I try following, I get undesired result.
myString=RS.Fields("myfield").value
myString gets "" and not " "
When I replace a length 3 field that is NULL with "1 ", it gets value of "1" once opened through .NET.
myString=RS.Fields("myfield").value
myString gets "1" and not "1 "
Can anyone help me out on this one? Is it possible to set the recordset or the field to be fixedlength?
You should never underestimate the predictability of stupidity.
If I try to open a database in my case I tried DBASE3 and MDB, and try to access the field that is empty, I get NULL value - thats fine.
When I replace those NULL fields with spaces, I still get a NULL value. If I try following, I get undesired result.
myString=RS.Fields("myfield").value
myString gets "" and not " "
When I replace a length 3 field that is NULL with "1 ", it gets value of "1" once opened through .NET.
myString=RS.Fields("myfield").value
myString gets "1" and not "1 "
Can anyone help me out on this one? Is it possible to set the recordset or the field to be fixedlength?
You should never underestimate the predictability of stupidity.