>If I understood you correctly TableA is the Parent table, right?
Yes... It is a relation like 1-1 or 1-0. The first case is ok. The second case, I have to save NULL value, and VFP is trying to save 0, so SQL Server doens't accept it, because TableA doens't have an record with 0.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte