Hi,
I have an index list in my form (A-Z) for quick search on CustomerName field, think of it as quick scroll on iPhone Contacts but this one you have to click on each alphabet instead of swiping the screen.
So this listbox has A-Z and what I want is if user click on letter C, it goes to record with customer name begins with C.
In the listbox afterclick event, I have this:
but when I click on the list, it shows error: a macro set to one of the current field's property failed because of an error in FindRecord argument. Anyone can help with this? Or is there any better solution other than using FindRecord? Thanks
I have an index list in my form (A-Z) for quick search on CustomerName field, think of it as quick scroll on iPhone Contacts but this one you have to click on each alphabet instead of swiping the screen.
So this listbox has A-Z and what I want is if user click on letter C, it goes to record with customer name begins with C.
In the listbox afterclick event, I have this:
Code:
DoCmd.FindRecord Me.AlphList.Value, acAnywhere, False, acSearchAll, False, acAll, True
but when I click on the list, it shows error: a macro set to one of the current field's property failed because of an error in FindRecord argument. Anyone can help with this? Or is there any better solution other than using FindRecord? Thanks