Listbox number format (1 Viewer)

ctaylor

Registered User.
Local time
Today, 22:40
Joined
Feb 13, 2001
Messages
18
I have a listbox which has a field bound to a table.

The values in the table are recorded with 4 digit precision, the values in the listbox are displayed with only 2 digit precision.

How do I get the listbox to display 4 digit precision numbers?
 

D-Fresh

Registered User.
Local time
Today, 22:40
Joined
Jun 6, 2000
Messages
225
You should set the format to display four decimal places in the SQL statemnt in your rowsource. Go to the SQL builder in the row source field of the properties sheet. In the field that you're looking for the decimals put this as the field Name..

NewNumber: format([OldNumber],"#.0000")

NewNumber will be the newly formatted detail and OldNumber is the old field that only displayed to two decimals. Hope this helps.

Doug
 

ctaylor

Registered User.
Local time
Today, 22:40
Joined
Feb 13, 2001
Messages
18
Thanks!

This is EXACTLY what I was looking for!
 

Users who are viewing this thread

Top Bottom