| | |
code to split (and reconnect) an Access database (part 1)
This code is to split a Microsoft Access database and re-connect it on launch so that you can use Access on a multi user network...After Splitting the database manually, place the following code in the form that launches when the database is launched...
Public Function BackEndLoc() As String 'BackEndLoc = "\\zeus\Family Documents\Richard's Work\license_keys_be.mdb" '...............that is the client's location for the file as _ installed. It is commented out as I am working on it locally BackEndLoc = "\\zeus\Family Documents\Richard's Work\license_keys_be.mdb" '...............that is the location of my development backend dummy _ data. This is currently active. I will switch the comment-outs when I _ send an update to the client. End Function Private Sub Form_Open(Cancel As Integer) Dim strBEPath As String ' Minimize the database window and initialize the form. strBEPath = BackEndLoc() 'other stuff End Sub Use the real path to the back end on the server in the function.
Similar Threads
- Google Is Great (part 1) - Free Website Split Testing (Advertising Sales Strategies)
- How can I update my access database via VB.net using this code (VB.NET)
- I cannot reconnect drive letter and access files behind it. (Windows NT / 2000 / XP)
- Vb.net source code to access data from Access Database (Visual Basic 4 / 5 / 6)
- vb.net code to access data from Access Database (VB.NET)
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows



