Hi Kerry....
I am assuming a bunch of things here, so you will have to modify this.....
If [type]="+" Then
Me.bought.SetFocus
Else If [type] = "-" Then
Me.sold.SetFocus
Else
MsgBox "Please enter a value in Type"
End If
Then in you properties for the bought and sold textboxes, put in the On_Exit
event:
If [bought] <= 0 then
MsgBox "You must enter an amount"
Me.bought.SetFocus
End If
Exit Sub
This is were you check that the user actually entered an amount. Again, I am
assuming things here, so you will have to modify the code to suit your data
types.
HTH
> Hi
>
[quoted text clipped - 13 lines]
>
> Kerry