Popup calculator - prime with an amount

  • Thread starter Accdev via AccessMonster.com
  • Start date
A

Accdev via AccessMonster.com

I've been using a popup calculator (basCalc) that came with an Access
Developer's Handbook (Getz,Litwin,Gibert) for several years. I often use it
in an amount field....double-click and the calculator pops up and the result
goes back into the amount field. I'd like to be able to programmatically
have an amount entered when the calculator pops up.
For example, say that there are two side by side controls. The first is
GrossAmount and the second is Discount. When the Discount calculator pops up
I'd like to have the amount from the GrossAmount field already entered so
that the user doesn't have to re-enter it in calculating the Discount. I
think if I spent a day or so going over the code in basCalc that I could
figure out how to do it, but I never seem to find the time. Has anyone done
this before? Or is there another popup calculator around that does this
simply?
 
R

Ron Weiner

You might want to have a look here: http://www.worksrite.com/Calc.htm Fo a
different popup calculator.

The calculator works by binding itself to a text box on your form, and by
default it displays the value in the bound text box when it is opened and
resets that value when it is closed. If this text box was hidden and seeded
with the appropriate starting value you could popup the calculator
displaying the initial value, and when it closed you could move the ending
value in the hidden text box over to the real text box and you are good to
go.
 
A

Accdev via AccessMonster.com

Looks good....I'll give it a try. Thanks!

Ron said:
You might want to have a look here: http://www.worksrite.com/Calc.htm Fo a
different popup calculator.

The calculator works by binding itself to a text box on your form, and by
default it displays the value in the bound text box when it is opened and
resets that value when it is closed. If this text box was hidden and seeded
with the appropriate starting value you could popup the calculator
displaying the initial value, and when it closed you could move the ending
value in the hidden text box over to the real text box and you are good to
go.
I've been using a popup calculator (basCalc) that came with an Access
Developer's Handbook (Getz,Litwin,Gibert) for several years. I often use it
[quoted text clipped - 9 lines]
this before? Or is there another popup calculator around that does this
simply?
 

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

Top