Click here to Skip to main content
15,920,828 members
Home / Discussions / Database
   

Database

 
AnswerRe: Basic SQL question Pin
Christian Graus3-Jun-07 14:53
protectorChristian Graus3-Jun-07 14:53 
GeneralRe: Basic SQL question Pin
eggie53-Jun-07 15:00
eggie53-Jun-07 15:00 
GeneralRe: Basic SQL question Pin
Pete O'Hanlon3-Jun-07 23:46
mvePete O'Hanlon3-Jun-07 23:46 
QuestionMofify a colunm from Nvarchar(50) to DateTime Pin
steve_rm3-Jun-07 9:27
steve_rm3-Jun-07 9:27 
AnswerRe: Mofify a colunm from Nvarchar(50) to DateTime Pin
Mike Dimmick3-Jun-07 12:00
Mike Dimmick3-Jun-07 12:00 
QuestionAccess of Office 2007 as a DB in .NET Pin
Tzumer Edo3-Jun-07 4:27
Tzumer Edo3-Jun-07 4:27 
AnswerRe: Access of Office 2007 as a DB in .NET Pin
originSH3-Jun-07 23:30
originSH3-Jun-07 23:30 
QuestionAdding a new column is DBNULL Pin
steve_rm2-Jun-07 4:06
steve_rm2-Jun-07 4:06 
Hello,

VS 2005

I am developing the database application. This is a live database and is being used by the customer.

I am to release a new version and I had to add new columns to fit the requirements DateStarted (DateTime), and TotalHours(Int) into a database table.

There are already over a 1000 rows in this table. When the customer wants to look at a record in this table and insert the value into the text boxes (Front-end), when it gets to the DateStarted or TotalHours it comes up with a error message:
"The value for column 'DateStarted' in table 'IncidentTask' is DBNull."

The method for inserting is:
Me.dtDateStarted.Value = Me.DsIncidentsControl.IncidentTask(0).DateStarted

What are the possible solutions to this problem? Would it mean checking for a DBNULL before displaying in the textboxes? Or updating the new column rows with an date:
UPDATE IncidentTask SET DateStarted = '1/1/2005' WHERE (DateStarted IS NULL)

Many thanks for any suggestions,

Steve
AnswerRe: Adding a new column is DBNULL Pin
Rob Graham2-Jun-07 5:53
Rob Graham2-Jun-07 5:53 
AnswerRe: mysql vs sqlserver Pin
Rob Graham2-Jun-07 4:55
Rob Graham2-Jun-07 4:55 
QuestionSQL variable in MS Access Pin
Blue_Boy2-Jun-07 2:25
Blue_Boy2-Jun-07 2:25 
AnswerRe: SQL variable in MS Access Pin
Krish - KP2-Jun-07 2:30
Krish - KP2-Jun-07 2:30 
GeneralRe: SQL variable in MS Access Pin
Blue_Boy2-Jun-07 2:50
Blue_Boy2-Jun-07 2:50 
AnswerRe: SQL variable in MS Access Pin
Dave Kreskowiak2-Jun-07 9:28
mveDave Kreskowiak2-Jun-07 9:28 
GeneralRe: SQL variable in MS Access Pin
Ilya Verbitskiy5-Jun-07 4:49
Ilya Verbitskiy5-Jun-07 4:49 
QuestionSelect statement......, Pin
HemMagesh1-Jun-07 20:11
HemMagesh1-Jun-07 20:11 
AnswerRe: Select statement......, Pin
Krish - KP2-Jun-07 2:28
Krish - KP2-Jun-07 2:28 
QuestionStored procedure with a variable number of parameters Pin
Vadim Tabakman1-Jun-07 18:32
Vadim Tabakman1-Jun-07 18:32 
AnswerRe: Stored procedure with a variable number of parameters Pin
Arun.Immanuel2-Jun-07 7:56
Arun.Immanuel2-Jun-07 7:56 
GeneralRe: Stored procedure with a variable number of parameters [modified] Pin
Vadim Tabakman2-Jun-07 13:27
Vadim Tabakman2-Jun-07 13:27 
QuestionUsing Strongly typed Datasets and a Data Access Layer Pin
Drathmar1-Jun-07 7:29
Drathmar1-Jun-07 7:29 
AnswerRe: Using Strongly typed Datasets and a Data Access Layer Pin
Colin Angus Mackay1-Jun-07 9:59
Colin Angus Mackay1-Jun-07 9:59 
GeneralRe: Using Strongly typed Datasets and a Data Access Layer Pin
Paul Conrad1-Jun-07 10:14
professionalPaul Conrad1-Jun-07 10:14 
QuestionCan't search through Date Pin
Gamzun1-Jun-07 5:52
Gamzun1-Jun-07 5:52 
AnswerRe: Can't search through Date Pin
leckey1-Jun-07 6:14
leckey1-Jun-07 6:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.