I am using Delphi 6. I am rather new to this.
Whenever an empty MySQL date field (not really empty but 000-00-00) is displayed in db-aware controls (dbgrid and dbedit), it is displayed as '12/30/1899'. Is there way to make the controls display and empty/blank field instead of 12/30/1899 ?
I get an error when importing a csv file.
Query OK, 16394 rows affected, 176 warnings (0.27 sec)
Records: 16394 Deleted: 0 Skipped: 0 Warnings: 176
LOAD DATA LOCAL INFILE '/path/janfeb2008.csv'
into table tablename
fields terminated by ','
lines terminated by '\r\n'
(
ticket_number,
title...
I'm writing an application in Delphi 6. Last time I saved the project everything was working, now when loading I get an error.
When loading form1.pas I get 'Invalid property value'.
How can I determine what is causing this?
I am rather new to this so please keep that in mind when answering...
I am execute the following query:
select priority,(avg(datediff(dateresolve,dateoccurred)) from table group by priority.
if I execute this in mysql I get:
+----------+--------------------------------------------+
| priority | avg(datediff(date_resolved,date_occurred)) |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.