marcuscoker
Registered User.
- Local time
- Today, 06:56
- Joined
- Sep 28, 2005
- Messages
- 49
Hi
Was hoping that somebody would be able to help me with this. I have a continuous form showing all the records with a button that allows the user to click through and edit a particular record in the list. What I was hoping to do is change the colour of the detail background if a value of a particular record is 10.
I have used the following code on the onopen event
Dim mylength
mylength = Me.txtlength.Value & ""
If mylength = 10 Then
Me.Detail.BackColor = "0"
End If
This seems to see that the first record has a value of 10 and makes the whole detail black, whereas I just wanted the area between the two dividing lines to be black covering the record in question. If anybody can help with this that would be great.
Thanks
Marcus
Was hoping that somebody would be able to help me with this. I have a continuous form showing all the records with a button that allows the user to click through and edit a particular record in the list. What I was hoping to do is change the colour of the detail background if a value of a particular record is 10.
I have used the following code on the onopen event
Dim mylength
mylength = Me.txtlength.Value & ""
If mylength = 10 Then
Me.Detail.BackColor = "0"
End If
This seems to see that the first record has a value of 10 and makes the whole detail black, whereas I just wanted the area between the two dividing lines to be black covering the record in question. If anybody can help with this that would be great.
Thanks
Marcus