kishanpatel50
Registered User.
- Local time
- Today, 13:30
- Joined
- Sep 8, 2006
- Messages
- 11
hi
im trying to look for code that will look in the MemberID field in MembersAndDaughter table and calculate the highest number less than 1000.
i think i need to use the DMAX function and tried this but didnt work
Private Sub Test_Click()
Dim memid As Integer
memid = DMax( MembersAndDaughter.MemberID, <1000 )
End Sub
im trying to look for code that will look in the MemberID field in MembersAndDaughter table and calculate the highest number less than 1000.
i think i need to use the DMAX function and tried this but didnt work
Private Sub Test_Click()
Dim memid As Integer
memid = DMax( MembersAndDaughter.MemberID, <1000 )
End Sub