Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
Private Sub b_ReattachTables_Click() On Error GoTo Err_b_ReattachTables_Click Dim strPrgFilePath As String Dim strPrgFileName As String Dim strPrgFileFolder As String strPrgFilePath = Application.CurrentDb.Name strPrgFileName = Dir(strPrgFilePath) strPrgFileFolder = Left(strPrgFilePath, Len(strPrgFilePath) - Len(strPrgFileName)) Dim tdf As DAO.TableDef For Each tdf In DBEngine(0)(0).TableDefs If ((tdf.Attributes And dbSystemObject) = 0) And (tdf.Connect <> vbNullString) And Not (tdf.Name Like "~*") Then tdf.Connect = ";DATABASE=" & Trim(strPrgFileFolder) & "BACKEND.mdb" tdf.RefreshLink Me!lblMsg.Caption = "Linking..." & tdf.Name DoEvents End If Next Me!lblMsg.Caption = "" MsgBox "Linked tables have been re-attached", 64, "Attach Tables" Exit_b_ReattachTables_Click: Exit Sub Err_b_ReattachTables_Click: MsgBox "Please add back-end files to the current directory!", vbCritical, "Error No 3." Resume Exit_b_ReattachTables_Click End Sub