Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using currency in an expression

Status
Not open for further replies.
Joined
Jun 3, 2002
Messages
2
Location
US
OK, here's what I've got. I'm new to this program, doing everything through macros, no scripts at this point. I need to perform an expression using currency. I have set a conditional macro to run, like this
If ("WRE 1 Amount">$99 is true run macro Show Over $99 dialog

What's happening is that regardless of WHAT amount I put in the WRE 1 Amount field, the dialog box pops up. What am I doing wrong?

I have defined the WRE 1 Amount field as a currency field.
Any ideas?
 
You may have formatted the fieldbox to display the number as currency but the underlying field type is numeric. Drop the $ sign from the Run If condition and it should be OK.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top