473,419 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,419 developers and data experts.

TIP: Drag & Drop with Database Objects

isladogs
456 Expert Mod 256MB
I first wrote about this back in Jan 2018 at another forum.

It appears that the following info is not widely known, even amongst experienced developers, so I'm mentioning it again in other places.
In fact, after hearing about it from me, Mike Wolfe has just written an article on the subject Hidden Feature: Drag and Drop Access Objects Between Files (nolongerset.com).

After almost 20 years using Access, it amazes me that I still find out new things all the time...

1. Transfer objects between databases using drag & drop
In the past, whenever I wanted to copy objects to a new database, I always did so by importing or exporting using the usual methods
By chance, a few years ago I discovered you can drag & drop as well! MUCH easier...!
Holding down Shift & Control allows multi-select in the usual way.

This method allows you to drag and drop any object from the navigation pane of one database into another.

The only drawback I can see is that linked tables in the source database become local tables in the destination database....which may not be what you want.
Holding down Ctrl or Alt or Shift etc has no effect on this behaviour. A work-round to this is available but it is far from intuitive....
Drag the linked table(s) across to the other database a second time. This time Access will ask you what to do with the table(s) ...select linked table and the local table will be replaced by a linked table.

If this is also a "well I never knew that" moment for you, do have a look at the two linked videos which show this in use - not quite Oscar winning standard on this occasion
DragDropDBObjects
DragDrop2

And if the rest of you already knew you could do this ... perhaps it just proves how little I really know.

2. Access object shortcuts
On a similar theme, if you drag any Access object such as a table onto the desktop, a shortcut is created in the desktop. The table shortcut will have a suffix of .MAT.
When the shortcut is double-clicked, the database opens directly to the table.
Or you can right click to open in design view etc.

This feature works for any Access object e.g. Form shortcut .MAF; Query .MAQ; Report .MAR; Module .MAD etc. In fact there are 10 different shortcut types as shown below (plus a rather strange file type .MAU)



I've no idea what the diagram object is that would give a .MAG shortcut ...nor do I know what a .MAU file is.
Personally, the only time I’ve ever found this shortcut feature useful is for quick access to items in a DEMO session.

UPDATE:
I've just uploaded a video on this topic to my Isladogs on Access You Tube channel
Dec 4 '21 #1
1 18227
isladogs
456 Expert Mod 256MB
For info, a member of the Access team informed me that both .MAG shortcuts and .MAU files refer to a long deprecated Access feature: Data Access Pages. That was a very early attempt to put Access on the web back in Access 2000.
Dec 12 '21 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: srikanth | last post by:
Hi all, I have an requirement in one of my projects. We have one aspx page, in that we have two frames, in each frame having a tree structure control(dynamic data). In the left Frame we are...
1
by: Karsten Schramm | last post by:
Hi, if I drag an Outlook.MailItem to a Windows-Explorer window a <subject>.msg file will be created. Now I try to drag & drop a mail item to my own WinForm app. Unfortunately it doesn't work....
0
by: David Winter | last post by:
I have a particular application that requires reordering objects by drag and drop, and I would like to do this with a web frontend. To be more precise: There are headlines and paragraphs stored...
2
by: Grey | last post by:
I need to design a workflow application with C#. I want to design an UI with some workflow components which they can be drag & drop anywhere in order to design the workflow for the application...
2
by: Barry Moon | last post by:
Hi Can anyone give me any help with passing an object across processes, via drag and drop? I've written a custom ListView control, which supports dragging and dropping of its items. The...
2
by: Ivo Tcholakov | last post by:
Is it possible to drag and drop controls in an aspx page at runtime ? Meaning i have developed a ASP.NET web form, the web form is now downloaded in IE - now can i have this form to detect mouse...
3
by: Goldwind | last post by:
Hi, I"m trying to use drag & drop of text from one text box to another but without suceess. Microsoft presented an example in "101 code samples" BUT in this example the code select and drag all...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
1
by: patrickq | last post by:
What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want to set...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.