Re: Format issue ... 2 decimal places displayed?
- From: BobC <Bob.NoSpamm@xxxxxxx>
- Date: Thu, 21 Feb 2008 23:51:45 -0500
Jeanette,
I learned something! ... here is the SQL View:
SELECT tblNewReten.RECNO, tblNewReten.HA, tblNewReten.POLYR, tblNewReten.PROPRET, tblNewReten.LIABRET, tblNewReten.LIABAGG, tblNewReten.PROPAGG, tblNewReten.MHAPDED, tblNewReten.MEMDED, tblNewReten.AUTOPHYDED, tblNewReten.TFDED, tblNewReten.EPLDED
FROM tblNewReten, tblHousingNames;
Jeanette Cunningham wrote:
Bob,.
to get sql of your query, open the query in design view, then select Query | SQL view from the menu.
Copy and paste the sql into a post here.
Jeanette Cunningham
"BobC" <Bob.NoSpamm@xxxxxxx> wrote in message news:niavj.405$XO4.67@xxxxxxxxxxxxxxxJeanette,
It's getting rather late and I have to work tomorrow ... It may be tomorrow evening before I can get back?
In any case ... Thanks for your time and efforts!
Bob
Jeanette Cunningham wrote:Bob,
I assume that you understand what we are trying to say. The fact that after
you make a selection in the combo it is formatted correctly suggests that
you applied the format to the combo box.
Would you post the sql of the row source query, how many columns the combo
has and the bound column.
I haven't found that using a distinct query causes problems like that.
Jeanette Cunningham
"BobC" <Bob.NoSpamm@xxxxxxx> wrote in message
news:gp9vj.402$XO4.338@xxxxxxxxxxxxxxx
Jeanette,
Maybe I am incorrectly stating the problem or am misunderstanding what you
folks are trying to get across to me?
But, I believe I have done what both you and Allen have suggested. I am
thinking that the portions of the combo box properties that you are
referring to applies to the text box portion of the combo box and does not
affect the momentary displayed list of the row source during the selection
process.
I will use one of the unbound combo boxes as an example ...
The original source of the data is a field of a table containing years
(2001, 2003, 2007, 2001, etc.). Since the years are not unique; I am
using a unique query as my row source to the combo boxes.
The problem is that while I am in the process of selecting (i.e. holding
down the drop down arrow on the right side of the combo box to select from
the row source); in this example, a specific year from a list of years;
the year will display as e.g 2008.00 as one of the choices ... until I
release the cursor and the 2008 ('without decimals') shows up in the text
box portion of the combo box. The display of years with 2 decimal places
seems undesirable, and thus the basis of my issue.
I have a hunch that the output of the unique query may have something to
do with this issue, but a display of the unique query output does not show
and decimal points in the years.
Sorry to be a pain on something that is possibly due to my
misunderstanding of what you are trying to convey?
Bob
Jeanette Cunningham wrote:Bob,
to format the combo,
select the combo, on the property dialog, format tab, the first property
is format - this is where you set the format, you can use Allen's example
of format fixed, choose fixed in the format drop down. On the next line,
choose 0 for decimal places. Save the changes to your form.
Jeanette Cunningham
"BobC" <Bob.NoSpamm@xxxxxxx> wrote in message
news:ib8vj.4235$f8.1391@xxxxxxxxxxxxxxx
After I select a row source, the number in the text box does not display
any decimal places ... it is while I have my cursor on the tear drop to
select from the drop-down choices that it is displaying two decimal
places. Since one of the combo boxes is selecting from a choice of
'years' such as 2008; the drop down choices list '2008.00', it is
distracting.
Allen Browne wrote:Set these properties for your text box:
Format Fixed
Decimal Places 0
- References:
- Format issue ... 2 decimal places displayed?
- From: BobC
- Re: Format issue ... 2 decimal places displayed?
- From: Allen Browne
- Re: Format issue ... 2 decimal places displayed?
- From: BobC
- Re: Format issue ... 2 decimal places displayed?
- From: Jeanette Cunningham
- Re: Format issue ... 2 decimal places displayed?
- From: BobC
- Re: Format issue ... 2 decimal places displayed?
- From: Jeanette Cunningham
- Re: Format issue ... 2 decimal places displayed?
- From: BobC
- Re: Format issue ... 2 decimal places displayed?
- From: Jeanette Cunningham
- Format issue ... 2 decimal places displayed?
- Prev by Date: Transparent tabcontrol background - mixed results
- Next by Date: Re: Format issue ... 2 decimal places displayed?
- Previous by thread: Re: Format issue ... 2 decimal places displayed?
- Next by thread: Re: Format issue ... 2 decimal places displayed?
- Index(es):
Relevant Pages
|
Loading