Hi,
I'm currently moving my application from 6.5 to 6.8 and I've run into the date problems (string was not recognised as a valid datetime). There are a few entries on the forum with no precise answers.
My code is as follows. The error is when I do a dateparse on the field that is a date.
dbcmd.CommandText = "SELECT * FROM brigade"
dbread.Value = dbcmd.ExecuteReader
If dbread.ReadNextRow = True Then
DateFormat("yyyy/mm/dd")
SQLdbdate = DateParse(dbread.GetValue(18))
DateFormat("dd/mm/yyyy")
Suggestion anyone?
Thanks.
MarkB
I'm currently moving my application from 6.5 to 6.8 and I've run into the date problems (string was not recognised as a valid datetime). There are a few entries on the forum with no precise answers.
My code is as follows. The error is when I do a dateparse on the field that is a date.
dbcmd.CommandText = "SELECT * FROM brigade"
dbread.Value = dbcmd.ExecuteReader
If dbread.ReadNextRow = True Then
DateFormat("yyyy/mm/dd")
SQLdbdate = DateParse(dbread.GetValue(18))
DateFormat("dd/mm/yyyy")
Suggestion anyone?
Thanks.
MarkB