seanog2001
Registered User.
- Local time
- Today, 06:51
- Joined
- Jun 26, 2006
- Messages
- 67
Ive a list box on a form which contains a persons name address and number.
when i click on a persons name i want to be able to fill their details into a coresponding text box ie
Click on john smith athlone westmeath 5555555
and it fills text boxes
firstname
lastname
address1
address2
number
I used this piece of code
Dim rs As Object
Set rs = Me.RecordsetClone
rs.FindFirst "[CandidateNo] = " & Str(Me![List8])
Me.Bookmark = rs.Bookmark
but it crashes and gives me an error
'Type mismatch'
any help?
when i click on a persons name i want to be able to fill their details into a coresponding text box ie
Click on john smith athlone westmeath 5555555
and it fills text boxes
firstname
lastname
address1
address2
number
I used this piece of code
Dim rs As Object
Set rs = Me.RecordsetClone
rs.FindFirst "[CandidateNo] = " & Str(Me![List8])
Me.Bookmark = rs.Bookmark
but it crashes and gives me an error
'Type mismatch'
any help?