ShaneBrennan
Programmer
Evening Everyone.
I've written an email screen (in Access XP), the user can write any text in the body of the email and can use special "Merge Codes" that will be swapped with a record details before sending. E.g. <ClientName>, <ProjectNumber>, etc.
All this works fine, but the user has to type in the codes which can be a pain. What I'm looking for is a way to speed up this entry of codes. I have 2 ideas but haven't got a clue where to start.
Idea 1 (probably the easiest)
Have a list box next to the text are. And get the user to double on the code they want to use, the return the cursor back to the text box after the code.
To do this I assume I will need to know the Current cursor position within the text box when I leave it, the length of the code and where the new cursor position needs to go and the commands used to put it there.
Idea 2 Ideal Solution
Use a shortcut menu to insert the codes at the current cursor position.
Has anyone got an example of one of the above or an guidance to point me in the right direction.
Thanks in advance for any help given
Shane Brennan
I've written an email screen (in Access XP), the user can write any text in the body of the email and can use special "Merge Codes" that will be swapped with a record details before sending. E.g. <ClientName>, <ProjectNumber>, etc.
All this works fine, but the user has to type in the codes which can be a pain. What I'm looking for is a way to speed up this entry of codes. I have 2 ideas but haven't got a clue where to start.
Idea 1 (probably the easiest)
Have a list box next to the text are. And get the user to double on the code they want to use, the return the cursor back to the text box after the code.
To do this I assume I will need to know the Current cursor position within the text box when I leave it, the length of the code and where the new cursor position needs to go and the commands used to put it there.
Idea 2 Ideal Solution
Use a shortcut menu to insert the codes at the current cursor position.
Has anyone got an example of one of the above or an guidance to point me in the right direction.
Thanks in advance for any help given
Shane Brennan