Solved

Access vba visual field linking

Posted on 2014-04-17
2
606 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 37

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

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…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

751 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