S
Stapes
Hi
I have in a table a field PROFIT MARGIN, Data Type Number, Field Size
Single, Format Percent, Decimal Places 2.
On the Form that displays it, the Profit Margin field is defined as
Format Percent, Decimal Places 2.
When a value is entered in here, it comes out wrong. i.e. If I type in
39.00%, it redisplays as 3900%
So I added some code:
Profit_Margin = Profit_Margin / 100
That works. Until I run it in Access 2007.
I have to remove the code to make that right.
I am baffled.
Can I find out in code what version the program is running under and
then only run that code when necessary?
Stapes
I have in a table a field PROFIT MARGIN, Data Type Number, Field Size
Single, Format Percent, Decimal Places 2.
On the Form that displays it, the Profit Margin field is defined as
Format Percent, Decimal Places 2.
When a value is entered in here, it comes out wrong. i.e. If I type in
39.00%, it redisplays as 3900%
So I added some code:
Profit_Margin = Profit_Margin / 100
That works. Until I run it in Access 2007.
I have to remove the code to make that right.
I am baffled.
Can I find out in code what version the program is running under and
then only run that code when necessary?
Stapes