Microsoft Office Tutorials and References
In Depth Information
Access Procedures
Figure 80 – Sample Form Layout
4. Now, you need to add the code to make things happen as described on
the form.
Select the FullName field with a single click. If the properties window is
not present, right-click for its pop-up menu, then choose properties.
5. Go to the Events tab in the Properties window. Double-click the field
after the Mouse up event to get the text Event Procedure and then press
the […] button to go to the code section.
Acs
The cursor will be between the lines:
Private Sub FullName_MouseUp(Button As Integer, Shift As Integer, X As
Single, Y As Single)¶
'paste code here¶
End Sub¶
' * * * * *
Private Sub FullName_MouseUp(Button As Integer, Shift As Integer, X As
Single, Y As Single)¶
'First initialize all fields by filling them with space¶
'When the user has made a wrong selection there can be data in one of
the fields that should be empty¶
Me.Title = ¶
Me.Initials = ¶
Me.MiddlePart = ¶
Me.LastName = ¶
Me.MiddlePart = ¶
 
Search JabSto ::




Custom Search