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,
Steve
Start Free Trial