Advertisement

03.30.2008 at 05:55AM PDT, ID: 23280635
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

Continuous Forms, "Form_Current()" and .Visible command

Asked by impactuser in Access Forms

Tags: , , ,

I am currently trying to alter my database to represent data better...

What I have currently got is a technical database with various tabs with client information.  One of these is a broadband information tab.

In the past, I used to have a single form displayed and users of the database could scroll through the details (IE if they had more than one broadband connection...).  It also included a simple script that would show if the broadband was cancelled via this code:

Private Sub Form_Current()
    If Len(Me.Cancellation_Date & "") = 0 Then
        Me.Label77.Visible = False
    Else
        Me.Label77.Visible = True
    End If
End Sub

The above script functions like this:  If there is nothing on the cancellation_date field then it does not display a message, otherwise it will, simple, straightforward and very effective!

I have changed the way the database looks so that it displays a list of available broadband details in a continuous form where the users can see quick information and an option to press a view button to expand....

The main problem is when I am trying to get the message to report that the broadband is not active.  It either does not display anything or displays it for all the connections - even if they do not have a data in the cancellation field!!!   To show this I have attached an image to explain better.  The first line is the line that is "NOT ACTIVE" as it has a cancellation date... however the 2nd line is an active line and does not have a cancellation date... however it still displays the NOT ACTIVE when it should be hidden.

Is anybody aware of limitations of the .visible function in Continuous Forms mode or is there another solution I could implement?

Thanks,
SteveStart Free Trial
Attachments:
 
Broadband tab example
Broadband tab example
 
[+][-]03.30.2008 at 06:27AM PDT, ID: 21240684

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Forms
Tags: Microsoft, Access, 2003, Continuous Forms, "Form_Current()" and .Visible command
Sign Up Now!
Solution Provided By: peter57r
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.30.2008 at 06:44AM PDT, ID: 21240725

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628