Saturday, September 13, 2008
Microsoft How-To: Removing a Subdatasheet
This article shows how to remove them in Access 2007. In 2003 the remove option is under Format/Subdatasheet.
Also see this great UtterAccess post by Crystal at UtterAccess.com on Subdatasheets, which includes links to articles that discuss the performance issue.
**Links cleaned up 2011-09-05**
Posted by
Stephen
at
9:10 PM | Permalink
|
I'm reading: Microsoft How-To: Removing a SubdatasheetTweet this!
| Add This!
| Blog This |
0
comments
Labels: deployment, performance
Wednesday, February 27, 2008
Help Access run faster
The Microsoft Office Online team has posted a new rundown on performance considerations for Access here. Some of the tips are also in other articles I've linked previously, but this looks like a good list.
Posted by
Stephen
at
9:25 PM | Permalink
|
I'm reading: Help Access run fasterTweet this!
| Add This!
| Blog This |
0
comments
Labels: deployment, performance
Monday, January 14, 2008
Relinking back-end tables
If you've split your database into front-end and back-end, you will from time-to-time need to update the links between the two. For me the most common reason for doing this is that I'm installing an update to the front-end. I build new releases in a development/test environment (where the front-end tables are linked to a test copy of the back-end), and when I'm ready, I copy a new version of the front-end to the server and update the table links so it's connected to the production back-end.
(If you haven't split your database into front-end and back-end and wonder if you should, see Sharing an Access Database.)
Relinking to the back-end tables manually can be time consuming and error prone. You'll probbaly want to adopt some automated way to do the relinking. Here are some that I've found.
Relink Access tables from code
This one from The Access Web is quite nice in that if it does a little hunting to find the table you need to link to. I haven't used it, but code from The access Web is always worth the time it takes to incorporate it into your database.
Relink tables from different datasources
An alternative version from The access Web, this one handles multiple back-ends.
Re-Linking Back-End Tables
This is from the Utteraccess code archive and includes a nice form to manage the relinking.
I think this is the original article that the above posts mean to improve upon.
And now here's my version. It's simple and straightforward. It assumes the back-end will be in the same folder as the front-end and that all the linked tables will be linked to the same back-end. It looks in the custom properties of the front-end for the name of the back-end database (File/Database Properties/Custom, create a property called BEDBName.)
Public Sub UpdateTableLinks()
Dim varThis As Variant
Dim strThisFolder As String
Dim strBEFileSpec As String
strThisFolder = CurrentProject.Path
strBEFileSpec = strThisFolder & "\" & GetDBCustomProperty("BEDBName")
If MsgBox(Prompt:="Update remote table links to " & strBEFileSpec & "?", _
Buttons:=vbYesNo + vbQuestion + vbDefaultButton2) = vbYes Then
For Each varThis In CurrentDb.TableDefs
With varThis
If Trim(Nz(.Connect)) Like ";DATABASE=*" Then
.Connect = ";DATABASE=" & strBEFileSpec
.RefreshLink
End If
End With
Next varThis
MsgBox "Relink complete"
End If
End Sub
Public Function GetDBCustomProperty(ByVal strPropertyName As String) As String
GetDBCustomProperty = CurrentDb.Containers!Databases.Documents!UserDefined.Properties(strPropertyName)
End Function
Posted by
Stephen
at
6:00 AM | Permalink
|
I'm reading: Relinking back-end tablesTweet this!
| Add This!
| Blog This |
4
comments
Labels: deployment, relinking, splitting
Tuesday, October 23, 2007
How do I create an MDE, ADE, or ACCDE file?
Here's another great "soup to nuts" post from Walter at UtterAccess.com. This one covers everything you need to know about creating end user versions of your database for deployment.
Posted by
Stephen
at
7:48 AM | Permalink
|
I'm reading: How do I create an MDE, ADE, or ACCDE file?Tweet this!
| Add This!
| Blog This |
0
comments
Labels: deployment, multi-user, network, security
Tuesday, October 16, 2007
Sharing an Access Database
Quote:
"Congratulations! Your database has become so popular that others would like to use it. Just copy it to a shared location on the network and create shortcuts, right? Wrong! This is perhaps the largest cause of Access database corruption. Multiple users accessing the same .MDB at the same time is just asking for problems.
... this FAQ is meant to provide the best practices for sharing a database with others. Incorporated into these best practices are the concepts of Maximum Security, Future Manageability, and Higher Degrees of Scalability. Simply put, your database will be as secure as possible, as easy to modify as possible, and as easy to migrate to a larger platform when and if you ever outgrow Access."
Posted by
Stephen
at
8:13 PM | Permalink
|
I'm reading: Sharing an Access DatabaseTweet this!
| Add This!
| Blog This |
0
comments
Labels: deployment, multi-user, splitting
Thursday, October 11, 2007
Deploying an Access Application over a Local Area Network (LAN)
This page runs through a variety of topics related to deployment in a LAN environment, including (among others)performance suggestions and splitting your database.
It includes links to a variety of tips and references, as well as some specific techniques.
Note that the suggestions to use a batch file to deploy front-ends may not be "best practice", there are other alternatives to accomplish the same goal. You should review these and determine which fits your situation best.
Posted by
Stephen
at
7:51 AM | Permalink
|
I'm reading: Deploying an Access Application over a Local Area Network (LAN)Tweet this!
| Add This!
| Blog This |
0
comments
Labels: deployment, multi-user, network, performance
