duklaprague
New member
- Local time
- Today, 23:33
- Joined
- May 30, 2007
- Messages
- 4
Hope someone can help with this.
I have a main form that lists records of tourist attractions contained in our own graphic database. Within the form there is also a subform that lists some fields from another table of further info, including an alternative name form.
In most cases the name forms match, but sometimes they differ - hence the need for both.
So basically, in my subform I'm trying to add a button that will automatically copy the name from the main form, and paste it into the name field in the subform.
I got close with a little macro :
1. Goto Control > Name
2. Run command > Copy
3. Goto Control > Any field in the main form
4. Run command > Paste
Which works great - it will happily jump out of the subform to the specified field in the main form, but isn't so happy to jump back into the subform.
Hope this makes sense, and there's a solution.
I have a main form that lists records of tourist attractions contained in our own graphic database. Within the form there is also a subform that lists some fields from another table of further info, including an alternative name form.
In most cases the name forms match, but sometimes they differ - hence the need for both.
So basically, in my subform I'm trying to add a button that will automatically copy the name from the main form, and paste it into the name field in the subform.
I got close with a little macro :
1. Goto Control > Name
2. Run command > Copy
3. Goto Control > Any field in the main form
4. Run command > Paste
Which works great - it will happily jump out of the subform to the specified field in the main form, but isn't so happy to jump back into the subform.
Hope this makes sense, and there's a solution.
Last edited: