Solved

Access vba visual field linking

Posted on 2014-04-17
2
614 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 38

Accepted Solution

by:
PatHartman earned 300 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

617 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