Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

True DB Grid problems

Status
Not open for further replies.

ndevriendt

Programmer
Jan 8, 2002
74
BE
Hello

I write a program in Visual Basic and work with the Control True DB Grid. With this True DB Grid I have 2 problems.

My first problem is: My grid have two columns. I want that the second column
is right aligned. I have set the alignment properties of the column on the right.
But when I select a record only the selected record is shown at the left side instead of the right side and this only for the current record.

Does somebody have an answer on this ?

My second problem is with dates.
The data that is showned in the grid is the result
of a select statement of SQL Server:

select description,from_date,to_date,Price from Tarif

In the grid he shows me the dates in the format MM/dd/yyyy in stead of dd/MM/yyyy. How can I show this in the Grid in the format dd/MM/yyyy.

Can somebody help me with this

Thank you for your time and answer

Devriendt Nico
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top