I am querying a record in a table and two rows are found. If I have any null values in any fields then the rows for all fields become null.
For example,
row 1
col a = aba
col b = cbc
col c = dfd
col d = fff
row 2
col a = ba
col b = bc
col c = fd
col d = ff
Then the object is created correctly with the data as:
Objects 1 and two are as follow:
aba, cbc, dfd, fff
ba, bc, fd, ff
In this case though:
row 1
col a = aba
col b = cbc
col c = null
col d = fff
row 2
col a = ba
col b = bc
col c = fd
col d = ff
Then the object is created correctly with the data as:
Objects 1 and two are as follow:
null, null, null, null
ba, bc, fd, ff
Any ideas why?
Thanks,
Joe Russo
|