A
Adam Thwaites
I have a continous form running off a query.
The first text box is called txtFrom but for some reason when I try to make
code for it refers to the text box by the field it looks at, in this case
'From'. The are 3 records being shown on this continous form and the text box
for each record is called 'From'. I want to make it so when I click on one of
the text boxes it turns red, but at the moment all 3 turn red.
Private Sub From_GotFocus()
From.BackColor = vbRed
End Sub
Is there a way to specify one text box at a time or is this impossible with
continous forms?
all 3 text boxes change colour.
--
Adam Thwaites
Access Database Designer
adam.*spamless*[email protected]
Manchester, UK
(I have no access to other sites apart from microsoft.com so posting
external links is no use to me)
The first text box is called txtFrom but for some reason when I try to make
code for it refers to the text box by the field it looks at, in this case
'From'. The are 3 records being shown on this continous form and the text box
for each record is called 'From'. I want to make it so when I click on one of
the text boxes it turns red, but at the moment all 3 turn red.
Private Sub From_GotFocus()
From.BackColor = vbRed
End Sub
Is there a way to specify one text box at a time or is this impossible with
continous forms?
all 3 text boxes change colour.
--
Adam Thwaites
Access Database Designer
adam.*spamless*[email protected]
Manchester, UK
(I have no access to other sites apart from microsoft.com so posting
external links is no use to me)