PC Review


Reply
Thread Tools Rate Thread

Simple 'NULL' / Databiding prob got me stumped..

 
 
James R
Guest
Posts: n/a
 
      9th Sep 2004
Ok, I'm new at this and learning as I go, but under extreme pressure
from work.. So many bugs and little tricky obsticals have got me very
far behind, and this is the latest..

I made a simple databinding form, but not using the wizard, because it
doesn't use the SQL driver.

I'm keeping it simple right now with a very normal table with a
primary key 'SIN' (social insurance number). Well I'm following
along in the book to do the whole goto next record, delete etc.. All
works.. But the problem is ADDING a record. Whenever I try, it simply
says "column 'SIN' does not allow nulls". Well no $#1T. I have a
value in the field, but it simply erases it right away and gives me
that message. I've been searching for DAYS on this, and nobody has
seemed to have it figured out in this scenario. It seems to me like
an extremly common issue..So why all the headache? None of the books
examples seem to deal with this....

btw, I've tried:
setting a default value on the SQL table itself.
changing the xml schema to not allow nulls.
changing the xml schema to assign a default value.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stumped on List Box Code - Null Values =?Utf-8?B?Q2Fycmll?= Microsoft Access Form Coding 0 18th Apr 2006 07:22 PM
Simple 'NULL' / Databiding prob got me stumped.. James R Microsoft ADO .NET 1 11th Sep 2004 02:34 AM
Simple 'NULL' / Databiding prob got me stumped.. James R Microsoft VB .NET 1 10th Sep 2004 10:41 AM
Stumped: Help please, simple Monte Comeau Microsoft Excel Worksheet Functions 3 4th Jun 2004 12:05 AM
occasional prob with Diablo 2: LOD has me stumped Ulric Van Bergen (UVB) Windows XP Games 1 6th May 2004 03:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:07 PM.