Not all field is visible?
Posted: 20.04.2009, 00:06
Using Delphi7, Zeos components.
-Datasource, ZConnection, ZQuery
I have created a database
And in a database I table, with 1 row;
Here is the code;
CREATE TABLE TABLENAME (
UKOD INT(4) ZEROFILL NOT NULL,
UNEV VARCHAR(50) NOT NULL,
UNORCA VARCHAR(20) NOT NULL,
UCIM VARCHAR(60) NOT NULL,
UMEGYE VARCHAR(15) NOT NULL,
UORSZAG VARCHAR(30) NOT NULL,
UDT INT(6),
UDO INT(6),
UWORK INT(1) NOT NULL,
UCNUM INT(4) NOT NULL,
UCDATE DATE NOT NULL,
PRIMARY KEY (UKOD)
);
And than:
INSERT INTO UGYFELEK
VALUES(2,'something','something','something','Harghita','Romania',0,0,1,15,'08/02/03');
I'm used dbGrid
when I want to use 'Select * from TABLENAME'
then I can see only the first 5 fields on my dbgrid.
Where should be the problem?
-Datasource, ZConnection, ZQuery
I have created a database
And in a database I table, with 1 row;
Here is the code;
CREATE TABLE TABLENAME (
UKOD INT(4) ZEROFILL NOT NULL,
UNEV VARCHAR(50) NOT NULL,
UNORCA VARCHAR(20) NOT NULL,
UCIM VARCHAR(60) NOT NULL,
UMEGYE VARCHAR(15) NOT NULL,
UORSZAG VARCHAR(30) NOT NULL,
UDT INT(6),
UDO INT(6),
UWORK INT(1) NOT NULL,
UCNUM INT(4) NOT NULL,
UCDATE DATE NOT NULL,
PRIMARY KEY (UKOD)
);
And than:
INSERT INTO UGYFELEK
VALUES(2,'something','something','something','Harghita','Romania',0,0,1,15,'08/02/03');
I'm used dbGrid
when I want to use 'Select * from TABLENAME'
then I can see only the first 5 fields on my dbgrid.
Where should be the problem?