Not Aligning

D

DS

Is there something here that is preventing the data in the textbox
"TxtSub" from aligning hard right. The align property is set to Right,
the format is currency. When I select center align the data moves to
the center, but when I select right align it's about 2 characters from
aligning hard right.
Any help appreciated.
Thanks
DS

Forms!CPreview!TxtSub = Nz(DSum("BasePrice*QtyPrice",
"SalesDetailsMoney", "[SalesID]=Forms!CheckAction!TxtSalesID"), 0)
 
J

Jeff Boyce

Not sure on this, but since a format that could be applied could have
negative values in parentheses, maybe that extra "space" on the right allows
for a close-parenthesis, while still aligning the amount.

Just a thought...

Jeff Boyce
Microsoft Office/Access MVP
 
D

DS

Jeff said:
Not sure on this, but since a format that could be applied could have
negative values in parentheses, maybe that extra "space" on the right allows
for a close-parenthesis, while still aligning the amount.

Just a thought...

Jeff Boyce
Microsoft Office/Access MVP

Is there something here that is preventing the data in the textbox
"TxtSub" from aligning hard right. The align property is set to Right,
the format is currency. When I select center align the data moves to the
center, but when I select right align it's about 2 characters from
aligning hard right.
Any help appreciated.
Thanks
DS

Forms!CPreview!TxtSub = Nz(DSum("BasePrice*QtyPrice", "SalesDetailsMoney",
"[SalesID]=Forms!CheckAction!TxtSalesID"), 0)
Thanks Jeff.
I found or rather fixed the problem. I did a DLookUp and pulled the
number directly from the source and that worked!
DS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DSum Problem 4
SQL Woes 4
Setting Textbox with SQL 2
Convert to SQL 4
DSUM Not Working 5
aligning objects on a slide 2
Newbie: Aligning Labels and TextBoxes on form 4
order form not working 1

Top