Hi!
I´m getting crazy with this:
I´m Importing some fields from an Access database table.
It works OK.
My second step is to append the fieds extracted to a new Fox .dbf, so I can work with it from a new program written in VFP.
I´m getting an error with the fields from the MDB that came empty, when traing to "REPLACE NRO WITH import33" on the new dbf:
"Field NRO does not accept null values"
I´m attempting to solve when an incoming value is NULL by several ways, but unsuccessfully.
My last attempt to replace the NULL was:
(Sorry but I´m just a trainee
)
Thanks a lot!
Alberto
I´m getting crazy with this:
I´m Importing some fields from an Access database table.
It works OK.
My second step is to append the fieds extracted to a new Fox .dbf, so I can work with it from a new program written in VFP.
I´m getting an error with the fields from the MDB that came empty, when traing to "REPLACE NRO WITH import33" on the new dbf:
"Field NRO does not accept null values"
I´m attempting to solve when an incoming value is NULL by several ways, but unsuccessfully.
My last attempt to replace the NULL was:
(Sorry but I´m just a trainee
Code:
IF (rs.Fields(33).value == NULL)
STORE "NO DISPONIBLE" TO import33
ELSE
STORE rs.Fields(33).value TO import33
ENDIF
Thanks a lot!
Alberto