J
JennyM
Guest
As of two weeks ago it had never occurred to me that building a database wasn't impossible. I've put together a very simple dbase using my own ingenuity and looking up the Office Assistant (sometimes he's useful).
However, I'm stuck - there's 4 days left in my assignment and I wanted to do the following - can somebody help, I appreciate any assistance given. Thankyou.
1) Change BackColour of a text box
I want to install an event procedure that will change the BackColour of three text boxes based on information entered in only one of them.
Eg: 'Date entered in "Archived", triggers a colour change, and for "Box" and "Destruction" as well '
2) Display Message on Exit
Also I want to have a message displayed only when it is recognised that the text box has Null value. This is what I've put together so far and I get a response saying it doesn't know where the procedure ends.
(Text Box "Data Code" can not be Required - I want to be able to set up a Warning to mearly 'encourage'.)
Private Sub Data_Code_Exit (Cancel As Integer)
Beep
If IsNull ([DataCode]) Then
With Assistant.NewBalloon
.Heading = "Wait !"
.Text = "Is it OK to leave Data Code Blank?"
.Show
If NotNull ([DataCode]) Then
Else
Exit Sub
End If
Stop
However, I'm stuck - there's 4 days left in my assignment and I wanted to do the following - can somebody help, I appreciate any assistance given. Thankyou.
1) Change BackColour of a text box
I want to install an event procedure that will change the BackColour of three text boxes based on information entered in only one of them.
Eg: 'Date entered in "Archived", triggers a colour change, and for "Box" and "Destruction" as well '
2) Display Message on Exit
Also I want to have a message displayed only when it is recognised that the text box has Null value. This is what I've put together so far and I get a response saying it doesn't know where the procedure ends.
(Text Box "Data Code" can not be Required - I want to be able to set up a Warning to mearly 'encourage'.)
Private Sub Data_Code_Exit (Cancel As Integer)
Beep
If IsNull ([DataCode]) Then
With Assistant.NewBalloon
.Heading = "Wait !"
.Text = "Is it OK to leave Data Code Blank?"
.Show
If NotNull ([DataCode]) Then
Else
Exit Sub
End If
Stop