?
Solved

Access vba visual field linking

Posted on 2014-04-17
2
Medium Priority
?
620 Views
Last Modified: 2014-04-18
I'm building an access form where I want to give the user the ability to link fields between two tables, just like what is offered in the query design view.

Is there something, i.e. an ActiveX control, that will display the field list of two tables and allow mouse-drag linking?

Thanks.
0
Comment
Question by:Phish_Head
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
PatHartman earned 900 total points
ID: 40007857
Yes and No.
One of the options of a combo/listbox is to show the field list of the table/query.  That's the yes part.  The No part is there is no built in drag and drop feature.  You will need to code your own.  For something like this, I don't actually implement drag and drop.  I use two multi-select listboxes with arrows between them - (>, >>, <, <<)  The double arrows bring everything one way or the other.  The single arrows move the selected items.
0
 

Author Closing Comment

by:Phish_Head
ID: 40008725
Thanks, that's what I thought.  I'm currently using a combination of listboxes and nodes for the mouse drag which is close but I didn't know if there was a specific solution to replicate the query designer events.
Thanks for the help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question