Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / May 2007

Tip: Looking for answers? Try searching our database.

Validate other field = TRUE (color)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Schmidtnikov - 22 May 2007 17:48 GMT
I have a form with two fields that I would like to confirm that the values
are equal.

First field requires basic information about an invoice:

fld_Amount

Then I enter the billing information (the accounts I will charge) and that
sum's to a field:

frm_BillingTotal

I want frm_BillingTotal to maintain a white background (the default) if it =
fld_Amount; however, if frm_BillingTotal does not equal fld_Amount, then I
want frm_BillingTotal to turn red (or something that will call attention)

How can I do that???

Thanks
Schmidtnikov - 22 May 2007 18:31 GMT
nevermind.....I should have read more about conditional formatting before
posting.

> I have a form with two fields that I would like to confirm that the values
> are equal.
[quoted text clipped - 15 lines]
>
> Thanks
Marshall Barton - 22 May 2007 18:35 GMT
>I have a form with two fields that I would like to confirm that the values
>are equal.
[quoted text clipped - 11 lines]
>fld_Amount; however, if frm_BillingTotal does not equal fld_Amount, then I
>want frm_BillingTotal to turn red (or something that will call attention)

Use Conditional Formatting on the BillingTotal text box.
Select the Expression Is option:
    [fld_Amount] <> [frm_BillingTotal]
and select the desired BackColor.

Signature

Marsh
MVP [MS Access]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.