BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Insert empty data field

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Paul
Guest





PostPosted: Mon Nov 01, 2004 7:59 pm    Post subject: Insert empty data field Reply with quote




I want to insert an empty date field in a MySQL table.
Borland c++ builder wont accept an empty string as date field.
Is this possible with c++ builder.
i know i can with php.

Tanks in advance
Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Tue Nov 02, 2004 2:18 am    Post subject: Re: Insert empty data field Reply with quote




Paul wrote:
Quote:

I want to insert an empty date field in a MySQL table.
Borland c++ builder wont accept an empty string as date field.
Is this possible with c++ builder.
i know i can with php.

The empty string is not a date and should be rejected. You probably want to
assign NULL to the field. Call Clear to NULL the value out.

Quote:

Tanks in advance

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts, build
a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act
alone, solve equations, analyze a new problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die gallantly. Specialization is for
insects. (RAH)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.