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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do not want seconds displayed in a grid

Status
Not open for further replies.

gringoloco

Programmer
Sep 18, 2003
7
GB
I have a grid which is displaying a datetime field. I do
not want to display the seconds portion on the data.

(The data is coming from a remote view - backend database is firebird)

I have tried setting the seconds to off but this does not make any difference. The only way I have found is to make the field width smaller so as to hide it.

I presume there is a better way......?
 
gringoloco,

This is surprising. SET SECONDS OFF should do the trick, unless you have something in the Format or InputMask properties to override it. You could try clearing those properties (these are properties of the textbox within the column of the grid).

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top