Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 29 Mar 2024, 02:13

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 23 Feb 2020, 07:43 
Offline

Joined: 23 Feb 2020, 07:37
Posts: 6
Please set the statement, dbgrideh, pop-up calculator, pop-up date selection, cell display database picture, thank you


Top
 Profile  
 
PostPosted: 23 Feb 2020, 10:37 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello.
Please rephrase your question.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 23 Feb 2020, 11:48 
Offline

Joined: 23 Feb 2020, 07:37
Posts: 6
EhLibSupport wrote:
Hello.
Please rephrase your question.


DBGridEh

1.Column display date control
2.database insert into value=null
3.display picture
4.Date legal query

TADOConnection+TADOQuery

How to set statements,Thank you


Top
 Profile  
 
PostPosted: 23 Feb 2020, 13:08 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Quote:
1.Column display date control

The grid automatically creates an editor with a drop-down calendar if the field (Column.FieldName) is of type TDateTimeField or TDateField.
You cannot insert external controls into the grid cell.

Quote:
2.database insert into value=null

Grid only insert values to DataSet.
DataSet must provide data transfer to the DataBase.

Quote:
3.display picture

Set DBGridEh.DrawGraphicData = True and
The Field should be a TBlobField type and Field.BlobType = ftGraphic

Quote:
4.Date legal query

Sorry, but I do not understand this question.
What is legal query

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 23 Feb 2020, 15:55 
Offline

Joined: 23 Feb 2020, 07:37
Posts: 6
EhLibSupport wrote:
Quote:
1.Column display date control

The grid automatically creates an editor with a drop-down calendar if the field (Column.FieldName) is of type TDateTimeField or TDateField.
You cannot insert external controls into the grid cell.

Quote:
2.database insert into value=null

Grid only insert values to DataSet.
DataSet must provide data transfer to the DataBase.

Quote:
3.display picture

Set DBGridEh.DrawGraphicData = True and
The Field should be a TBlobField type and Field.BlobType = ftGraphic

Quote:
4.Date legal query

Sorry, but I do not understand this question.
What is legal query



Column display date control I don't want to show the time, how to set it,Settings can only be selected and cannot be entered and the Text type Column,Thank you very much


Top
 Profile  
 
PostPosted: 24 Feb 2020, 21:52 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

Quote:
Column display date control I don't want to show the time, how to set it,Settings can only be selected and cannot be entered and the Text type Column,Thank you very much


Use Column.DisplayFormat property

Column.DisplayFormat := 'DD/MM/YYYY';

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group