• Forms – creating a warning message (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Forms – creating a warning message (2000)

    Author
    Topic
    #416888

    One of my forms was created from an underlying table with just three columns regarding maintenance fees. If there is a maintenance fee owed, in other words an amount greater than 0 in the fees due field, I want a warning message to appear stating this. Can I creat a control box (not sure if using the correct word) in the form that has a rule such as “if field called dues owed amount is greater than $0, show this message.” As you probably have guessed I am not very familiar with Visual Basic, but can be walked through it. I hope this makes sense. Thank you. Dorothy

    Viewing 0 reply threads
    Author
    Replies
    • #933733

      If you want to display the warning on the form itself, you don’t need code. You can place a text box on the form with the following Control Source property:

      =IIf([Dues Owed]>0,"Note: there are fees due!")

      where Dues Owed is the name of the field. Make the text box transparent, with a transparent border, and set its Enabled property to No and Locked to Yes.

    Viewing 0 reply threads
    Reply To: Forms – creating a warning message (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: