Feb 10, 2001 #1 mandarine Programmer Joined May 20, 2000 Messages 19 Location FR Hello, How do I insert a Null field into database table? Let's say I have this fields: name, address I want to insert name as Carlos and address as NULL can I do it in VB? How I do it in SQL? Thanks
Hello, How do I insert a Null field into database table? Let's say I have this fields: name, address I want to insert name as Carlos and address as NULL can I do it in VB? How I do it in SQL? Thanks
Feb 10, 2001 1 #2 RickSpr MIS Joined Jan 4, 2001 Messages 2,885 Location US In either VB or SQL, you use the Null keyword in place of the expression that provides the data. VB: rst!Address = Null SQL: UPDATE MyTable SET Address = Null WHERE ... Rick Sprague Upvote 0 Downvote
In either VB or SQL, you use the Null keyword in place of the expression that provides the data. VB: rst!Address = Null SQL: UPDATE MyTable SET Address = Null WHERE ... Rick Sprague