From rockysmolin at bchacc.com Sat Jan 18 14:33:15 2020 From: rockysmolin at bchacc.com (rockysmolin bchacc.com) Date: Sat, 18 Jan 2020 20:33:15 +0000 Subject: [AccessD] Free upgrade to Windows 10 Message-ID: I found this site talking about the end of Windows 7 support and instructions for upgrading Windows 7 to Windows 10 at no charge: https://www.hellotech.com/blog/windows-7-end-of-life-support-how-to-upgrade?rs_oid_rd=866634206432597&utm_source=ReSci-Smart+blast&utm_medium=Email&utm_campaign=Copy+of++Newsletter+Jan+10%252C+2020&utm_content=blog_featured_article-microsoft_ends_support_windows7 https://tinyurl.com/vvdncxw I have an older laptop running Win 7 and when W10 came out the upgrade tool told me I couldn't install W10 on this laptop. But not averse to trying the same thing again and expecting a different result, I followed the directions and Walla! W10 on the laptop activated with a digital key. Rocky From DMcGillivray at ctc.ca.gov Thu Jan 23 16:59:20 2020 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Thu, 23 Jan 2020 22:59:20 +0000 Subject: [AccessD] Swapping Connections to SQL Server Back-end Databases Message-ID: Hello All, I recently converted our MS Access application back-end to SQL Server. Our shop has three separate SQL Server environments - Dev, Test, and Prod. The application front-end is an Access accde whose master copies (one each for Test and Prod) are kept in separate folders on a file share. Users have desktop icons for each environment, which execute batch files to copy down the latest accde from the appropriate share to the appropriate local folder (one for Test, another for Prod), after which the local copy is executed. Upon start up, the application determines which environment it was executed from and establishes a connection to the appropriate SQL server back end. The connection attributes are stored as global constants in a VBA module in the front end. Typically, before compiling and deploying a new version of the accde to Test and Production, the development copy has been attached to the Dev back end. Thus, the accde will connect to the Dev back-end at start up by default, but the start-up routine will change it according to the environment the user has executed from. All works as intended for Test and Prod from the user's perspective. However, when I re-open the development copy (using the shift-key bypass to prevent the start-up routine), that connection (to the Dev back end) is established as read-only. It was read-write when I compiled and closed the development copy. I have a tool in the application that allows me to swap back-ends in development as needed, and when I use that to swap to Test or Prod, I get read-write access to both of those. If I then use the tool to switch back to Dev, it's read-only again. The only way I can get read-write to Dev is to swap to Test or Prod, close the dev copy of the application, and re-open it. However, when I do that I have the same read-only behavior for whichever environment was connected when I last closed the application front end. Both the switching tool and the start-up routine call the same function to do the back-end switching. All of this won't really impact the users - until I forget to switch to DEV before deploying, which someday I'm sure to do. I suspect that there may be something about the way my switching code is re-connecting to the back-end that is at the root of my problem. Hoping somebody with more expertise than me can shed some light or offer some advice for improvement. All suggestions and insights are appreciated. Don ------------------------------------- Here's the relevant code (watch for line wrap and odd tab behavior): ------------------------------------- Function HookMeUp(Optional strEnvir As String) As Integer 'This runs at startup to establish the connection to the BE On Error GoTo ErrorHandle Dim lngErrNum As Long, strErrDescr As String Dim intResult As Integer Dim strCurBE As String Dim strSQLConn As String If Len(Trim(strEnvir)) = 0 Then strEnvir = GetEnvir() 'GetEnvir() discovers the execution environment (DEV, TEST, PROD). If unable to determine, TEST is used. strSQLConn = GetSQLConn(strEnvir) 'GetSQLConn() Builds a connect string from the environment's connection attributes stored as global constants If Len(strSQLConn) > 0 Then strCurBE = CurrentDb.TableDefs("tblLOV").Connect If strCurBE <> strSQLConn Then intResult = ChangeEnvirSQL(strSQLConn) 'This function is shown below Else intResult = 1 End If FunctionExit: On Error Resume Next HookMeUp = intResult Exit Function ErrorHandle: lngErrNum = Err.Number strErrDescr = Err.Description Select Case lngErrNum Case Else LogEvent lngErrNum, strErrDescr, "Function 'HookMeUp' of Module 'basSystemProcesses'" MsgBox lngErrNum & " " & strErrDescr & vbCrLf & vbCrLf _ & "Error in procedure Function 'HookMeUp' of Module 'basSystemProcesses'" intResult = 1 Resume FunctionExit End Select End Function Function ChangeEnvirSQL(strTargetDB As String) As Integer On Error GoTo ErrorHandle Dim lngErrNum As Long, strErrDescr As String Dim intResult As Integer Dim db As DAO.Database Dim tdf As DAO.TableDef Set db = CurrentDb() For Each tdf In db.TableDefs With tdf If Len(Trim(.Connect)) > 0 And Left(.Connect, 4) = "ODBC" Then .Connect = strTargetDB .RefreshLink End If End With Next FunctionExit: On Error Resume Next Set tdf = Nothing Set db = Nothing ChangeEnvirSQL = intResult Exit Function ErrorHandle: lngErrNum = Err.Number strErrDescr = Err.Description Select Case lngErrNum Case Else LogEvent lngErrNum, strErrDescr, "Function 'ChangeEnvirSQL' of Module 'basLinkTables'" MsgBox lngErrNum & " " & strErrDescr & vbCrLf & vbCrLf _ & "Error in procedure Function 'ChangeEnvirSQL' of Module 'basLinkTables'" intResult = 1 Resume FunctionExit End Select End Function From rockysmolin at bchacc.com Sat Jan 25 12:26:12 2020 From: rockysmolin at bchacc.com (rockysmolin bchacc.com) Date: Sat, 25 Jan 2020 18:26:12 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Another nail in the coffin of my old life - my web site (www.bchacc.com) hosting expires at the end of the month. I've decided - being retired, not really looking for work, and having gotten only one lead that I can think of in the last few years - to let it go. One note of nostalgia - on the bottom is the credit "Designed and built by Karen Rosenstiel" one of the original members of the Database Advisors. May she rest in peace. r From paul at wordwright.org Sat Jan 25 13:47:41 2020 From: paul at wordwright.org (paul) Date: Sat, 25 Jan 2020 19:47:41 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Happy retirement, rockysmolen. Many of us will miss you and good advice. paul On Sat, 25 Jan 2020 at 18:26, rockysmolin bchacc.com wrote: > > Another nail in the coffin of my old life - my web site (www.bchacc.com< > http://www.bchacc.com>) hosting expires at the end of the month. I've > decided - being retired, not really looking for work, and having gotten > only one lead that I can think of in the last few years - to let it go. > > One note of nostalgia - on the bottom is the credit "Designed and built by > Karen Rosenstiel" one of the original members of the Database Advisors. May > she rest in peace. > > r > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Sat Jan 25 13:50:24 2020 From: rockysmolin at bchacc.com (rockysmolin bchacc.com) Date: Sat, 25 Jan 2020 19:50:24 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Thanks Paul. (I'm still lurking. :-)) r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul Sent: Saturday, January 25, 2020 11:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Goodbye Web Site Happy retirement, rockysmolen. Many of us will miss you and good advice. paul On Sat, 25 Jan 2020 at 18:26, rockysmolin bchacc.com wrote: > > Another nail in the coffin of my old life - my web site (www.bchacc.com< > http://www.bchacc.com>) hosting expires at the end of the month. I've > decided - being retired, not really looking for work, and having gotten > only one lead that I can think of in the last few years - to let it go. > > One note of nostalgia - on the bottom is the credit "Designed and built by > Karen Rosenstiel" one of the original members of the Database Advisors. May > she rest in peace. > > r > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul at wordwright.org Sat Jan 25 13:57:58 2020 From: paul at wordwright.org (paul) Date: Sat, 25 Jan 2020 19:57:58 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Excellent, Rocky! Well done and very pleased to hear it ... On Sat, 25 Jan 2020 at 19:51, rockysmolin bchacc.com wrote: > Thanks Paul. (I'm still lurking. :-)) > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > paul > Sent: Saturday, January 25, 2020 11:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Goodbye Web Site > > Happy retirement, rockysmolen. Many of us will miss you and good advice. > paul > > On Sat, 25 Jan 2020 at 18:26, rockysmolin bchacc.com < > rockysmolin at bchacc.com> > wrote: > > > > > Another nail in the coffin of my old life - my web site (www.bchacc.com< > > http://www.bchacc.com>) hosting expires at the end of the month. I've > > decided - being retired, not really looking for work, and having gotten > > only one lead that I can think of in the last few years - to let it go. > > > > One note of nostalgia - on the bottom is the credit "Designed and built > by > > Karen Rosenstiel" one of the original members of the Database Advisors. > May > > she rest in peace. > > > > r > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Sat Jan 25 14:26:04 2020 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sat, 25 Jan 2020 15:26:04 -0500 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Good luck Rocky...... we're all still lurking. Enjoy your retirement. jack On Sat, Jan 25, 2020 at 2:51 PM rockysmolin bchacc.com < rockysmolin at bchacc.com> wrote: > Thanks Paul. (I'm still lurking. :-)) > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > paul > Sent: Saturday, January 25, 2020 11:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Goodbye Web Site > > Happy retirement, rockysmolen. Many of us will miss you and good advice. > paul > > On Sat, 25 Jan 2020 at 18:26, rockysmolin bchacc.com < > rockysmolin at bchacc.com> > wrote: > > > > > Another nail in the coffin of my old life - my web site (www.bchacc.com< > > http://www.bchacc.com>) hosting expires at the end of the month. I've > > decided - being retired, not really looking for work, and having gotten > > only one lead that I can think of in the last few years - to let it go. > > > > One note of nostalgia - on the bottom is the credit "Designed and built > by > > Karen Rosenstiel" one of the original members of the Database Advisors. > May > > she rest in peace. > > > > r > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Sat Jan 25 17:54:16 2020 From: jwcolby at gmail.com (John Colby) Date: Sat, 25 Jan 2020 18:54:16 -0500 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Was karen the lady that did the race database up in LA? On Sat, Jan 25, 2020 at 1:26 PM rockysmolin bchacc.com < rockysmolin at bchacc.com> wrote: > > Another nail in the coffin of my old life - my web site (www.bchacc.com< > http://www.bchacc.com>) hosting expires at the end of the month. I've > decided - being retired, not really looking for work, and having gotten > only one lead that I can think of in the last few years - to let it go. > > One note of nostalgia - on the bottom is the credit "Designed and built by > Karen Rosenstiel" one of the original members of the Database Advisors. May > she rest in peace. > > r > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby Colby Consulting From kathryn at bassett.net Sat Jan 25 19:15:32 2020 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 25 Jan 2020 17:15:32 -0800 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: <00f601d5d3e6$1b85ccb0$52916610$@bassett.net> Nope, that was me. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > Sent: Saturday, 25 Jan 2020 3:54 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Goodbye Web Site > > Was karen the lady that did the race database up in LA? From jwcolby at gmail.com Sat Jan 25 20:00:31 2020 From: jwcolby at gmail.com (John Colby) Date: Sat, 25 Jan 2020 21:00:31 -0500 Subject: [AccessD] Goodbye Web Site In-Reply-To: <00f601d5d3e6$1b85ccb0$52916610$@bassett.net> References: <00f601d5d3e6$1b85ccb0$52916610$@bassett.net> Message-ID: Kathryn, sorry bout that. With old age comes memory loss!? On Sat, Jan 25, 2020 at 8:17 PM Kathryn Bassett wrote: > Nope, that was me. > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > John Colby > > Sent: Saturday, 25 Jan 2020 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Goodbye Web Site > > > > Was karen the lady that did the race database up in LA? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby Colby Consulting From jbartow at winhaven.net Sun Jan 26 15:00:15 2020 From: jbartow at winhaven.net (John Bartow) Date: Sun, 26 Jan 2020 21:00:15 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: Message-ID: Rocky, Best wishes in your new semi-semi-retired life ? I think of Karen often as I hired her to website design and maintenance for my clients. I miss our phone conversations. John Bartow WinHaven IT Consulting -----Original Message----- From: AccessD On Behalf Of rockysmolin bchacc.com Sent: Saturday, January 25, 2020 12:26 PM To: accessd at databaseadvisors.com Subject: [AccessD] Goodbye Web Site Another nail in the coffin of my old life - my web site (www.bchacc.com) hosting expires at the end of the month. I've decided - being retired, not really looking for work, and having gotten only one lead that I can think of in the last few years - to let it go. One note of nostalgia - on the bottom is the credit "Designed and built by Karen Rosenstiel" one of the original members of the Database Advisors. May she rest in peace. r -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Jan 26 15:09:59 2020 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Jan 2020 21:09:59 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: , Message-ID: Hi Rocky Haven?t you retired once ? some years ago? /gustav Fra: rockysmolin bchacc.com Sendt: 25. januar 2020 19:27 Til: accessd at databaseadvisors.com Emne: [AccessD] Goodbye Web Site Another nail in the coffin of my old life - my web site (www.bchacc.com>) hosting expires at the end of the month. I've decided - being retired, not really looking for work, and having gotten only one lead that I can think of in the last few years - to let it go. One note of nostalgia - on the bottom is the credit "Designed and built by Karen Rosenstiel" one of the original members of the Database Advisors. May she rest in peace. r -- From rockysmolin at bchacc.com Sun Jan 26 16:43:21 2020 From: rockysmolin at bchacc.com (rockysmolin bchacc.com) Date: Sun, 26 Jan 2020 22:43:21 +0000 Subject: [AccessD] Goodbye Web Site In-Reply-To: References: , Message-ID: I have retired 3-4 times in my life. Unfortunately I ran out of money each time. This time, with a shorter time horizon I think things will work out. :-) r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock via AccessD Sent: Sunday, January 26, 2020 1:10 PM To: Access Developers discussion and problem solving Cc: Gustav Brock Subject: Re: [AccessD] Goodbye Web Site Hi Rocky Haven't you retired once - some years ago? /gustav Fra: rockysmolin bchacc.com Sendt: 25. januar 2020 19:27 Til: accessd at databaseadvisors.com Emne: [AccessD] Goodbye Web Site Another nail in the coffin of my old life - my web site (www.bchacc.com>) hosting expires at the end of the month. I've decided - being retired, not really looking for work, and having gotten only one lead that I can think of in the last few years - to let it go. One note of nostalgia - on the bottom is the credit "Designed and built by Karen Rosenstiel" one of the original members of the Database Advisors. May she rest in peace. r -- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com