E
eagle
I have a drop down list in a grid, and the data comes from a sql query.
When I run the query in sql, the format of the data is nicely aligned, but
in the drop down, it is all misaligned. What can I do to get this to align
properly?
This is my query:
select id, str(Factor, 3, 1) + ' ' + ltrim(Convert(varchar, FactorDate,
101)) + substring(Convert(varchar, FactorDate, 100), 12, 6) + ' ' +
Right(Convert(varchar, FactorDate, 100), 2) as FactorInfo from tblFactors
This is the way the result looks in query analyizer (the numbers are right
aligned, the date is aligned left and the time is right aligned).
1.0 01/02/2007 12:00 AM
1.0 01/01/2006 12:00 AM
1.0 01/10/2006 12:00 AM
38 01/01/2007 2:00 PM
Thanks for your help.
When I run the query in sql, the format of the data is nicely aligned, but
in the drop down, it is all misaligned. What can I do to get this to align
properly?
This is my query:
select id, str(Factor, 3, 1) + ' ' + ltrim(Convert(varchar, FactorDate,
101)) + substring(Convert(varchar, FactorDate, 100), 12, 6) + ' ' +
Right(Convert(varchar, FactorDate, 100), 2) as FactorInfo from tblFactors
This is the way the result looks in query analyizer (the numbers are right
aligned, the date is aligned left and the time is right aligned).
1.0 01/02/2007 12:00 AM
1.0 01/01/2006 12:00 AM
1.0 01/10/2006 12:00 AM
38 01/01/2007 2:00 PM
Thanks for your help.