Insert File

Insert File

There’s a fantastic, useful, clever feature of MS Access (actually I think it’s in all of the VBA products) where you can store code snippets in the normal file structure of Windows. Basically you have a folder which is accessed quickly and easily through the — >>>Insert >>>File — menu. This menu is shown when you are in the VBA interface. When you open it, you have access to this folder. You can have subfolders in any/all of those folders. You can have text files containing your code, Code Modules, Code Snippets, Class Modules Anything Textual you Want! Clicking on any of the text files automatically copies the contents of that text file straight into your Code/Class Module. But here’s the thing, you can also access any of those code snippets stored in the text files and edit them. You can simply and easily keep your stock of code available, ready and updated. And to top it all, it’s immediately available to any of your MS Access database projects.

"Insert File" - Demonstration

"Insert File" - Demonstration

Video 1 (Less than a Minute!)

Insert File Demonstration. In this video I show you how to quickly and easily insert a code snippet into your MS Access form Code Module using “file – Insert” menu option. In particular, I demonstrate inserting a “Custom Property” which, in this particular case is designed to hold an “Object Variable”…

Video 1 (0:38)

Nifty Access YouTube Thumb Nail

… …

Add to "Insert File"

Add to "Insert File"

Video 2 (Less than a Minute!)

In this 40 second video clip I demonstrate how easy it is to add and modify code in the “File Insert” section of “MS Access”… It’s one of the little used features of MS Access. It’s so helpful and can speed up your development process no end. If you are not currently using it I highly recommend you get conversant with it, start adding your favourite code snippets in there. I find the biggest problem is “Categorising my Code Snippets” I never know whether to categorise it by objects like, Form, Report, Module — or by what the code does! If you’ve got any ideas, then I’m all ears! 

I’ve also made a note of this Tip in the Nifty Tips section of my website…

Video 2 (0:40)

Nifty Access YouTube Thumb Nail

… …

More Useful Stuff HERE:-

Display Data from a Combo Box in a Text Box

Display Data from a Combo Box

Combo boxes are one of the most valuable controls you can have on a form, they are so versatile and give you such an extra range of functions for your form that you should really consider understanding how to use them. Also with a combobox as your foundation, you can start to take your first steps into VBA programming!

Display Data from a Combo Box in a Text Box

Display Data from a Combo Box in a Text Box

Video 1 (5:50)

One of the most useful things you can do with a combobox is link it to related data in another table.

Let’s say you have an invoice and you want to choose the customer. You also want to display the customer address. You could link your invoice table to the customer table with a query and use that as the basis for your invoicing form. However it’s much simpler to utilise the customer ID. From the “CustID” you can display all of the customer information you require, customer name, address1. Addr2, Town, etc. Just add a set of unbound text boxes and have them filled with the values from the selected row in the combobox.

It’s an excellent for displaying “Addresses” straight from a Combobox on your form. Makes for a very Tidy interface…

More - ComboBox Info HERE:-

Video 1 (5:50)

Nifty Access YouTube Thumb Nail

… …

Form with Combo Box Lookup

Form with Combo Box Lookup

Video 2 (4:56)

This is another example of how you can set up a Combo Box and have it display information from the combo-box’s row in text-box’s on the form.

Video 2 (4:56)

Nifty Access YouTube Thumb Nail

… …

More Useful Stuff HERE:-

This website uses third-party software - WordPress Add-Ins to be exact. I don't know what any individual add-in does, but I'm sure that many of them collect information about you. So be aware, if you continue using this site, then you are likely to be sharing your information. I don't know how to disable this sharing for any, or all of the plugins for individual users. So I can't stop the sharing of information. If this worries you then please do not use this site... If you continue to use this site I will assume that you are happy with it.

Do you need a hand in the right direction?

You are in the right place.