Format as currecy for just the one current record

I have a form that is a datasheet view form.  There are two fields on the form.  One is Category (cboCategory) and the other one is NetAmount (txtNetAmount).  If Category = "Volume" then I want txtNetAmount to display as Currency But Just For That Record.

Right now if I select "Category" all of the Net Amounts display as currency in all of the records.  They need to display as Single, Standard, 2 decimals like the field is formatted in the table.

What am I doing wrong?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In a relational database the data types of all rows in a column are expected to be the same.  You seem to have some rows where the contents of a field are currency and other rows where the contents is still numeric but not currency.  Sounds like you are trying to make Access behave as a spreadsheet.  

I actually have an application where I need to do this.  The schema is a very rare Entity-Value-Pairs design.  The application supports an insurance company and in order to allow them to create new policy types with new data fields on the fly, the table that holds the policy detail fields has this layout:

UniqueID (autonumber PK0
PolicyID (foreign key to policy header)
FldID (foreign key to field definition table)
DataValue (actual contents such as 5/6/17, $3,500,00, and even 101 Main St)

If a new policy type requires a data field that we have never defined before, the user has to define it in the field table along with its attributes so the update form will know how the saved data needs to be formatted.  Then the field can be assigned to a policyType and used for data entry for a specific policy.

You can only do this if you store the data as text.  Then in the AfterUpdate event of the CONTROL, you apply the format based on some other field.  However, saving numeric data as text makes it very difficult to use for arithmetic and completely useless for relative value comparisons or sorting.

Conditional formatting does not support anything but font and color changes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SteveL13Author Commented:
Perfect explanation.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.