|
-
Apr 14th, 2006, 07:28 AM
#1
Thread Starter
Fanatic Member
Insert in Table Access without Null
Hi
How can do Insert in Access Table, without Null,
How can I to remove null before insert in Access Table
-
Apr 14th, 2006, 07:31 AM
#2
Re: Insert in Table Access without Null
Depends on the datat type of the field your inserting a value to. Doesn't the table have its default value property set? You won't have to worry about nulls (eg. skipped fields) in the insert statement then.
-
Apr 14th, 2006, 07:42 AM
#3
Thread Starter
Fanatic Member
-
Apr 14th, 2006, 07:50 AM
#4
Re: Insert in Table Access without Null
What is the error? How is thge datafield defined and on what database system?
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Apr 14th, 2006, 07:51 AM
#5
Re: Insert in Table Access without Null
What's your erroneous SQL query and what's the error message?
-
Apr 14th, 2006, 08:13 AM
#6
Thread Starter
Fanatic Member
Re: Insert in Table Access without Null
in DataBase is Text format
in VB is textbox
the error is
Field 'TB01.TB01_FONE3' cannot be a zero-length string
-
Apr 14th, 2006, 08:16 AM
#7
Re: Insert in Table Access without Null
If you need to accept zero length strings "" for blank entries, then you have to change the property of the field in the database.
Otherwise you'll have to resort to changing the string to " " if its "", in the text box's validate event
-
Apr 14th, 2006, 08:43 AM
#8
Thread Starter
Fanatic Member
[RESOLVED] Insert in Table Access without Null
Thank You for all
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|