RickHunter84
Registered User.
- Local time
- Today, 12:40
- Joined
- Dec 28, 2019
- Messages
- 85
Hello all,
i have a quick question, I'm playing with a database trying things and i came across something that i wasn't expecting, here is the issue:
i noticed that ms access provides has an option to generate a custom autonumber, so i switched on (input custom sequence)to try the functionality.
when i try to open another form (by searching with vba) using the custom autonumber for example: G10016, dlookup doesn't find it. i looked at the table that stores the information and the value gets "stored" as 10016, so next i naturally tried searching for 10016, it didn't find it either, but when i use 16, it works.
any idea on how to have access recognize the whole value "G10016"? let me know if further context is required.
thank you in advance.
Rick
i have a quick question, I'm playing with a database trying things and i came across something that i wasn't expecting, here is the issue:
i noticed that ms access provides has an option to generate a custom autonumber, so i switched on (input custom sequence)to try the functionality.
when i try to open another form (by searching with vba) using the custom autonumber for example: G10016, dlookup doesn't find it. i looked at the table that stores the information and the value gets "stored" as 10016, so next i naturally tried searching for 10016, it didn't find it either, but when i use 16, it works.
any idea on how to have access recognize the whole value "G10016"? let me know if further context is required.
thank you in advance.
Rick
Last edited: