|
-
Nov 2nd, 1999, 01:22 AM
#1
Thread Starter
Dazed Member
I have a simple form with two lables and two text boxes with a data control at the bottom of the form to step through a data base that i have.
The code i have works if placed directly in the data control, but i want to place it in a standard module and call it from the first module.
Prviate Sub Data1_ Valadate(Action as Integer, Save As Integer)
Call Module1.Update
End Sub
NOW I HAVE THIS IN A STANDARD MODULE
Sub Update()
If Save = True Then
If MsgBox(" Are you sure that you want to make these changes", vbYesNo + vbDefaultButton2 + vbQuestion)= vbNo Then
Save = False
End If
End If
End Sub
Thanxxxxxxxx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|