Lifeseeker
Registered User.
- Local time
- Yesterday, 22:25
- Joined
- Mar 18, 2011
- Messages
- 273
Hello,
I have a subform built on a main form.
In the subform, there are two columns, A and B. They are store texts.
For ease of data entry, I would like to be able to have Access check the first two characters of a string in column A, and if it is....for example, 02, then in column B I want it to say 2002.
If it is 00 in Column A, then I want column B to display 2000, etc. So if it works, it will make data entry a bit easier.
The texts in column A are also hyperlinked, but this doesn't matter does it?
I'm thinking I should use some kind of InStr function but not sure.
any thought/comment is much appreciated.
I have a subform built on a main form.
In the subform, there are two columns, A and B. They are store texts.
For ease of data entry, I would like to be able to have Access check the first two characters of a string in column A, and if it is....for example, 02, then in column B I want it to say 2002.
If it is 00 in Column A, then I want column B to display 2000, etc. So if it works, it will make data entry a bit easier.
The texts in column A are also hyperlinked, but this doesn't matter does it?
I'm thinking I should use some kind of InStr function but not sure.
any thought/comment is much appreciated.