From rockysmolin at bchacc.com Tue Nov 1 22:00:00 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Nov 2016 20:00:00 -0700 Subject: [AccessD] Windows on a Mac Message-ID: <027901d234b5$33928150$9ab783f0$@bchacc.com> What's the current gold standard for running Windows on a Mac? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From rockysmolin at bchacc.com Tue Nov 1 23:04:46 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Nov 2016 21:04:46 -0700 Subject: [AccessD] Access Has Stopped Working! Message-ID: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From dbdoug at gmail.com Tue Nov 1 23:58:58 2016 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 1 Nov 2016 21:58:58 -0700 Subject: [AccessD] Windows on a Mac In-Reply-To: <027901d234b5$33928150$9ab783f0$@bchacc.com> References: <027901d234b5$33928150$9ab783f0$@bchacc.com> Message-ID: I use both Parallels and VMWare Fusion. They work well but Parallels would be my choice as it is faster to access files outside the VM. Fusion seems to lose the connection to the 'external' file system whenever it isn't being accessed, and takes a couple of seconds to get it back. I used to use Bootcamp but I prefer a VM where I can switch back and forth between OSX and Windows. Doug On Tue, Nov 1, 2016 at 8:00 PM, Rocky Smolin wrote: > What's the current gold standard for running Windows on a Mac? > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Wed Nov 2 00:09:21 2016 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 1 Nov 2016 22:09:21 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> Message-ID: In my OutputTo statements, I use the built in parameter acFormatPDF instead of "PDFFormat(*.pdf)", but according to the Object Browser they should be completely equivalent. But it might be worth a try. When this kind of thing happened at my old job, my manager would tell me to swing a lizard around my head three times then try the code again. Surprising how often that worked... Doug On Tue, Nov 1, 2016 at 9:04 PM, Rocky Smolin wrote: > Dear List(s): > > > > I am running an accdb in A2010. I want to convert a report to a pdf and > attach it to an email. This works perfectly on my machine. > > > > At the client site it does not. I spent two hours there today trying > everything I could think of - checking Microsoft update for patches fixes, > updates, etc., decompiling, compact and repair, lacing the code with > DoEvents, running as administrator - nothing worked. I did track the > problematic line of code. It is the line with > > > > DoCmd.OutputTo acOutputReport > > > > And Access Stopped Working on this line of code almost every time. I say > almost because a couple of times it ran - generated both pdfs and popped up > the email with the two report pdfs attached! Which is why I tried the > DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo > acOutputReport, > > > > Here's the code: > > > > strFrontEndPath = db.Name > > Do While Right(strFrontEndPath, 1) <> "\" > > strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) > > Loop > > strRAPDFName = strFrontEndPath & "RentalAgreement-" _ > > & Me.cboNameAndAddress.Column(1) & "-" _ > > & Me.fldRAHOrderNumber & ".pdf" > > strRAPDFName = Replace(strRAPDFName, "*", "") > > > > DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", > strRAPDFName, False ', "", acExportQualityPrint > > 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) > > > > strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ > > & Me.cboNameAndAddress.Column(1) & "-" _ > > & Me.fldRAHOrderNumber & ".pdf" > > strCCPPDFName = Replace(strCCPPDFName, "*", "") > > > > DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", > "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint > > 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , > strCCPPDFName, > , False) > > > > > > You can see the previous legacy code which worked for a long time in A2003 > - > the calls to ConvertToPDF - which I have commented out. That doesn't work > anymore. > > > > So I'm really stumped. Has anyone had this problem and found a solution? > Two martinis to the genius who can post an effective fix. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Wed Nov 2 00:09:51 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 2 Nov 2016 18:09:51 +1300 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> Message-ID: <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 2 00:12:12 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 2 Nov 2016 18:12:12 +1300 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> Message-ID: <00c701d234c7$ab7ba8b0$0272fa10$@dalyn.co.nz> Sorry - line breaks didn't come across. Should have been DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, 2 November 2016 6:10 p.m. To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 charlotte.foust at gmail.com Wed Nov 2 00:13:56 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 1 Nov 2016 22:13:56 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> Message-ID: I do the same thing, Doug. It's too easy for me to mistype the string. Charlotte Foust (916) 206-4336 On Tue, Nov 1, 2016 at 10:09 PM, Doug Steele wrote: > In my OutputTo statements, I use the built in parameter acFormatPDF instead > of "PDFFormat(*.pdf)", but according to the Object Browser they should be > completely equivalent. But it might be worth a try. > > When this kind of thing happened at my old job, my manager would tell me to > swing a lizard around my head three times then try the code again. > Surprising how often that worked... > > Doug > > On Tue, Nov 1, 2016 at 9:04 PM, Rocky Smolin > wrote: > > > Dear List(s): > > > > > > > > I am running an accdb in A2010. I want to convert a report to a pdf and > > attach it to an email. This works perfectly on my machine. > > > > > > > > At the client site it does not. I spent two hours there today trying > > everything I could think of - checking Microsoft update for patches > fixes, > > updates, etc., decompiling, compact and repair, lacing the code with > > DoEvents, running as administrator - nothing worked. I did track the > > problematic line of code. It is the line with > > > > > > > > DoCmd.OutputTo acOutputReport > > > > > > > > And Access Stopped Working on this line of code almost every time. I say > > almost because a couple of times it ran - generated both pdfs and popped > up > > the email with the two report pdfs attached! Which is why I tried the > > DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo > > acOutputReport, > > > > > > > > Here's the code: > > > > > > > > strFrontEndPath = db.Name > > > > Do While Right(strFrontEndPath, 1) <> "\" > > > > strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) > > > > Loop > > > > strRAPDFName = strFrontEndPath & "RentalAgreement-" _ > > > > & Me.cboNameAndAddress.Column(1) & "-" _ > > > > & Me.fldRAHOrderNumber & ".pdf" > > > > strRAPDFName = Replace(strRAPDFName, "*", "") > > > > > > > > DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", > > strRAPDFName, False ', "", acExportQualityPrint > > > > 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) > > > > > > > > strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ > > > > & Me.cboNameAndAddress.Column(1) & "-" _ > > > > & Me.fldRAHOrderNumber & ".pdf" > > > > strCCPPDFName = Replace(strCCPPDFName, "*", "") > > > > > > > > DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", > > "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint > > > > 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , > > strCCPPDFName, > > , False) > > > > > > > > > > > > You can see the previous legacy code which worked for a long time in > A2003 > > - > > the calls to ConvertToPDF - which I have commented out. That doesn't > work > > anymore. > > > > > > > > So I'm really stumped. Has anyone had this problem and found a solution? > > Two martinis to the genius who can post an effective fix. > > > > > > > > MTIA > > > > > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > 760-683-5777 > > > > www.bchacc.com > > > > www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > > > > > > > > > -- > > 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 rockysmolin at bchacc.com Wed Nov 2 00:34:22 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Nov 2016 22:34:22 -0700 Subject: [AccessD] Windows on a Mac In-Reply-To: References: <027901d234b5$33928150$9ab783f0$@bchacc.com> Message-ID: <001301d234ca$c4293a00$4c7bae00$@bchacc.com> Thanks Doug. Will forward to the colleague that asked the question. Regards, R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, November 01, 2016 9:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows on a Mac I use both Parallels and VMWare Fusion. They work well but Parallels would be my choice as it is faster to access files outside the VM. Fusion seems to lose the connection to the 'external' file system whenever it isn't being accessed, and takes a couple of seconds to get it back. I used to use Bootcamp but I prefer a VM where I can switch back and forth between OSX and Windows. Doug On Tue, Nov 1, 2016 at 8:00 PM, Rocky Smolin wrote: > What's the current gold standard for running Windows on a Mac? > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > 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 rockysmolin at bchacc.com Wed Nov 2 00:35:37 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Nov 2016 22:35:37 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> Message-ID: <001a01d234ca$f11c5650$d35502f0$@bchacc.com> OK - I'll try the lizard thing first, then. Thx Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, November 01, 2016 10:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! In my OutputTo statements, I use the built in parameter acFormatPDF instead of "PDFFormat(*.pdf)", but according to the Object Browser they should be completely equivalent. But it might be worth a try. When this kind of thing happened at my old job, my manager would tell me to swing a lizard around my head three times then try the code again. Surprising how often that worked... Doug On Tue, Nov 1, 2016 at 9:04 PM, Rocky Smolin wrote: > Dear List(s): > > > > I am running an accdb in A2010. I want to convert a report to a pdf > and attach it to an email. This works perfectly on my machine. > > > > At the client site it does not. I spent two hours there today trying > everything I could think of - checking Microsoft update for patches > fixes, updates, etc., decompiling, compact and repair, lacing the code > with DoEvents, running as administrator - nothing worked. I did track > the problematic line of code. It is the line with > > > > DoCmd.OutputTo acOutputReport > > > > And Access Stopped Working on this line of code almost every time. I > say almost because a couple of times it ran - generated both pdfs and > popped up the email with the two report pdfs attached! Which is why I > tried the DoEvents. But it barfed pretty consistently on that first > DoCmd.OutputTo acOutputReport, > > > > Here's the code: > > > > strFrontEndPath = db.Name > > Do While Right(strFrontEndPath, 1) <> "\" > > strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) > > Loop > > strRAPDFName = strFrontEndPath & "RentalAgreement-" _ > > & Me.cboNameAndAddress.Column(1) & "-" _ > > & Me.fldRAHOrderNumber & ".pdf" > > strRAPDFName = Replace(strRAPDFName, "*", "") > > > > DoCmd.OutputTo acOutputReport, "rptRentalAgreement", > "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint > > 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , > False) > > > > strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ > > & Me.cboNameAndAddress.Column(1) & "-" _ > > & Me.fldRAHOrderNumber & ".pdf" > > strCCPPDFName = Replace(strCCPPDFName, "*", "") > > > > DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", > "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint > > 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , > strCCPPDFName, , False) > > > > > > You can see the previous legacy code which worked for a long time in > A2003 > - > the calls to ConvertToPDF - which I have commented out. That doesn't > work anymore. > > > > So I'm really stumped. Has anyone had this problem and found a solution? > Two martinis to the genius who can post an effective fix. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > 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 rockysmolin at bchacc.com Wed Nov 2 00:37:27 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Nov 2016 22:37:27 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> Message-ID: <001b01d234cb$328b2170$97a16450$@bchacc.com> I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 newsgrps at dalyn.co.nz Wed Nov 2 01:08:53 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 2 Nov 2016 19:08:53 +1300 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <001b01d234cb$328b2170$97a16450$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> Message-ID: <00d001d234cf$9688fb80$c39af280$@dalyn.co.nz> Yes - sorry should have included that. Full code: DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False , "", acExportQualityPrint DoCmd.Close acReport, " rptRentalAgreement ", acSaveNo Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 6:37 p.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 newsgrps at dalyn.co.nz Wed Nov 2 01:32:33 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 2 Nov 2016 19:32:33 +1300 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <001b01d234cb$328b2170$97a16450$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> Message-ID: <00d701d234d2$e5514210$aff3c630$@dalyn.co.nz> Yes - sorry should have included that. Full code: DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False , "", acExportQualityPrint DoCmd.Close acReport, " rptRentalAgreement ", acSaveNo Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 6:37 p.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 jimdettman at verizon.net Wed Nov 2 05:11:29 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Nov 2016 06:11:29 -0400 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <001b01d234cb$328b2170$97a16450$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> Message-ID: <0EC588BC7FF945A39F80E00945BB1676@XPS> Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 rockysmolin at bchacc.com Wed Nov 2 07:42:23 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 05:42:23 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <0EC588BC7FF945A39F80E00945BB1676@XPS> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> Message-ID: <003c01d23506$8f687830$ae396890$@bchacc.com> " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Nov 2 09:16:54 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Nov 2016 10:16:54 -0400 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <003c01d23506$8f687830$ae396890$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> Message-ID: Access (or Office). On the machine where it's happening, Control Panel, Admin Tools, event log. Windows should be recording the fault each time it happens. It will have a module name and an address, and the type of fault that occurred. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 08:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 rockysmolin at bchacc.com Wed Nov 2 09:45:48 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 07:45:48 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> Message-ID: <007401d23517$cce90970$66bb1c50$@bchacc.com> TY When I see it, though, what will I learn? Something that might help me work around the problem? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 7:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Access (or Office). On the machine where it's happening, Control Panel, Admin Tools, event log. Windows should be recording the fault each time it happens. It will have a module name and an address, and the type of fault that occurred. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 08:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 jimdettman at verizon.net Wed Nov 2 10:15:16 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Nov 2016 11:15:16 -0400 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <007401d23517$cce90970$66bb1c50$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> <007401d23517$cce90970$66bb1c50$@bchacc.com> Message-ID: Rocky, <> Potentially yes, or at the very least input for Microsoft. If the module name, address, and fault type are consistent, then it's a bug. Where it occurs can lead to a potential work around. I had an Access 2000 app that would fault at what seemed like random places in the app, but the faulting module was always MSO9.DLL, always at the same address, and always the same fault (divide by 0). While I could not disassemble the DLL completely, I could tell that the address was in the area of routines used to handle fonts. So I looked at things in the app that dealt with fonts. Lucky for me it was a processing/utility style app, so not much was being displayed and I didn't have to look far. What it turned out to be was a TT font that was getting scaled for my message box in the app. Since that was used at various points, it potentially could fault anywhere and at any time (I was displaying a "working on...." type of message), but the event log showed me it really was from the same cause. So I switched to a system font for the message box and it hasn't faulted since. If it's random, then it's more likely a problem with the station (ie. bad memory, driver, OS, etc). Also look for other applications faulting as well...that's also an indication that it might be something with the station rather than an app. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! TY When I see it, though, what will I learn? Something that might help me work around the problem? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 7:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Access (or Office). On the machine where it's happening, Control Panel, Admin Tools, event log. Windows should be recording the fault each time it happens. It will have a module name and an address, and the type of fault that occurred. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 08:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 2 10:38:52 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 08:38:52 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> <007401d23517$cce90970$66bb1c50$@bchacc.com> Message-ID: <008201d2351f$36b58610$a4209230$@bchacc.com> Worth lookin' at then. Thanks r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 8:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Rocky, <> Potentially yes, or at the very least input for Microsoft. If the module name, address, and fault type are consistent, then it's a bug. Where it occurs can lead to a potential work around. I had an Access 2000 app that would fault at what seemed like random places in the app, but the faulting module was always MSO9.DLL, always at the same address, and always the same fault (divide by 0). While I could not disassemble the DLL completely, I could tell that the address was in the area of routines used to handle fonts. So I looked at things in the app that dealt with fonts. Lucky for me it was a processing/utility style app, so not much was being displayed and I didn't have to look far. What it turned out to be was a TT font that was getting scaled for my message box in the app. Since that was used at various points, it potentially could fault anywhere and at any time (I was displaying a "working on...." type of message), but the event log showed me it really was from the same cause. So I switched to a system font for the message box and it hasn't faulted since. If it's random, then it's more likely a problem with the station (ie. bad memory, driver, OS, etc). Also look for other applications faulting as well...that's also an indication that it might be something with the station rather than an app. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 10:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! TY When I see it, though, what will I learn? Something that might help me work around the problem? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 7:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Access (or Office). On the machine where it's happening, Control Panel, Admin Tools, event log. Windows should be recording the fault each time it happens. It will have a module name and an address, and the type of fault that occurred. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 08:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- 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 rockysmolin at bchacc.com Wed Nov 2 11:30:13 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 09:30:13 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> Message-ID: <009501d23526$6390a960$2ab1fc20$@bchacc.com> Jim: I just got the error on my box - twice. The event logs read: Faulting application name: MSACCESS.EXE, version: 14.0.7162.5001, time stamp: 0x5626f514 Faulting module name: MSVCR90.dll, version: 9.0.30729.9247, time stamp: 0x56fa38aa Exception code: 0xc0000417 Fault offset: 0x000320f0 Faulting process id: 0x17c4 Faulting application start time: 0x01d23524285ce9fc Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE Faulting module path: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_non e_5090cb78bcba4a35\MSVCR90.dll Report Id: 79870bfb-0c4b-481c-81b5-cd9a2b237a7d Faulting package full name: Faulting package-relative application ID: Faulting application name: MSACCESS.EXE, version: 14.0.7162.5001, time stamp: 0x5626f514 Faulting module name: MSVCR90.dll, version: 9.0.30729.9247, time stamp: 0x56fa38aa Exception code: 0xc0000417 Fault offset: 0x0006ccd5 Faulting process id: 0x2460 Faulting application start time: 0x01d23523545052cd Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE Faulting module path: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_non e_5090cb78bcba4a35\MSVCR90.dll Report Id: 40c405d6-6a50-4fc2-97c9-8c5ade1dee85 Faulting package full name: Faulting package-relative application ID: -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 7:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Does that tell you anything? TIA Rocky Access (or Office). On the machine where it's happening, Control Panel, Admin Tools, event log. Windows should be recording the fault each time it happens. It will have a module name and an address, and the type of fault that occurred. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 08:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! " tripping over a bug" My bug or Access'? How do I get to the event log? Thx. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 3:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 dbdoug at gmail.com Wed Nov 2 11:39:05 2016 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 2 Nov 2016 09:39:05 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: <009501d23526$6390a960$2ab1fc20$@bchacc.com> References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> <009501d23526$6390a960$2ab1fc20$@bchacc.com> Message-ID: On Wed, Nov 2, 2016 at 9:30 AM, Rocky Smolin wrote: > Jim: > > I just got the error on my box - twice. The event logs read: > FWIW: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. This answer on StackOverflow may help (problem with having VS2008 runtime installed on the user computer, not VS2010??) http://stackoverflow.com/questions/2993560/c-cli-missing-msvcr90-dll From df.waters at outlook.com Wed Nov 2 11:44:00 2016 From: df.waters at outlook.com (Dan Waters) Date: Wed, 2 Nov 2016 16:44:00 +0000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) Message-ID: Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 2 11:46:24 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 09:46:24 -0700 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> <009501d23526$6390a960$2ab1fc20$@bchacc.com> Message-ID: <00b501d23528$a5ed4500$f1c7cf00$@bchacc.com> Doug: I'm not running Visual Studio but I have 12 copies of msvcr90.dll on my comp. But the info on Stack Overflow is a little beyond my pay grade. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, November 02, 2016 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! On Wed, Nov 2, 2016 at 9:30 AM, Rocky Smolin wrote: > Jim: > > I just got the error on my box - twice. The event logs read: > FWIW: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. This answer on StackOverflow may help (problem with having VS2008 runtime installed on the user computer, not VS2010??) http://stackoverflow.com/questions/2993560/c-cli-missing-msvcr90-dll -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Nov 2 13:49:28 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 2 Nov 2016 11:49:28 -0700 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: Message-ID: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 jimdettman at verizon.net Wed Nov 2 14:15:40 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 02 Nov 2016 15:15:40 -0400 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> Message-ID: <55F058D070084363AAF04B8C84FD4CF6@XPS> Rocky, <> Yes, but DoEvents in of itself just yields time to the OS. If nothing else needs doing, it will come right back. Really what you want is something more like this: Public Function Wait(intSeconds As Integer) As Integer Dim datCurDateTime As Date 10 datCurDateTime = Now 20 Do Until DateDiff("s", datCurDateTime, Now) > intSeconds 30 DoEvents 40 Loop End Function and Wait(1) before doing the command. You could even put Access totally to sleep instead of looping in this case, but try the above first. And of course it would be better to pin this down. On a slower/faster machine, you might see varying results. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 02:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 darryl at whittleconsulting.com.au Wed Nov 2 15:09:09 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 2 Nov 2016 20:09:09 +0000 Subject: [AccessD] Windows on a Mac In-Reply-To: References: <027901d234b5$33928150$9ab783f0$@bchacc.com> Message-ID: This has been my (limited) experience too. Bootcamp is native (and free) but Parallels is more useful, flexible and powerful. Make sure you give yourself enough disk space for both OS's when you set it up. Please don't over weight this comment. I haven't had much to do with Macs, but the few times I have had to set this up for people Parallels has worked well. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, 2 November 2016 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Windows on a Mac I use both Parallels and VMWare Fusion. They work well but Parallels would be my choice as it is faster to access files outside the VM. Fusion seems to lose the connection to the 'external' file system whenever it isn't being accessed, and takes a couple of seconds to get it back. I used to use Bootcamp but I prefer a VM where I can switch back and forth between OSX and Windows. Doug On Tue, Nov 1, 2016 at 8:00 PM, Rocky Smolin wrote: > What's the current gold standard for running Windows on a Mac? > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > 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 df.waters at outlook.com Wed Nov 2 15:28:34 2016 From: df.waters at outlook.com (Dan Waters) Date: Wed, 2 Nov 2016 20:28:34 +0000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> Message-ID: Hi Rocky, Hi Rocky, I think Jim is correct. First, save this as a Public Sub. '--------------------- Public Sub Pause(Optional sngNumberOfSeconds As Single = 0.1) On Error GoTo EH '-- Purpose: This will 'pause' running code so that Access can get other things done Dim sngPauseTime As Single Dim sngStart As Single If sngNumberOfSeconds = 0 Then Exit Sub sngPauseTime = sngNumberOfSeconds sngStart = Timer Do While Timer < sngStart + sngPauseTime DoEvents Loop EH: Exit Sub End Sub '-------------------------- Next, replace the 2nd DoEvents with Call Pause. I do this in my code but I didn't think you would need it. By default, Pause will run a loop of DoEvents for 1/10 of a second. Again, Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 marksimms at verizon.net Thu Nov 3 10:11:21 2016 From: marksimms at verizon.net (Mark Simms) Date: Thu, 03 Nov 2016 11:11:21 -0400 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> Message-ID: <020101d235e4$89d551c0$9d7ff540$@net> Does the Sleep API function provide the same functionality as the DoEvents loop ? Or should they be used together ? DoEvents Sleep 500 ' Wait 1/2 second From BWalsh at healthinsight.org Thu Nov 3 10:25:32 2016 From: BWalsh at healthinsight.org (Bob Walsh) Date: Thu, 3 Nov 2016 15:25:32 +0000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <020101d235e4$89d551c0$9d7ff540$@net> References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <020101d235e4$89d551c0$9d7ff540$@net> Message-ID: <68D062755DECC8469BEF3FB828D8294D1F6B34@LVHIMAIL01.healthinsight.local> The DoEvents function returns an Integer representing the number of open forms in stand-alone versions of Visual Basic, such as Visual Basic, Professional Edition. DoEvents returns zero in all other applications. DoEvents passes control to the operating system. Control is returned after the operating system has finished processing the events in its queue and all keys in the SendKeys queue have been sent. DoEvents is most useful for simple things like allowing a user to cancel a process after it has started, for example a search for a file. For long-running processes, yielding the processor is better accomplished by using a Timer or delegating the task to an ActiveX EXE component. In the latter case, the task can continue completely independent of your application, and the operating system takes care of multitasking and time slicing. Any time you temporarily yield the processor within an event procedure, make sure the procedure is not executed again from a different part of your code before the first call returns; this could cause unpredictable results. In addition, do not use DoEvents if other applications could possibly interact with your procedure in unforeseen ways during the time you have yielded control. Bob Walsh Senior Database Analyst (503) 382-3993 -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, November 03, 2016 8:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Does the Sleep API function provide the same functionality as the DoEvents loop ? Or should they be used together ? DoEvents Sleep 500 ' Wait 1/2 second -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________ HealthInsight is a private, nonprofit, community-based organization dedicated to improving health and health care, with offices in four western states: Nevada, New Mexico, Oregon and Utah. HealthInsight also has operations in Seattle, Wash., and Glendale, Calif., supporting End-Stage Renal Disease Networks in the Western United States. The information and any materials included in this transmission may contain confidential information from HealthInsight. The information is intended for use by the person named on this transmittal. If you are not the intended recipient, be aware that any disclosure, copying, distribution, or use of the contents of this transmission is prohibited. If you have received this message in error, please inform the sender and delete all copies. From jimdettman at verizon.net Thu Nov 3 11:22:45 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 03 Nov 2016 12:22:45 -0400 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <020101d235e4$89d551c0$9d7ff540$@net> References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <020101d235e4$89d551c0$9d7ff540$@net> Message-ID: Yes and no. DoEvent yields the processing time to the OS, but your code remains active. Sleep on the other hand tells the OS to put the process on to sleep for that amount of time, and nothing executes. When the sleep is over, you'll be on the next line of code. No need to be used together; when you sleep, everything else gets time. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, November 03, 2016 11:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Does the Sleep API function provide the same functionality as the DoEvents loop ? Or should they be used together ? DoEvents Sleep 500 ' Wait 1/2 second -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Thu Nov 3 11:25:27 2016 From: df.waters at outlook.com (Dan Waters) Date: Thu, 3 Nov 2016 16:25:27 +0000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <020101d235e4$89d551c0$9d7ff540$@net> Message-ID: Does Access dream of Cross-Tab Queries? I probably have ... :-) Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 03, 2016 11:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Yes and no. DoEvent yields the processing time to the OS, but your code remains active. Sleep on the other hand tells the OS to put the process on to sleep for that amount of time, and nothing executes. When the sleep is over, you'll be on the next line of code. No need to be used together; when you sleep, everything else gets time. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, November 03, 2016 11:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Does the Sleep API function provide the same functionality as the DoEvents loop ? Or should they be used together ? DoEvents Sleep 500 ' Wait 1/2 second -- 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 stuart at lexacorp.com.pg Thu Nov 3 17:12:23 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 04 Nov 2016 08:12:23 +1000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: , <020101d235e4$89d551c0$9d7ff540$@net>, Message-ID: <581BB647.22309.49A11A4@stuart.lexacorp.com.pg> One is a sbuseet of the other. When you use DoEvents, everything else currently queued gets done, then Sleep 0 is called. When you use Sleep 0 there is no guarantee that all VBA events in the queue will be completed, Good article here on the overhead of DoEvents: http://www.fmsinc.com/microsoftaccess/modules/examples/avoiddoevents.asp But for advantages of using it, see here: http://analystcave.com/vba-sleep-vs-wait/ On 3 Nov 2016 at 12:22, Jim Dettman wrote: > > Yes and no. > > DoEvent yields the processing time to the OS, but your code remains > active. > > Sleep on the other hand tells the OS to put the process on to sleep > for that amount of time, and nothing executes. When the sleep is > over, you'll be on the next line of code. > > No need to be used together; when you sleep, everything else gets > time. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Mark Simms Sent: Thursday, November 03, 2016 11:11 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Access Has Stopped Working! (Working Solution) > > Does the Sleep API function provide the same functionality as the > DoEvents loop ? > > Or should they be used together ? > > DoEvents > Sleep 500 ' Wait 1/2 second > > > > -- > 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 bradm at blackforestltd.com Fri Nov 4 08:41:32 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 4 Nov 2016 13:41:32 +0000 Subject: [AccessD] I must have angered the Printer gods Message-ID: All, Yesterday, our accountant asked for a minor change to report (Access 2007). I made the requested change and ran some tests by printing the report. I used a printer that is in our Sales department. This morning, when our accountant printed the report, it was printed on the Sales department printer instead of the Accounting department printer. He then called me and together, we opened the report and then printed it by selecting the Accounting department printer. Again, it printed on the Sales department printer in spite of the fact that we had explicitly selected the Accounting department printer. I could not believe this and tried it two more times and sure enough, the report continued to print on the wrong printer. I then tried the exact same steps on my PC and things worked properly. I have never seen this happen before. The strange thing is that this problem did not occur until after I have made some minor cosmetic changes to the report. None of the changes that I made, had anything to do with the printer, other than the fact that I used a different printer for one of my tests. Any ideas on why this problem has surfaced? Is there a way to "force" an Access report to a specific printer (with no user intervention)? Thanks, Brad From jbodin at sbor.com Fri Nov 4 08:54:29 2016 From: jbodin at sbor.com (John Bodin) Date: Fri, 4 Nov 2016 13:54:29 +0000 Subject: [AccessD] I must have angered the Printer gods In-Reply-To: References: Message-ID: If you edit the report and go into the page layout properties, is the Sales Dept printer the default printer instead of the generic Default Printer option? I've had report changes and testing to Adobe PDF only to find out once I saved it, it made my Adobe the default printer and users kept getting errors when printing. May not be your issue, but along the same lines. -hth John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Brad Marks Sent: Friday, November 4, 2016 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] I must have angered the Printer gods All, Yesterday, our accountant asked for a minor change to report (Access 2007). I made the requested change and ran some tests by printing the report. I used a printer that is in our Sales department. This morning, when our accountant printed the report, it was printed on the Sales department printer instead of the Accounting department printer. He then called me and together, we opened the report and then printed it by selecting the Accounting department printer. Again, it printed on the Sales department printer in spite of the fact that we had explicitly selected the Accounting department printer. I could not believe this and tried it two more times and sure enough, the report continued to print on the wrong printer. I then tried the exact same steps on my PC and things worked properly. I have never seen this happen before. The strange thing is that this problem did not occur until after I have made some minor cosmetic changes to the report. None of the changes that I made, had anything to do with the printer, other than the fact that I used a different printer for one of my tests. Any ideas on why this problem has surfaced? Is there a way to "force" an Access report to a specific printer (with no user intervention)? Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bradm at blackforestltd.com Fri Nov 4 10:18:06 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 4 Nov 2016 15:18:06 +0000 Subject: [AccessD] I must have angered the Printer gods In-Reply-To: References: Message-ID: John, Thank You, Thank You, Thank You. You were right on target. I was not familiar with this setting. I am not sure how it got changed, but it is now fixed. WOW!!! - The Printer Mystery solved and the Cubbies won the World Series - Outstanding Week! Brad -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Friday, November 04, 2016 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I must have angered the Printer gods If you edit the report and go into the page layout properties, is the Sales Dept printer the default printer instead of the generic Default Printer option? I've had report changes and testing to Adobe PDF only to find out once I saved it, it made my Adobe the default printer and users kept getting errors when printing. May not be your issue, but along the same lines. -hth John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Brad Marks Sent: Friday, November 4, 2016 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] I must have angered the Printer gods All, Yesterday, our accountant asked for a minor change to report (Access 2007). I made the requested change and ran some tests by printing the report. I used a printer that is in our Sales department. This morning, when our accountant printed the report, it was printed on the Sales department printer instead of the Accounting department printer. He then called me and together, we opened the report and then printed it by selecting the Accounting department printer. Again, it printed on the Sales department printer in spite of the fact that we had explicitly selected the Accounting department printer. I could not believe this and tried it two more times and sure enough, the report continued to print on the wrong printer. I then tried the exact same steps on my PC and things worked properly. I have never seen this happen before. The strange thing is that this problem did not occur until after I have made some minor cosmetic changes to the report. None of the changes that I made, had anything to do with the printer, other than the fact that I used a different printer for one of my tests. Any ideas on why this problem has surfaced? Is there a way to "force" an Access report to a specific printer (with no user intervention)? Thanks, Brad -- 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 charlotte.foust at gmail.com Fri Nov 4 13:01:59 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 4 Nov 2016 11:01:59 -0700 Subject: [AccessD] I must have angered the Printer gods In-Reply-To: References: Message-ID: When you make a design change to a report and print it then save it, the printer you use becomes the default printer for that report. It's been that way a loooooong time. Charlotte Foust (916) 206-4336 On Fri, Nov 4, 2016 at 8:18 AM, Brad Marks wrote: > John, > > Thank You, Thank You, Thank You. > > You were right on target. I was not familiar with this setting. I am not > sure how it got changed, but it is now fixed. > > WOW!!! - The Printer Mystery solved and the Cubbies won the World Series > - Outstanding Week! > > Brad > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Bodin > Sent: Friday, November 04, 2016 8:54 AM > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Subject: Re: [AccessD] I must have angered the Printer gods > > If you edit the report and go into the page layout properties, is the > Sales Dept printer the default printer instead of the generic Default > Printer option? I've had report changes and testing to Adobe PDF only to > find out once I saved it, it made my Adobe the default printer and users > kept getting errors when printing. May not be your issue, but along the > same lines. -hth > > > > > > > John Bodin > > sBOR Office Systems > > jbodin at sbor.com > > > > > ________________________________ > From: AccessD on behalf of Brad > Marks > Sent: Friday, November 4, 2016 9:41 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] I must have angered the Printer gods > > All, > > Yesterday, our accountant asked for a minor change to report (Access 2007). > > I made the requested change and ran some tests by printing the report. I > used a printer that is in our Sales department. > > This morning, when our accountant printed the report, it was printed on > the Sales department printer instead of the Accounting department printer. > > He then called me and together, we opened the report and then printed it > by selecting the Accounting department printer. Again, it printed on the > Sales department printer in spite of the fact that we had explicitly > selected the Accounting department printer. I could not believe this and > tried it two more times and sure enough, the report continued to print on > the wrong printer. > > I then tried the exact same steps on my PC and things worked properly. > > I have never seen this happen before. > > The strange thing is that this problem did not occur until after I have > made some minor cosmetic changes to the report. None of the changes that I > made, had anything to do with the printer, other than the fact that I used > a different printer for one of my tests. > > Any ideas on why this problem has surfaced? > > Is there a way to "force" an Access report to a specific printer (with no > user intervention)? > > Thanks, > Brad > > -- > 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 newsgrps at dalyn.co.nz Fri Nov 4 16:32:29 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 5 Nov 2016 10:32:29 +1300 Subject: [AccessD] Access and Sharepoint Message-ID: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From mwp.reid at qub.ac.uk Fri Nov 4 16:54:53 2016 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 4 Nov 2016 21:54:53 +0000 Subject: [AccessD] Access and Sharepoint In-Reply-To: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> Message-ID: <976E500DD0AF35409874A413967BFAECA082FFC6@EX2K10-MBX6.ads.qub.ac.uk> http://social.technet.microsoft.com/wiki/contents/articles/12514.sharepoint-2013-access-services.aspx Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 21:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Nov 4 17:46:47 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 5 Nov 2016 11:46:47 +1300 Subject: [AccessD] Access and Sharepoint In-Reply-To: <976E500DD0AF35409874A413967BFAECA082FFC6@EX2K10-MBX6.ads.qub.ac.uk> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> <976E500DD0AF35409874A413967BFAECA082FFC6@EX2K10-MBX6.ads.qub.ac.uk> Message-ID: <001001d236ed$5325c920$f9715b60$@dalyn.co.nz> Thanks Martin but that tells me about how to use Access and Sharepoint. I am looking for information on why or why not I should use it at all. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, 5 November 2016 10:55 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access and Sharepoint http://social.technet.microsoft.com/wiki/contents/articles/12514.sharepoint- 2013-access-services.aspx Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 21:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 mwp.reid at qub.ac.uk Sat Nov 5 02:14:10 2016 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 5 Nov 2016 07:14:10 +0000 Subject: [AccessD] Access and Sharepoint In-Reply-To: <001001d236ed$5325c920$f9715b60$@dalyn.co.nz> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> <976E500DD0AF35409874A413967BFAECA082FFC6@EX2K10-MBX6.ads.qub.ac.uk>, <001001d236ed$5325c920$f9715b60$@dalyn.co.nz> Message-ID: <976E500DD0AF35409874A413967BFAECA08301E2@EX2K10-MBX6.ads.qub.ac.uk> David Good discussion here https://social.technet.microsoft.com/Forums/office/en-US/a448c161-ed28-41a6-9c0d-526329412b7f/access-web-database-limitations?forum=sharepointgeneralprevious Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 22:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access and Sharepoint Thanks Martin but that tells me about how to use Access and Sharepoint. I am looking for information on why or why not I should use it at all. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, 5 November 2016 10:55 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access and Sharepoint http://social.technet.microsoft.com/wiki/contents/articles/12514.sharepoint- 2013-access-services.aspx Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 21:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 newsgrps at dalyn.co.nz Sat Nov 5 03:11:12 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 5 Nov 2016 21:11:12 +1300 Subject: [AccessD] Access and Sharepoint In-Reply-To: <976E500DD0AF35409874A413967BFAECA08301E2@EX2K10-MBX6.ads.qub.ac.uk> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> <976E500DD0AF35409874A413967BFAECA082FFC6@EX2K10-MBX6.ads.qub.ac.uk>, <001001d236ed$5325c920$f9715b60$@dalyn.co.nz> <976E500DD0AF35409874A413967BFAECA08301E2@EX2K10-MBX6.ads.qub.ac.uk> Message-ID: <000001d2373c$2c87d2f0$859778d0$@dalyn.co.nz> Thanks Martin, Your link lead me to the following link which is for later versions of Sharepoint and Access: https://support.office.com/en-us/article/Should-I-create-an-Access-app-or-an -Access-desktop-database-497fd86b-e982-43c4-8318-81e6d3e711e8 If anyone has any other points not mentioned feel free to chip in :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, 5 November 2016 8:14 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access and Sharepoint David Good discussion here https://social.technet.microsoft.com/Forums/office/en-US/a448c161-ed28-41a6- 9c0d-526329412b7f/access-web-database-limitations?forum=sharepointgeneralpre vious Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 22:51 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access and Sharepoint Thanks Martin but that tells me about how to use Access and Sharepoint. I am looking for information on why or why not I should use it at all. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Saturday, 5 November 2016 10:55 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access and Sharepoint http://social.technet.microsoft.com/wiki/contents/articles/12514.sharepoint- 2013-access-services.aspx Sent from my Windows Phone ________________________________ From: David Emerson Sent: ?04/?11/?2016 21:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From jimdettman at verizon.net Sat Nov 5 06:16:47 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 05 Nov 2016 07:16:47 -0400 Subject: [AccessD] Access and Sharepoint In-Reply-To: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz> Message-ID: <> There are two approaches here in regards to SharePoint: 1. Desktop DB storing data in SharePoint 2. A Web database or web app. For #1, data is stored in SharePoint lists, which after 5,000 records perform quite poorly. SharePoint is not a relational DBMS. You'd be far better off with a SQL server BE. I'm not sure why anyone would even consider using this approach. For #2, with Access 2007/2010 data is in SharePoint. So besides data performance problems, you also have a FE that is not all that flexible. Good for basic CRUD operations and that's about it. With Access 2013/2016 - Data for Web Apps is stored in a SQL Server BE....much better. SharePoint is still involved as it hosts the FE, but your still stuck with a limited FE. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, November 04, 2016 05:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sat Nov 5 07:06:39 2016 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 5 Nov 2016 12:06:39 +0000 Subject: [AccessD] Access and Sharepoint In-Reply-To: References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz>, Message-ID: <976E500DD0AF35409874A413967BFAECA0830375@EX2K10-MBX6.ads.qub.ac.uk> Actually all SharePoint data Is stored in sql server. You just cant use it like a RDMS Martin Sent from my Windows Phone ________________________________ From: Jim Dettman Sent: ?05/?11/?2016 11:17 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access and Sharepoint <> There are two approaches here in regards to SharePoint: 1. Desktop DB storing data in SharePoint 2. A Web database or web app. For #1, data is stored in SharePoint lists, which after 5,000 records perform quite poorly. SharePoint is not a relational DBMS. You'd be far better off with a SQL server BE. I'm not sure why anyone would even consider using this approach. For #2, with Access 2007/2010 data is in SharePoint. So besides data performance problems, you also have a FE that is not all that flexible. Good for basic CRUD operations and that's about it. With Access 2013/2016 - Data for Web Apps is stored in a SQL Server BE....much better. SharePoint is still involved as it hosts the FE, but your still stuck with a limited FE. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, November 04, 2016 05:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 kathryn at bassett.net Sat Nov 5 13:01:58 2016 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 5 Nov 2016 11:01:58 -0700 Subject: [AccessD] 3 Dates Questions Message-ID: <004b01d2378e$b4267a70$1c736f50$@bassett.net> https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 Question has to do with this report, and any others I might make: ReportBasedOnqryGroomOrder Q 1) When I open the report, the header date shows as Saturday, 05 Nov 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm sure it has to do with the way I have my computer's dates set. Is there a way to force dates in reports to show up dd MMM yyyy, regardless of the way the system is set up? Q 2) Same report. In the table, the Notes field is set as a memo, and the form has the scrollbar to see all of the field. Scroll down to Chadwick for my example. I put a bunch of garbage in the notes field. How do I make the report expand/contract to be the size needed? Q3) See ! Sample entry where I need to enter *just a year* in the date field so I can put "2nd month, 9th day" in the notes when Quaker marriage dates are encountered. Besides Quaker dates, sometimes all I have is a year. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net?? --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From kathryn at bassett.net Sat Nov 5 13:04:31 2016 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 5 Nov 2016 11:04:31 -0700 Subject: [AccessD] 3 Dates Questions Message-ID: <005201d2378f$0f7a9af0$2e6fd0d0$@bassett.net> Forgot to mention the version Access 2007-2010 (version 14.0.6023.1000 32bit) --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From gustav at cactus.dk Sat Nov 5 14:03:06 2016 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 5 Nov 2016 19:03:06 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <004b01d2378e$b4267a70$1c736f50$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> Message-ID: Hi Kathryn You have specified "Long date" for the one field, but no (blank) format for the other. /gustav ________________________________________ Fra: AccessD p? vegne af Kathryn Bassett Sendt: 5. november 2016 19:01:58 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] 3 Dates Questions https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 Question has to do with this report, and any others I might make: ReportBasedOnqryGroomOrder Q 1) When I open the report, the header date shows as Saturday, 05 Nov 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm sure it has to do with the way I have my computer's dates set. Is there a way to force dates in reports to show up dd MMM yyyy, regardless of the way the system is set up? Q 2) Same report. In the table, the Notes field is set as a memo, and the form has the scrollbar to see all of the field. Scroll down to Chadwick for my example. I put a bunch of garbage in the notes field. How do I make the report expand/contract to be the size needed? Q3) See ! Sample entry where I need to enter *just a year* in the date field so I can put "2nd month, 9th day" in the notes when Quaker marriage dates are encountered. Besides Quaker dates, sometimes all I have is a year. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sat Nov 5 16:32:29 2016 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 5 Nov 2016 14:32:29 -0700 Subject: [AccessD] 3 Dates Questions In-Reply-To: References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> Message-ID: <006901d237ac$1d09a680$571cf380$@bassett.net> On my computer, I have dd MMM yyy as the short date format, and dddd, dd MMM yyyy set for the long date format; so the long date for the header is working correctly to include the day of the week. What I'm trying to accomplish is to make a date show up as, for example, 19 Oct 1778 on someone else's computer instead of 10/19/1778. At the very least have it as Oct 19, 1779. We need the month name, not numbers, because otherwise how does one tell if 3/5 is Mar 5 or May 3? You have to have the month name in genealogy. Kathryn > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Gustav Brock > Sent: Saturday, 05 Nov 2016 12:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] 3 Dates Questions > > Hi Kathryn > > You have specified "Long date" for the one field, but no (blank) format for > the other. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af > Kathryn Bassett > Sendt: 5. november 2016 19:01:58 > Til: 'Access Developers discussion and problem solving' > Emne: [AccessD] 3 Dates Questions > > https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 > Question has to do with this report, and any others I might make: > ReportBasedOnqryGroomOrder > > Q 1) When I open the report, the header date shows as Saturday, 05 Nov > 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend > opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm > sure it has to do with the way I have my computer's dates set. Is there a way > to force dates in reports to show up dd MMM yyyy, regardless of the way > the system is set up? > > Q 2) Same report. In the table, the Notes field is set as a memo, and the form > has the scrollbar to see all of the field. Scroll down to Chadwick for my > example. I put a bunch of garbage in the notes field. How do I make the > report expand/contract to be the size needed? > > Q3) See ! Sample entry where I need to enter *just a year* in the date field > so I can put "2nd month, 9th day" in the notes when Quaker marriage dates > are encountered. Besides Quaker dates, sometimes all I have is a year. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > -- > 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 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From gustav at cactus.dk Sat Nov 5 17:05:42 2016 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 5 Nov 2016 22:05:42 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <004b01d2378e$b4267a70$1c736f50$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> Message-ID: Hi Kathryn Re 2: Set property CanGrow for the textbox to: Yes Re 3: There is no way to do this for a date field. If you only have the year, enter year-1-1. If you have year and month, enter year-month-1. You can easily create a Quaker Date formatted string with Format. /gustav ________________________________________ Fra: AccessD p? vegne af Kathryn Bassett Sendt: 5. november 2016 19:01:58 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] 3 Dates Questions https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 Question has to do with this report, and any others I might make: ReportBasedOnqryGroomOrder Q 1) When I open the report, the header date shows as Saturday, 05 Nov 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm sure it has to do with the way I have my computer's dates set. Is there a way to force dates in reports to show up dd MMM yyyy, regardless of the way the system is set up? Q 2) Same report. In the table, the Notes field is set as a memo, and the form has the scrollbar to see all of the field. Scroll down to Chadwick for my example. I put a bunch of garbage in the notes field. How do I make the report expand/contract to be the size needed? Q3) See ! Sample entry where I need to enter *just a year* in the date field so I can put "2nd month, 9th day" in the notes when Quaker marriage dates are encountered. Besides Quaker dates, sometimes all I have is a year. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Nov 5 17:21:20 2016 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 5 Nov 2016 22:21:20 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <006901d237ac$1d09a680$571cf380$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> , <006901d237ac$1d09a680$571cf380$@bassett.net> Message-ID: Hi Kathryn To your first question: Set the Format property to: dd mmm yyyy. To your last question: Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread. /gustav ________________________________________ Fra: AccessD p? vegne af Kathryn Bassett Sendt: 5. november 2016 22:32:29 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] 3 Dates Questions On my computer, I have dd MMM yyy as the short date format, and dddd, dd MMM yyyy set for the long date format; so the long date for the header is working correctly to include the day of the week. What I'm trying to accomplish is to make a date show up as, for example, 19 Oct 1778 on someone else's computer instead of 10/19/1778. At the very least have it as Oct 19, 1779. We need the month name, not numbers, because otherwise how does one tell if 3/5 is Mar 5 or May 3? You have to have the month name in genealogy. Kathryn > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Gustav Brock > Sent: Saturday, 05 Nov 2016 12:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] 3 Dates Questions > > Hi Kathryn > > You have specified "Long date" for the one field, but no (blank) format for > the other. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af > Kathryn Bassett > Sendt: 5. november 2016 19:01:58 > Til: 'Access Developers discussion and problem solving' > Emne: [AccessD] 3 Dates Questions > > https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 > Question has to do with this report, and any others I might make: > ReportBasedOnqryGroomOrder > > Q 1) When I open the report, the header date shows as Saturday, 05 Nov > 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend > opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm > sure it has to do with the way I have my computer's dates set. Is there a way > to force dates in reports to show up dd MMM yyyy, regardless of the way > the system is set up? > > Q 2) Same report. In the table, the Notes field is set as a memo, and the form > has the scrollbar to see all of the field. Scroll down to Chadwick for my > example. I put a bunch of garbage in the notes field. How do I make the > report expand/contract to be the size needed? > > Q3) See ! Sample entry where I need to enter *just a year* in the date field > so I can put "2nd month, 9th day" in the notes when Quaker marriage dates > are encountered. Besides Quaker dates, sometimes all I have is a year. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > -- > 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 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sat Nov 5 17:54:21 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sat, 5 Nov 2016 22:54:21 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <006901d237ac$1d09a680$571cf380$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> <006901d237ac$1d09a680$571cf380$@bassett.net> Message-ID: Are you using VBA somewhere in the process to produce the date? Be aware that any dates processed via VBA are converted to that (IMHO most annoying) US format (MM/DD/YYYY) *regardless* of your OS and regional settings unless you handle them specifically using DATESERIAL or similar. Regards Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Sunday, 6 November 2016 8:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 3 Dates Questions On my computer, I have dd MMM yyy as the short date format, and dddd, dd MMM yyyy set for the long date format; so the long date for the header is working correctly to include the day of the week. What I'm trying to accomplish is to make a date show up as, for example, 19 Oct 1778 on someone else's computer instead of 10/19/1778. At the very least have it as Oct 19, 1779. We need the month name, not numbers, because otherwise how does one tell if 3/5 is Mar 5 or May 3? You have to have the month name in genealogy. Kathryn > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Gustav Brock > Sent: Saturday, 05 Nov 2016 12:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] 3 Dates Questions > > Hi Kathryn > > You have specified "Long date" for the one field, but no (blank) > format for > the other. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af > Kathryn Bassett > Sendt: 5. november 2016 19:01:58 > Til: 'Access Developers discussion and problem solving' > Emne: [AccessD] 3 Dates Questions > > https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 > Question has to do with this report, and any others I might make: > ReportBasedOnqryGroomOrder > > Q 1) When I open the report, the header date shows as Saturday, 05 Nov > 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend > opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm > sure it has to do with the way I have my computer's dates set. Is > there a way > to force dates in reports to show up dd MMM yyyy, regardless of the > way the system is set up? > > Q 2) Same report. In the table, the Notes field is set as a memo, and > the form > has the scrollbar to see all of the field. Scroll down to Chadwick for > my example. I put a bunch of garbage in the notes field. How do I make > the report expand/contract to be the size needed? > > Q3) See ! Sample entry where I need to enter *just a year* in the date field > so I can put "2nd month, 9th day" in the notes when Quaker marriage > dates are encountered. Besides Quaker dates, sometimes all I have is a year. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is > my soap" > kathryn at bassett.net > http://bassett.net > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > -- > 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 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sat Nov 5 17:55:21 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sat, 5 Nov 2016 22:55:21 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> , <006901d237ac$1d09a680$571cf380$@bassett.net> Message-ID: "To your last question: Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread" Strongly recommend using the approach above when dealing with any dates. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, 6 November 2016 9:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 3 Dates Questions Hi Kathryn To your first question: Set the Format property to: dd mmm yyyy. To your last question: Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread. /gustav ________________________________________ Fra: AccessD p? vegne af Kathryn Bassett Sendt: 5. november 2016 22:32:29 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] 3 Dates Questions On my computer, I have dd MMM yyy as the short date format, and dddd, dd MMM yyyy set for the long date format; so the long date for the header is working correctly to include the day of the week. What I'm trying to accomplish is to make a date show up as, for example, 19 Oct 1778 on someone else's computer instead of 10/19/1778. At the very least have it as Oct 19, 1779. We need the month name, not numbers, because otherwise how does one tell if 3/5 is Mar 5 or May 3? You have to have the month name in genealogy. Kathryn > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Gustav Brock > Sent: Saturday, 05 Nov 2016 12:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] 3 Dates Questions > > Hi Kathryn > > You have specified "Long date" for the one field, but no (blank) > format for > the other. > > /gustav > > ________________________________________ > Fra: AccessD p? vegne af > Kathryn Bassett > Sendt: 5. november 2016 19:01:58 > Til: 'Access Developers discussion and problem solving' > Emne: [AccessD] 3 Dates Questions > > https://www.dropbox.com/s/1akv3zu8jvxf4e9/MarriageIndex.accdb?dl=0 > Question has to do with this report, and any others I might make: > ReportBasedOnqryGroomOrder > > Q 1) When I open the report, the header date shows as Saturday, 05 Nov > 2016 and Alexander Hugh's date shows as 19 Oct 1778. When my friend > opens it, Alexander's date shows as 10/19/1778 (all dates show that way). I'm > sure it has to do with the way I have my computer's dates set. Is > there a way > to force dates in reports to show up dd MMM yyyy, regardless of the > way the system is set up? > > Q 2) Same report. In the table, the Notes field is set as a memo, and > the form > has the scrollbar to see all of the field. Scroll down to Chadwick for > my example. I put a bunch of garbage in the notes field. How do I make > the report expand/contract to be the size needed? > > Q3) See ! Sample entry where I need to enter *just a year* in the date field > so I can put "2nd month, 9th day" in the notes when Quaker marriage > dates are encountered. Besides Quaker dates, sometimes all I have is a year. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is > my soap" > kathryn at bassett.net > http://bassett.net > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > -- > 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 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- 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 kathryn at bassett.net Sat Nov 5 18:31:56 2016 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 5 Nov 2016 16:31:56 -0700 Subject: [AccessD] 3 Dates Questions In-Reply-To: References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> Message-ID: <007c01d237bc$ccededd0$66c9c970$@bassett.net> > To your first question: Set the Format property to: dd mmm yyyy. When seeing that area, I was thrown by the dropdown box only giving some choices. But with what you said, I ignored the choics and put in the dd mmm yyyy. It works on my end, so now I just need to wait until my friend sees my email to check it again to see if it worked on her end. I'm optimistic. > Re 2: Set property CanGrow for the textbox to: Yes I knew there was someplace that should show up, just couldn't find it. Finally did, so that now works. > Re 3: There is no way to do this for a date field. > If you only have the year, enter year-1-1. If you have year and month, enter > year-month-1. > You can easily create a Quaker Date formatted string with Format. I need clarification for -1-1. Are you giving some way that I can put in 1 Jan 1850 and have it suppress the 1 and the Jan? That would work as long as it was for just that record, but not if it does it for all records. But I definitely don't want it to show up as 1 Jan when the date might be mid year. > Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread It would have to be yyyy mmm dd. 2016 Mar 05 would be ok, but... Some people that would ultimately read the report aren't that bright, so 3 digit month name is mandatory. Is that something set by system or specific field in the databse? If by system, then it's the same problem I have now. And no, Darryl, I'm not using VBA. Kathryn --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From stuart at lexacorp.com.pg Sun Nov 6 00:10:12 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Nov 2016 15:10:12 +1000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <007c01d237bc$ccededd0$66c9c970$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net>, , <007c01d237bc$ccededd0$66c9c970$@bassett.net> Message-ID: <581EBB34.4714.106551EC@stuart.lexacorp.com.pg> I run into this one a lot. I use 1 Jan if it's year only with a boolean field IsDOBYear in the table with a checkbox on the entry form and use conditional formatting to show either date or year. On 5 Nov 2016 at 16:31, Kathryn Bassett wrote: > > To your first question: Set the Format property to: dd mmm yyyy. > > When seeing that area, I was thrown by the dropdown box only giving > some choices. But with what you said, I ignored the choics and put in > the dd mmm yyyy. It works on my end, so now I just need to wait until > my friend sees my email to check it again to see if it worked on her > end. I'm optimistic. > > > Re 2: Set property CanGrow for the textbox to: Yes > > I knew there was someplace that should show up, just couldn't find it. > Finally did, so that now works. > > > Re 3: There is no way to do this for a date field. > > If you only have the year, enter year-1-1. If you have year and > > month, > enter > > year-month-1. > > You can easily create a Quaker Date formatted string with Format. > > I need clarification for -1-1. Are you giving some way that I can put > in 1 Jan 1850 and have it suppress the 1 and the Jan? That would work > as long as it was for just that record, but not if it does it for all > records. But I definitely don't want it to show up as 1 Jan when the > date might be mid year. > > > Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread > > It would have to be yyyy mmm dd. 2016 Mar 05 would be ok, but... Some > people that would ultimately read the report aren't that bright, so 3 > digit month name is mandatory. Is that something set by system or > specific field in the databse? If by system, then it's the same > problem I have now. > > And no, Darryl, I'm not using VBA. > > Kathryn > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Sun Nov 6 01:55:53 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sun, 6 Nov 2016 20:55:53 +1300 Subject: [AccessD] Access and Sharepoint In-Reply-To: <976E500DD0AF35409874A413967BFAECA0830375@EX2K10-MBX6.ads.qub.ac.uk> References: <000601d236e2$f2327eb0$d6977c10$@dalyn.co.nz>, <976E500DD0AF35409874A413967BFAECA0830375@EX2K10-MBX6.ads.qub.ac.uk> Message-ID: <000f01d23803$33262180$99726480$@dalyn.co.nz> Thanks Martin and Jim. Much appreciated -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Sunday, 6 November 2016 1:07 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access and Sharepoint Actually all SharePoint data Is stored in sql server. You just cant use it like a RDMS Martin Sent from my Windows Phone ________________________________ From: Jim Dettman Sent: ?05/?11/?2016 11:17 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access and Sharepoint <> There are two approaches here in regards to SharePoint: 1. Desktop DB storing data in SharePoint 2. A Web database or web app. For #1, data is stored in SharePoint lists, which after 5,000 records perform quite poorly. SharePoint is not a relational DBMS. You'd be far better off with a SQL server BE. I'm not sure why anyone would even consider using this approach. For #2, with Access 2007/2010 data is in SharePoint. So besides data performance problems, you also have a FE that is not all that flexible. Good for basic CRUD operations and that's about it. With Access 2013/2016 - Data for Web Apps is stored in a SQL Server BE....much better. SharePoint is still involved as it hosts the FE, but your still stuck with a limited FE. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, November 04, 2016 05:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and Sharepoint Hi Team, I have a potential client that is talking about using Sharepoint with an Access FE. I have not read much detail about this but what I have read indicates that unless he database is very basic then the Access/Sharepoint combination falls short. The client doesn't need internet access to the database - it could be run on their internal network. I haven't yet been given a description of their requirements so not sure how complicated the project may be in regards to table structure and data size. Any thoughts or helpful links? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 gustav at cactus.dk Sun Nov 6 02:41:32 2016 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 6 Nov 2016 08:41:32 +0000 Subject: [AccessD] 3 Dates Questions In-Reply-To: <007c01d237bc$ccededd0$66c9c970$@bassett.net> References: <004b01d2378e$b4267a70$1c736f50$@bassett.net> , <007c01d237bc$ccededd0$66c9c970$@bassett.net> Message-ID: Hi Kathryn You can choose to set any date format you like. It will always override the default format(s) which are read from the system settings. You can't have a value of "some date" in a date field - it will always be a specific date. Stuart's method is probably good - based on real life experience as it is. Of course, you could choose any other month/day than 01-01 to represent an undetermined month-date like 07-01 as a chosen median date of a year. Another method is to store year, month, and day in separate fields, but that will add a lot of overhead for reading, validation, and writing of the compound dates which you probably don't want. /gustav ________________________________________ Fra: AccessD p? vegne af Kathryn Bassett Sendt: 6. november 2016 00:31:56 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] 3 Dates Questions > To your first question: Set the Format property to: dd mmm yyyy. When seeing that area, I was thrown by the dropdown box only giving some choices. But with what you said, I ignored the choics and put in the dd mmm yyyy. It works on my end, so now I just need to wait until my friend sees my email to check it again to see if it worked on her end. I'm optimistic. > Re 2: Set property CanGrow for the textbox to: Yes I knew there was someplace that should show up, just couldn't find it. Finally did, so that now works. > Re 3: There is no way to do this for a date field. > If you only have the year, enter year-1-1. If you have year and month, enter > year-month-1. > You can easily create a Quaker Date formatted string with Format. I need clarification for -1-1. Are you giving some way that I can put in 1 Jan 1850 and have it suppress the 1 and the Jan? That would work as long as it was for just that record, but not if it does it for all records. But I definitely don't want it to show up as 1 Jan when the date might be mid year. > Use the ISO sequence, yyyy-mm-dd, which nowhere can be misread It would have to be yyyy mmm dd. 2016 Mar 05 would be ok, but... Some people that would ultimately read the report aren't that bright, so 3 digit month name is mandatory. Is that something set by system or specific field in the databse? If by system, then it's the same problem I have now. And no, Darryl, I'm not using VBA. Kathryn --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Sun Nov 6 08:59:20 2016 From: jbodin at sbor.com (John Bodin) Date: Sun, 6 Nov 2016 14:59:20 +0000 Subject: [AccessD] Updates to O365 Bus/Bus Prem Subscriptions to include Access Message-ID: FYI for any of you O365 Bus & Bus Prem subscribers, Access will be included. Additional Connectors included and supposedly more to come. fwiw. https://blogs.office.com/2016/11/04/microsoft-access-now-included-in-office-365-business-and-business-premium-with-new-enhancements/ John --- John Bodin sBOR Office Systems jbodin at sbor.com From jbodin at sbor.com Sun Nov 6 12:02:14 2016 From: jbodin at sbor.com (John Bodin) Date: Sun, 6 Nov 2016 18:02:14 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.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 jamesbutton at blueyonder.co.uk Sun Nov 6 15:22:25 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Sun, 6 Nov 2016 21:22:25 -0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Is this the same sort of time for the PC's effected - as in each PC has it's own time of nut working fast - I have win-10 on a standalone systems and have noted that the windows (10) backup facility is taking so much time that it effects other apps - even the Defender update of 'Definitions' stalls for over 30 minutes Particularly annoying at the start of the month when system image tries to redo the image And - if the system is not powered-up at the (scheduled) backup run-time - then the effect starts soon after the next power-up, and is even worse than usual. Not saying it isn't a network problem - but backups to local drives is a pain, and a backup to a cloud, or even a LAN connected drive could be very effective in slowing down the system JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 6, 2016 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Sun Nov 6 18:13:25 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 7 Nov 2016 00:13:25 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: In our office we have about 40 PC and when we moved to W10 we immediately noticed a significant network speed degradation during windows updates. Things would frequently grind down to less than dial up speeds as windows automatically choose to download and install updates. It would also be annoying as many of our PC's run overnight doing processing work and you could not prevent some updates from auto rebooting outside of 'active hours' (as set in the OS settings). We did two things which have helped out. Firstly all out PC now have a simple registry hack (which I can send you off list if you want) which prevents windows from downloading updates automatically. Rather like windows 7, All users now get prompted when there are updates available and need to manually click to download and install which they can do at a time of their choosing. This way we can control any major updates until quieter times such as weekends or overnight. I have also run a script which prevents Windows telemetry from constantly reporting back home. I cannot quantify if this has made an improvement or not, but common sense seems to suggest that stopping the PC's from tracking user behaviour and uploading back to MS is likely to help improve response times and network speeds. These are not specifically related to Access, but might be of use to you anyway. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Button Sent: Monday, 7 November 2016 8:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App Is this the same sort of time for the PC's effected - as in each PC has it's own time of nut working fast - I have win-10 on a standalone systems and have noted that the windows (10) backup facility is taking so much time that it effects other apps - even the Defender update of 'Definitions' stalls for over 30 minutes Particularly annoying at the start of the month when system image tries to redo the image And - if the system is not powered-up at the (scheduled) backup run-time - then the effect starts soon after the next power-up, and is even worse than usual. Not saying it isn't a network problem - but backups to local drives is a pain, and a backup to a cloud, or even a LAN connected drive could be very effective in slowing down the system JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 6, 2016 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.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 -- 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 jbodin at sbor.com Sun Nov 6 19:44:33 2016 From: jbodin at sbor.com (John Bodin) Date: Mon, 7 Nov 2016 01:44:33 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would notice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, November 06, 2016 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App In our office we have about 40 PC and when we moved to W10 we immediately noticed a significant network speed degradation during windows updates. Things would frequently grind down to less than dial up speeds as windows automatically choose to download and install updates. It would also be annoying as many of our PC's run overnight doing processing work and you could not prevent some updates from auto rebooting outside of 'active hours' (as set in the OS settings). We did two things which have helped out. Firstly all out PC now have a simple registry hack (which I can send you off list if you want) which prevents windows from downloading updates automatically. Rather like windows 7, All users now get prompted when there are updates available and need to manually click to download and install which they can do at a time of their choosing. This way we can control any major updates until quieter times such as weekends or overnight. I have also run a script which prevents Windows telemetry from constantly reporting back home. I cannot quantify if this has made an improvement or not, but common sense seems to suggest that stopping the PC's from tracking user behaviour and uploading back to MS is likely to help improve response times and network speeds. These are not specifically related to Access, but might be of use to you anyway. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Button Sent: Monday, 7 November 2016 8:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App Is this the same sort of time for the PC's effected - as in each PC has it's own time of nut working fast - I have win-10 on a standalone systems and have noted that the windows (10) backup facility is taking so much time that it effects other apps - even the Defender update of 'Definitions' stalls for over 30 minutes Particularly annoying at the start of the month when system image tries to redo the image And - if the system is not powered-up at the (scheduled) backup run-time - then the effect starts soon after the next power-up, and is even worse than usual. Not saying it isn't a network problem - but backups to local drives is a pain, and a backup to a cloud, or even a LAN connected drive could be very effective in slowing down the system JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 6, 2016 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.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 -- 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 gustav at cactus.dk Mon Nov 7 02:05:57 2016 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 7 Nov 2016 08:05:57 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Hi John It would be interesting if you could have the option to fire up a 3040 with a clean Windows 10 install, not an update from Windows 7, and check that out. I have nothing but good experiences with Windows 10. Also, I must say running a 15-user application in Access 2000 is a bit, eh, exotic. Indeed as you can do a straight upsize to Access 2016 just by opening the mdb and run a convert to the accdb format. The changes needed will be minor if you have no fancy coding. Not a direct answer to your question, I know, just some thoughts. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af John Bodin Sendt: 7. november 2016 02:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John From jimdettman at verizon.net Mon Nov 7 07:32:59 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 07 Nov 2016 08:32:59 -0500 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: <14E9F49D6FD743BC8EA0B50877172634@XPS> <> It ensures that the garbage/clean-up loop problem doesn't occur. If it's less than 65535, you can still have the problem. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 06, 2016 01:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Mon Nov 7 10:02:19 2016 From: jbodin at sbor.com (John Bodin) Date: Mon, 7 Nov 2016 16:02:19 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Hi Gustav, thanks for response. I'm thinking it is something with a Windows Update that happened sometime in early July, which coincidentally was when I started rolling out the 3040 upgrades. Received call this morning that someone's pc is really dog slow (only in the Access program) and I have already switched him out from a 3040 to an Opti 7010 w/SSD drive (another user has one of these w/o issue). They are going to switch him back to his old XP machine to see what happens. Reason I'm leaning more towards a windows update is that the 3020's w/Win7 I had in play for some time now had not shown any issues, but recently, they too are having trouble. But the frustrating part is that not everyone experiences the problems. And if they do, it is a here and there problem for part of a day and then nothing wrong for a good stretch. That said, I feel if I were to put in a Win 10 box, I still wouldn't have the warm and fuzzies if it worked for a while. Maybe the second one introduced would all of a sudden exhibit the problem. I wish it was something I could repeat on demand so I'd know where to look (like a bad reference to a dll or ocx.) As to running 15 folks in A2K, I had an A2K insurance app that was as sophisticated or more so than this one, running with 60+ users in three locations w/o issue. Company was bought out a little while back so they no longer use it, but no real issues to speak of. Leary of 2016 since I do use some third party stuff that I'd have to trace out and try to develop replacement code or workarounds. Certainly possible, just not a quick easy gig. Something that would eventually need to be done, for sure... SQLServer backend sounds like where this should go. Thanks, John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Gustav Brock Sent: Monday, November 7, 2016 3:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John It would be interesting if you could have the option to fire up a 3040 with a clean Windows 10 install, not an update from Windows 7, and check that out. I have nothing but good experiences with Windows 10. Also, I must say running a 15-user application in Access 2000 is a bit, eh, exotic. Indeed as you can do a straight upsize to Access 2016 just by opening the mdb and run a convert to the accdb format. The changes needed will be minor if you have no fancy coding. Not a direct answer to your question, I know, just some thoughts. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af John Bodin Sendt: 7. november 2016 02:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Mon Nov 7 10:26:35 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Mon, 7 Nov 2016 16:26:35 -0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, November 7, 2016 12:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App In our office we have about 40 PC and when we moved to W10 we immediately noticed a significant network speed degradation during windows updates. Things would frequently grind down to less than dial up speeds as windows automatically choose to download and install updates. It would also be annoying as many of our PC's run overnight doing processing work and you could not prevent some updates from auto rebooting outside of 'active hours' (as set in the OS settings). We did two things which have helped out. Firstly all out PC now have a simple registry hack (which I can send you off list if you want) which prevents windows from downloading updates automatically. Rather like windows 7, All users now get prompted when there are updates available and need to manually click to download and install which they can do at a time of their choosing. This way we can control any major updates until quieter times such as weekends or overnight. I have also run a script which prevents Windows telemetry from constantly reporting back home. I cannot quantify if this has made an improvement or not, but common sense seems to suggest that stopping the PC's from tracking user behaviour and uploading back to MS is likely to help improve response times and network speeds. These are not specifically related to Access, but might be of use to you anyway. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Button Sent: Monday, 7 November 2016 8:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App Is this the same sort of time for the PC's effected - as in each PC has it's own time of nut working fast - I have win-10 on a standalone systems and have noted that the windows (10) backup facility is taking so much time that it effects other apps - even the Defender update of 'Definitions' stalls for over 30 minutes Particularly annoying at the start of the month when system image tries to redo the image And - if the system is not powered-up at the (scheduled) backup run-time - then the effect starts soon after the next power-up, and is even worse than usual. Not saying it isn't a network problem - but backups to local drives is a pain, and a backup to a cloud, or even a LAN connected drive could be very effective in slowing down the system JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 6, 2016 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com From jamesbutton at blueyonder.co.uk Mon Nov 7 10:39:58 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Mon, 7 Nov 2016 16:39:58 -0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: John, Thanks for the reply - Yes, does seem to be Access related rather than other processes - You seem to have excluded be comms error handling, and most other processes. Some possible sources of delays - Server processes need more memory - is something else now using more of the server memory Database Locks within the facility Index gone missing Server level File locking ?? Some part of the processing has gone over a critical (to the memory management) number of entries, or data file size I have come across problems related to data keys being date based and the randomising algorithm was grouping data causing locking problems, and then the 'fixed' version spreading data causing massively unexpected numbers of reads to get the spread-out data. Basically - all guesses at things to look at! If you do identify a cause, please post the analysis ! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, November 7, 2016 1:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John From gustav at cactus.dk Mon Nov 7 10:44:27 2016 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 7 Nov 2016 16:44:27 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af James Button Sendt: 7. november 2016 17:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB From accessd at shaw.ca Mon Nov 7 12:50:19 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 7 Nov 2016 11:50:19 -0700 (MST) Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: <217632551.51569587.1478544619421.JavaMail.zimbra@shaw.ca> James: As a retiree, my computing work is not that essential. It seems that everytime, I start my Windws10 box, it goes into update mode and that generally continues on for up to half and hour. We have taken the approach, when ever we will be doing some Adobe inDesign work, to logging in and then go for breakfast. By the time we get back everything is running. Who am I to say that these updates are not important but we also have a number of Linux boxes that also do regular updates. The difference is the Linux updates, run in the background, cause no noticeable affect on performance, take minutes to complete and only require attention if there is a "kernel" update...and those can be delayed until convenient. Also note; full backups and Cloud syncing takes place in the background. My question is, "What is the problem"? Is there very important reasons for the duration of Windows updates, the intrusiveness and the system's apparent inability to multi-task? As this desktop is Microsoft's state-of-the-Art system, you would think that there must be good reasons....? I have computer knowledge and can "fix" most of this annoying crap but there should be information on "Why" and for the average business they are so screwed. Jim ----- Original Message ----- From: "James Button" To: "Access Developers discussion and problem solving" Sent: Monday, November 7, 2016 8:26:35 AM Subject: Re: [AccessD] Speed Issues on network just with Access App Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, November 7, 2016 12:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App In our office we have about 40 PC and when we moved to W10 we immediately noticed a significant network speed degradation during windows updates. Things would frequently grind down to less than dial up speeds as windows automatically choose to download and install updates. It would also be annoying as many of our PC's run overnight doing processing work and you could not prevent some updates from auto rebooting outside of 'active hours' (as set in the OS settings). We did two things which have helped out. Firstly all out PC now have a simple registry hack (which I can send you off list if you want) which prevents windows from downloading updates automatically. Rather like windows 7, All users now get prompted when there are updates available and need to manually click to download and install which they can do at a time of their choosing. This way we can control any major updates until quieter times such as weekends or overnight. I have also run a script which prevents Windows telemetry from constantly reporting back home. I cannot quantify if this has made an improvement or not, but common sense seems to suggest that stopping the PC's from tracking user behaviour and uploading back to MS is likely to help improve response times and network speeds. These are not specifically related to Access, but might be of use to you anyway. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of James Button Sent: Monday, 7 November 2016 8:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App Is this the same sort of time for the PC's effected - as in each PC has it's own time of nut working fast - I have win-10 on a standalone systems and have noted that the windows (10) backup facility is taking so much time that it effects other apps - even the Defender update of 'Definitions' stalls for over 30 minutes Particularly annoying at the start of the month when system image tries to redo the image And - if the system is not powered-up at the (scheduled) backup run-time - then the effect starts soon after the next power-up, and is even worse than usual. Not saying it isn't a network problem - but backups to local drives is a pain, and a backup to a cloud, or even a LAN connected drive could be very effective in slowing down the system JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Sunday, November 6, 2016 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Well after several weeks, still having speed issues. Jim, on your comment about maxing out MaxBuffers, does the max # of 65535 trigger some different behavior than setting it to a very large, but not max, 50000? Just curious as I've mostly seen 50000 as the suggested number. To date, I have made three changes on the machines: MaxBuffers = 50000 GPEdit Turn Off Multicast Name Resolution = Enabled Turn of Autotuning - Netsh Interface TCP Set Global Autotuninglevel=disabled Some days, everyone is good. Other days, one or more stations are bad for 1/2 stretches or longer. Any other ideas besides embarking on a re-write to SQLServer? Appreciate it. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, October 18, 2016 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Mon Nov 7 13:19:02 2016 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 7 Nov 2016 14:19:02 -0500 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <581BB647.22309.49A11A4@stuart.lexacorp.com.pg> References: <020101d235e4$89d551c0$9d7ff540$@net> <581BB647.22309.49A11A4@stuart.lexacorp.com.pg> Message-ID: RE: "When you use Sleep 0 there is no guarantee that all VBA events in the queue will be completed," Stuart, Do you mean OS events, or actually mean VBA events? On Thu, Nov 3, 2016 at 6:12 PM, Stuart McLachlan wrote: > One is a sbuseet of the other. > > When you use DoEvents, everything else currently queued gets done, then > Sleep 0 is called. > > When you use Sleep 0 there is no guarantee that all VBA events in the > queue will be > completed, > > > Good article here on the overhead of DoEvents: > > http://www.fmsinc.com/microsoftaccess/modules/examples/avoiddoevents.asp > > But for advantages of using it, see here: > > http://analystcave.com/vba-sleep-vs-wait/ > > > > On 3 Nov 2016 at 12:22, Jim Dettman wrote: > > > > > Yes and no. > > > > DoEvent yields the processing time to the OS, but your code remains > > active. > > > > Sleep on the other hand tells the OS to put the process on to sleep > > for that amount of time, and nothing executes. When the sleep is > > over, you'll be on the next line of code. > > > > No need to be used together; when you sleep, everything else gets > > time. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Mark Simms Sent: Thursday, November 03, 2016 11:11 AM To: 'Access > > Developers discussion and problem solving' Subject: Re: [AccessD] > > Access Has Stopped Working! (Working Solution) > > > > Does the Sleep API function provide the same functionality as the > > DoEvents loop ? > > > > Or should they be used together ? > > > > DoEvents > > Sleep 500 ' Wait 1/2 second > > > > > > > > -- > > 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 jbodin at sbor.com Mon Nov 7 14:10:47 2016 From: jbodin at sbor.com (John Bodin) Date: Mon, 7 Nov 2016 20:10:47 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: , Message-ID: Thanks Jim. I had customer put an XP box back in play for someone that constantly was having issues and I'll see how that goes over the next few days. It may lean to the theory that a Windows Update(s) is causing the problem since XP hasn't had any updates in over 2 years. I will check the suggestions you have listed out, as best as I can. One question you may or may not know and I hope I can explain it clearly (doubt it). I know that when you make a request for say All Salespeople working with the company for more than 10 years, the entire set of tables referenced in that query are brought from the database on the server to the local PC, where the FE then filters out all the appropriate results. Access is not a true client/server product. Given that, does it matter to the performance of the database if you were to have a lot of tables in the BE database that only get utilized every few weeks? Would it be better to separate those out to a separate database and link to them? Meaning: MDB1 has tables A, B, C & D. Tables A, B & C are used all the time for input and queries, etc. Table D is an archive used for historical lookups which only happens every few weeks. Assuming each table is 25% of the total mdb size, would moving Table D out to a new MDB2 and linking back to it provide any benefit in performance for the every day work that happens on Tables A, B & C? The database would in theory be 3/4 the size it was with table D removed. I'm thinking of how a code module on a local FE mdb would work, where if you had say 30 functions/procedures in ModuleA, but only a few were really used all the time, calling one of those functions loads the entire module and can effect performance. Much appreciated. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of James Button Sent: Monday, November 7, 2016 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, Thanks for the reply - Yes, does seem to be Access related rather than other processes - You seem to have excluded be comms error handling, and most other processes. Some possible sources of delays - Server processes need more memory - is something else now using more of the server memory Database Locks within the facility Index gone missing Server level File locking ?? Some part of the processing has gone over a critical (to the memory management) number of entries, or data file size I have come across problems related to data keys being date based and the randomising algorithm was grouping data causing locking problems, and then the 'fixed' version spreading data causing massively unexpected numbers of reads to get the spread-out data. Basically - all guesses at things to look at! If you do identify a cause, please post the analysis ! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, November 7, 2016 1:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Mon Nov 7 17:53:44 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Mon, 7 Nov 2016 23:53:44 -0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: , Message-ID: Firstly, you should be aware that I have , effectively as far as Access is concerned, been retired for many years. So my posts are from old experiences - 2003 version, with some 'home' work at 2010. Consequently, I hope those with recent experience managing databases will either confirm, or correct my understanding(s). So, my thinking goes along the lines :- Moving some data to a second MDB (or other database file) will mean that the file will be faster to compact and to access Also the amount of real memory required to hold the data for that file will be reduced. Considering that when the OS handling of the file - cache allocated for that I/O buffering - then the OS will start paging the data out to storage So - data from the file to buffer cache, Then from cache to pagefile so that more data can be read into the cache. Then - when all the required data for the query has been read from the mdb? File - Start swapping it with that that was put onto the pagefile So - if a query needs more memory than is available - throughput will slow to maybe 25% (My home PC system now has a MFT that is too large to fit into the available RAM - and it can be faster to copy 5MB files to another device (over USB2 links) and then bulk copy the files back to the new location, rather than to suffer the pagefile thrashing involved in just renaming the files in the main storage partition. And that is system overhead - not I/O allocated to any running application!) Now - if the DBMS is running queries for multiple front ends, the OS managing the file will need much more memory Now - That is something to consider - the .mdb? file size vs the available memory and the number of processes requiring data from that server storage. ------- Now re moving some data to a separate file - It may not have any other effect than to make compression faster - I suspect the effect will depend to a large extent on the structure of the data in that file - if data for each table is in contiguous blocks - then splitting the database may speed up initial access, it may actually slow things down after that initial file load - Much depends on the amount of RAM wanted by the OS to handle the data requests, and the amount available for the service processes. Also, I suspect that more than a few insertions will cause fragmentation of the tables data over the file space - as in new stuff at the end! If that is happening then splitting off the archive data may help - but will that be a daily - weekly, or monthly task - and the database files will probably need compacting for that to have any beneficial effect. If not the initiation, then certainly the checking it worked! And no users left the system (locked?) open to their use. Re data processing being done at the FE - maybe some views - or canned scripts could be useful in reducing the data transferred to the FE. But that would probably involve YOU doing a lot of WORK and ONGOING SUPPORT Yeuck! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, November 7, 2016 8:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App Thanks Jim. I had customer put an XP box back in play for someone that constantly was having issues and I'll see how that goes over the next few days. It may lean to the theory that a Windows Update(s) is causing the problem since XP hasn't had any updates in over 2 years. I will check the suggestions you have listed out, as best as I can. One question you may or may not know and I hope I can explain it clearly (doubt it). I know that when you make a request for say All Salespeople working with the company for more than 10 years, the entire set of tables referenced in that query are brought from the database on the server to the local PC, where the FE then filters out all the appropriate results. Access is not a true client/server product. Given that, does it matter to the performance of the database if you were to have a lot of tables in the BE database that only get utilized every few weeks? Would it be better to separate those out to a separate database and link to them? Meaning: MDB1 has tables A, B, C & D. Tables A, B & C are used all the time for input and queries, etc. Table D is an archive used for historical lookups which only happens every few weeks. Assuming each table is 25% of the total mdb size, would moving Table D out to a new MDB2 and linking back to it provide any benefit in performance for the every day work that happens on Tables A, B & C? The database would in theory be 3/4 the size it was with table D removed. I'm thinking of how a code module on a local FE mdb would work, where if you had say 30 functions/procedures in ModuleA, but only a few were really used all the time, calling one of those functions loads the entire module and can effect performance. Much appreciated. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of James Button Sent: Monday, November 7, 2016 11:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, Thanks for the reply - Yes, does seem to be Access related rather than other processes - You seem to have excluded be comms error handling, and most other processes. Some possible sources of delays - Server processes need more memory - is something else now using more of the server memory Database Locks within the facility Index gone missing Server level File locking ?? Some part of the processing has gone over a critical (to the memory management) number of entries, or data file size I have come across problems related to data keys being date based and the randomising algorithm was grouping data causing locking problems, and then the 'fixed' version spreading data causing massively unexpected numbers of reads to get the spread-out data. Basically - all guesses at things to look at! If you do identify a cause, please post the analysis ! JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, November 7, 2016 1:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John -- 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 darryl at whittleconsulting.com.au Mon Nov 7 20:23:07 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 8 Nov 2016 02:23:07 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: " Indeed as you can do a straight upsize to Access 2016" A bit of a side note, but I have been pleasantly surprised by Access 2016 - it is been very stable and well behaved. Previously it seemed to be unreliable bastard child of MS Office updates, but this time Excel 2016 has been far more bothersome than the new Access 2016. Great stuff. Worth considering. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 November, 2016 7:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John It would be interesting if you could have the option to fire up a 3040 with a clean Windows 10 install, not an update from Windows 7, and check that out. I have nothing but good experiences with Windows 10. Also, I must say running a 15-user application in Access 2000 is a bit, eh, exotic. Indeed as you can do a straight upsize to Access 2016 just by opening the mdb and run a convert to the accdb format. The changes needed will be minor if you have no fancy coding. Not a direct answer to your question, I know, just some thoughts. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af John Bodin Sendt: 7. november 2016 02:45 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl/Jim, thanks for replies and suggestions. Here's the reason I believe the problem is with the jet engine on the local pc's OR a Windows Update, and not the network. Everything else runs stellar on the network. Internet Explorer/Chrome no issues. VOIP phone system, no problem. Quickbooks w/6 simultaneous users, no problem. Opening files over network shares, no problem. I was hoping I'd have the slow network performance on word/excel files over the network as I have seen that multiple times and have been able to change settings on the server to correct. Unfortunately, works just fine. All Windows 7 Pro 64 bit with a few older XP boxes which have never and still never experience the speed problem. I eliminated the new gig switch I put in a little while back by getting an older model that is much less sophisticated, and no issues w/anything except the random slowdowns with Access. That goes for both the new and the older switch so I have to rule that out. And rule out the wiring as I have moved workstations around to see if maybe a bad cable was in play, but problem still randomly happens on original location and moved location. The server does not have Access installed, just has the MDB's on a shared drive. Copy of FE on local PC's C drive. I have some C drives that are SSD's, but doesn't seem to matter. What the norm has been for the 20+ years this A2K system has been around is that if you are the only one in (say on a Saturday), everything is lightning fast. Screens open in a second or less. When 2 or more people get in, then the screens slow a bit, but usually no more than 2 seconds to open any form, very acceptable. No complaints, even when 15+ are in at the same time, some running multiple instances of Access (one instance runs a Dispatch Board on one monitor, the other instances runs the rest of the program, like Work Order Entry, Purchase Orders, Quotes, etc.) The other thing I always do before putting an update into the FE is to create a blank MDB and import all the objects from the FE I'm working on and compile the FE. This is what they run, a clean FE. There was phenomenon back on their server in Windows NT days where if I made a change to a report or form say on one machine, which would decompile that FE, if a second person connected to the app, they would no! tice a 2 - 3 minute delay in opening any form, every time they clicked on a button or other form. As soon as everyone got out, one person was left, that person would experience very fast performance again. Creating blank mdb and importing all objects and compiling took care of this, so I keep doing this slightly pain in the tail procedure whenever making updates to the system. Finishing up, not too many months ago the speed issue creeped in. It was around the time of both the addition of the new switch and introduction of Dell 3040 Optiplex Micro machines. I have addressed removing network switch, but that didn't help. I can't remove all of the 3040's because of problem with old XP boxes and the version of QB people are running. There are maybe 4 or 5 3040's in play. Quite possible a Windows Update came across which would only effect the Win7 boxes, that's a high possibility in my book. And not being able to explain this one, I've seen a person being the only one in the system on a Saturday morning and the system hung for minutes at a time (white screen) just opening the Access App. Not even the typical places which are several of the forms/procedures. That had never happened ever, so a gremlin has snuck in somewhere and I just do not know where. I do not know what tool(s) to utilize that may help determine the hangup (maybe something like Wireshark, I do not know.) Thanks for listening. John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Nov 7 21:08:00 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 8 Nov 2016 03:08:00 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: " Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible." The registry hack works on all versions of Windows 10, which is why I like it. It gives control back to the user to download and install the updates when it suits them, rather than MS forcing it upon you. There are times and places where you really don't want to be waiting for a OS update to download and install. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 8 November, 2016 3:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af James Button Sendt: 7. november 2016 17:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Nov 8 00:50:29 2016 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 8 Nov 2016 06:50:29 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Hi Darryl OK. What I mentioned was regarding the UI. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Darryl Collins Sendt: 8. november 2016 04:08 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App " Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible." The registry hack works on all versions of Windows 10, which is why I like it. It gives control back to the user to download and install the updates when it suits them, rather than MS forcing it upon you. There are times and places where you really don't want to be waiting for a OS update to download and install. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 8 November, 2016 3:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav From pcs.accessd at gmail.com Tue Nov 8 01:05:34 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Tue, 8 Nov 2016 15:05:34 +0800 Subject: [AccessD] Windows on a Mac In-Reply-To: References: <027901d234b5$33928150$9ab783f0$@bchacc.com> Message-ID: Gold Standard, I'm not sure - but I use VMWare Fusion on a Macbook Pro 16Gb Ram. I do all Office app work except for Access on Office 2011 for Mac. I use Microsoft Remote Desktop to remote into clients' Terminal Server. I run two Virtual Machines concurrently: A Windows 8.1 with Office 2010 and a Windows 7 with SQL 2014 Express. This way I can emulate the Access FE - SQL Backend on the clients' Cloudserver (TS for Access Frontends and separate server for SQL Db) and makes it very easy to port an Access Frontend app update version to the production system on a Terminal Server. I've had this setup for the past five years and have had no problems with VMWare Fusion.... /borge On Thu, Nov 3, 2016 at 4:09 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > This has been my (limited) experience too. Bootcamp is native (and free) > but Parallels is more useful, flexible and powerful. Make sure you give > yourself enough disk space for both OS's when you set it up. > > Please don't over weight this comment. I haven't had much to do with > Macs, but the few times I have had to set this up for people Parallels has > worked well. > > Cheers > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Doug Steele > Sent: Wednesday, 2 November 2016 3:59 PM > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Subject: Re: [AccessD] Windows on a Mac > > I use both Parallels and VMWare Fusion. They work well but Parallels > would be my choice as it is faster to access files outside the VM. Fusion > seems to lose the connection to the 'external' file system whenever it > isn't being accessed, and takes a couple of seconds to get it back. > > I used to use Bootcamp but I prefer a VM where I can switch back and forth > between OSX and Windows. > > Doug > > On Tue, Nov 1, 2016 at 8:00 PM, Rocky Smolin > wrote: > > > What's the current gold standard for running Windows on a Mac? > > > > > > > > MTIA > > > > > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > 760-683-5777 > > > > www.bchacc.com > > > > www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > > > > > > > > > -- > > 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 darryl at whittleconsulting.com.au Tue Nov 8 01:08:17 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 8 Nov 2016 07:08:17 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Aaaah, yes - in that case your options in the home edition are, ummm, none! :) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, 8 November 2016 5:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi Darryl OK. What I mentioned was regarding the UI. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Darryl Collins Sendt: 8. november 2016 04:08 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App " Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible." The registry hack works on all versions of Windows 10, which is why I like it. It gives control back to the user to download and install the updates when it suits them, rather than MS forcing it upon you. There are times and places where you really don't want to be waiting for a OS update to download and install. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 8 November, 2016 3:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Tue Nov 8 02:28:24 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Tue, 8 Nov 2016 16:28:24 +0800 Subject: [AccessD] Sayonara In-Reply-To: <457541634.106037277.1476296500550.JavaMail.root@shaw.ca> References: <457541634.106037277.1476296500550.JavaMail.root@shaw.ca> Message-ID: Dear Arthur, I've been subscribing to the various lists on databaseadvisors.com for the past many years, and I've had the benefit and blessings of being helped and assisted by you and many of the other 'hardcore' people on these lists. In fact whenever I've had a problem with Access or SQL Db I have always turned to databaseadvisors as a source of authority. Your inputs have always stood out for me for a variety of reasons ... Gustav expressed it very well. In fact, I share all the sentiments and good wishes that have poured forth in response to your post and wish you the very best in your continued journey. I pause and reflect on what Robert shared with you - and the rest of us: Thank You! Thank you for the many times you reached out to help me and my fellow developers around the world. Thank you for the courage to say goodbye, you will be missed. We see you off first to the land ahead, as we are all not far behind. I'll leave you with this poem: God never promised a life without pain, Laughter without tears or sun without rain. But He did promise strength for the day, Comfort for the tears and the light for the way, And for all who believe In His Heaven above He rewards their faith In His everlasting love. (unknown) Sayonara! Arthur On Thu, Oct 13, 2016 at 2:21 AM, Jim Lawrence wrote: > Someone actually phoned to tell me of your situation. You are known in the > extended developers community. > > This is terrible and you will be very much missed. I hope you are in no > pain. > > Send updates as long as you can. > > Peace be with you. > Jim > > ----- Original Message ----- > From: "Arthur Fuller" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com>, "Off Topic" , > "Discussion concerning MS SQL Server" > Sent: Sunday, October 9, 2016 2:08:26 PM > Subject: [AccessD] Sayonara > > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions not > only to me but also this worldwide community that has envigrated me and > made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my friends. I > don't know how to tell you how much you enhanced my life, but you did. It's > time to say goodbye, and I love you all, and have profited from you all. > Thank you for enhancing my life. Might be a few more days, but this needed > to be said. I met a lot of friends here and this will not be forgotten, > > -- > Arthur > -- > 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 gustav at cactus.dk Tue Nov 8 06:40:02 2016 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 8 Nov 2016 12:40:02 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Hi John At Wikipedia: https://en.wikipedia.org/wiki/Microsoft_Access I noticed this: In July 2011, Microsoft acknowledged an intermittent query performance problem with all versions of Access and Windows 7 and Windows Server 2008 R2 due to the nature of resource management being vastly different in newer operating systems.[35] This issue severely affects query performance on both Access 2003 and earlier with the Jet Database Engine code, as well as Access 2007 and later with the Access Database Engine (ACE).[35] Microsoft has issued hotfixes KB2553029 for Access 2007 and KB2553116 for Access 2010, but will not fix the issue with Jet 4.0 as it is out of mainstream support.[35] The reference 35 is here: http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/86e59bc0-3524-45be-89d0-3528cfea842b If that is so (the last sentence), it may be the full explanation for your trouble - and you seem to be hosed. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 7. november 2016 17:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af James Button Sendt: 7. november 2016 17:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB From pcs.accessd at gmail.com Tue Nov 8 08:06:46 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Tue, 8 Nov 2016 22:06:46 +0800 Subject: [AccessD] Cross Posted - Moving a Access Update Query to MS SQL Message-ID: Hi all, MS Access 2010 SQL 2014 Express I have trouble in moving a simple Access update query to MS SQL Server syntax To exemplify: two tables: tblMerged UFN (PK, Number / Integer) MergedData (Memo) Sample Data: 10, 20, 30 tblSource ID (PK, Number / Integer) UFN (FK, Number / Integer) SourceData (Text, 255) SelectFlag (Boolean) Sample Data: ID UFN SourceData SelectFlag 15 10 10_Text_1 False 14 10 10_Text_2 False 3 10 10_Text_3 False 40 20 20_Text_1 False 39 20 20_Text_2 False 11 20 20_Text_3 False 70 30 30_Text_1 False 68 30 30_Text_2 False 65 30 30_Text_3 False 101 10 10_Text_0 False 102 20 20_Text_0 False 103 30 30_Text_0 False The Update Query looks like this: UPDATE tblMerged AS m INNER JOIN tblSource AS s ON m.UFN = s.UFN SET m.MergedData = IIf(Len([m].[MergedData])>0, [m].[MergedData] & Chr(13) & Chr(10) & [s].[SourceData] & " >>A " & " >>B " & " >>C ", [s].[SourceData] & " >>A " & " >>B " & " >>C "), s.SelectFlag = True WHERE (((s.SelectFlag)=False)); The resulting data set in tblMerged looks like: UFN MergedData 10 "10_Text_1 >>A >>B >>C 10_Text_2 >>A >>B >>C 10_Text_3 >>A >>B >>C 10_Text_0 >>A >>B >>C " 20 "20_Text_1 >>A >>B >>C 20_Text_2 >>A >>B >>C 20_Text_3 >>A >>B >>C 20_Text_0 >>A >>B >>C " 30 "30_Text_1 >>A >>B >>C 30_Text_2 >>A >>B >>C 30_Text_3 >>A >>B >>C 30_Text_0 >>A >>B >>C " So, for each record in tblMerged the query iterates over all inner-joined records in tblSource and neatly concatenates all SourceData text strings with a linefeed/linebreak between each text string AND it updates the second table tblSource as well by setting SelectFlag to True .... (As an aside: no matter how I set the sort index of the tblSource.ID - or use a query as the second object in the update query - a query on tblSource with a certain sort order on the records - the resulting text strings in MergedData are always read in and merged in the order the records were added.I would have expected same order as the PK index order of tblSource.ID) The question I am seeking your help with is How do we do this as a stored procedure in MS SQL : concatenate and merge in the tblMerged and update the SelectFlag in tblSource using one update query ?? I created the update query in a stored procedure in MS SQL as: UPDATE dbo.tblMerged SET [MergedData] = IIF((LEN(cast([MergedData] as nvarchar(max))))> 0 , CONCAT(cast([MergedData] as nvarchar(max)) , char(13), char(10) , cs.SourceData, ' >>A ' , ' >>B ' , ' >>C '), CONCAT([cs].[SourceData] , ' >>A ' , ' >>B ' , ' >>C ')) FROM dbo.tblMerged csm JOIN tblSource AS cs ON csm.UFN = cs.UFN ; The update query appears to only act on one record from tblSource - and we are not able to update the SelectFlag - (hence no WHERE (((s.SelectFlag)=0)) clause in the MS SQL ) The result of the update query on tblMerged: UFN MergedData 10 10_Text_2 >>A >>B >>C 20 20_Text_0 >>A >>B >>C 30 30_Text_3 >>A >>B >>C A simple thing to do in Access SQL/Query - in MS SQL Server ??? Any help appreciated... /borge From bandjkr at roadrunner.com Tue Nov 8 08:19:12 2016 From: bandjkr at roadrunner.com (Banbjkr@roadrunner.com) Date: Tue, 8 Nov 2016 09:19:12 -0500 Subject: [AccessD] Test Message-ID: <9CC0869C-6467-43B0-B21B-227CBD47B860@roadrunner.com> Sent from my iPhone From garykjos at gmail.com Tue Nov 8 08:42:16 2016 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 8 Nov 2016 08:42:16 -0600 Subject: [AccessD] Test In-Reply-To: <9CC0869C-6467-43B0-B21B-227CBD47B860@roadrunner.com> References: <9CC0869C-6467-43B0-B21B-227CBD47B860@roadrunner.com> Message-ID: Received loud and clear On Tue, Nov 8, 2016 at 8:19 AM, Banbjkr at roadrunner.com wrote: > > > Sent from my iPhone > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From jbodin at sbor.com Tue Nov 8 08:52:09 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 8 Nov 2016 14:52:09 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Hmmm, great find Gustav. I wonder if my system worked fine when I only had a few Win7 boxes in play and mostly XP boxes, but now that the majority are Win7, this magnifies the issue and brings it to light. Ug! Just had a thought. If I can confirm that the re-introduction of an XP box yesterday to a user who was having tons of lag issues with two different Win7 boxes, worked w/o issue yesterday and so far today, my thought would be to install XP Mode on the Win7 Computers, install Access and run the app that way. I'd have to do a few other installs as well (like PDF995, Chrome which will be limited in how it works, etc.) that I'd have to do in the XP vm, but I think that would work. What do you think? Thanks again. Appreciate it. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Gustav Brock Sent: Tuesday, November 8, 2016 7:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John At Wikipedia: https://en.wikipedia.org/wiki/Microsoft_Access I noticed this: In July 2011, Microsoft acknowledged an intermittent query performance problem with all versions of Access and Windows 7 and Windows Server 2008 R2 due to the nature of resource management being vastly different in newer operating systems.[35] This issue severely affects query performance on both Access 2003 and earlier with the Jet Database Engine code, as well as Access 2007 and later with the Access Database Engine (ACE).[35] Microsoft has issued hotfixes KB2553029 for Access 2007 and KB2553116 for Access 2010, but will not fix the issue with Jet 4.0 as it is out of mainstream support.[35] The reference 35 is here: http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/86e59bc0-3524-45be-89d0-3528cfea842b If that is so (the last sentence), it may be the full explanation for your trouble - and you seem to be hosed. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 7. november 2016 17:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af James Button Sendt: 7. november 2016 17:27 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Speed Issues on network just with Access App Darryl, (and anybody else interested) Re slowdown in win-10 I noted that: Soon after win-10 came to our PC's the win-7 update process got very slow And - for PC's with less than 1GB memory the update went from a few minutes - maybe up to 30 for a check of what to get, to several hours, maybe a day. That can be helped by turning off ALL concurrently running processes - including performance monitor, and anti-virus checking. The new update process seemed to want to read all of the files on the OS partition. I used the profile facility in 10-pro to set it to ask about updates - and when that constraint seemed to get turned off by a fix, turned it back on. I was told that the anniversary version would remove the profile facility - but, while I may not be able to set it anymore ( haven't tried) it still seems to be asking about fixes Problem seems to be that while earlier versions of Defender went and got the updates themselves, and then windows update could be invoked for the rest of the fixes, The constraint setting seems to also stop defender automatically getting the latest definitions, and it needs prompting. Then - you have to wait for that to finish the update (using the update engine) before you can get Windows Update to try to use the update engine So - win-7 - I download the fix sets and do an offline update - (most restarts are without asking for confirmation - most user interaction seems to be - "accept the licence for the new version" a much faster process than having to use the MS process to access and download individual fixes. Could be that a large proportion of the "got that block, next block please requests" from the PC are timing out and having to be re-sent again, and again and.. So keeping the PC busy waiting for data and timeouts rather than actual data processing. But - them's just my guesses based on what I have managed to get details of, and work out! JimB -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Nov 8 09:08:16 2016 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 8 Nov 2016 15:08:16 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Hi John That should work, but don't forget to map drives from within the VM. Don't use internally carried-over drives from the host. Still, I regard this as a dead end, for emergency use only. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af John Bodin Sendt: 8. november 2016 15:52 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hmmm, great find Gustav. I wonder if my system worked fine when I only had a few Win7 boxes in play and mostly XP boxes, but now that the majority are Win7, this magnifies the issue and brings it to light. Ug! Just had a thought. If I can confirm that the re-introduction of an XP box yesterday to a user who was having tons of lag issues with two different Win7 boxes, worked w/o issue yesterday and so far today, my thought would be to install XP Mode on the Win7 Computers, install Access and run the app that way. I'd have to do a few other installs as well (like PDF995, Chrome which will be limited in how it works, etc.) that I'd have to do in the XP vm, but I think that would work. What do you think? Thanks again. Appreciate it. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Gustav Brock Sent: Tuesday, November 8, 2016 7:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John At Wikipedia: https://en.wikipedia.org/wiki/Microsoft_Access I noticed this: In July 2011, Microsoft acknowledged an intermittent query performance problem with all versions of Access and Windows 7 and Windows Server 2008 R2 due to the nature of resource management being vastly different in newer operating systems.[35] This issue severely affects query performance on both Access 2003 and earlier with the Jet Database Engine code, as well as Access 2007 and later with the Access Database Engine (ACE).[35] Microsoft has issued hotfixes KB2553029 for Access 2007 and KB2553116 for Access 2010, but will not fix the issue with Jet 4.0 as it is out of mainstream support.[35] The reference 35 is here: http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/86e59bc0-3524-45be-89d0-3528cfea842b If that is so (the last sentence), it may be the full explanation for your trouble - and you seem to be hosed. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 7. november 2016 17:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav From jbodin at sbor.com Tue Nov 8 09:19:08 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 8 Nov 2016 15:19:08 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Agreed on the dead end. I have to propose upgrading to a newer(est) version of Access and ultimately SQL Server on the back end. But there is testing that would need to be done no matter if we go with any version 2010 and higher on both the FE and BE, never mind SQL Server. System has been pretty rock solid over the past 15 years, a few corruptions here and there, except for this most recent speed issue. I did just check with the user who got his XP machine back and he worked just fine all yesterday and so far today. He's a happy camper even though he went back in time. This pretty much confirms that XP is really fine so it does give me both options - short-term XP Mode, longer term upgrade to newer Access and eventually SQL Server. It will also open up the discussion for an existing retail industry solution so I will have to see how that conversation goes. John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Gustav Brock Sent: Tuesday, November 8, 2016 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John That should work, but don't forget to map drives from within the VM. Don't use internally carried-over drives from the host. Still, I regard this as a dead end, for emergency use only. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af John Bodin Sendt: 8. november 2016 15:52 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hmmm, great find Gustav. I wonder if my system worked fine when I only had a few Win7 boxes in play and mostly XP boxes, but now that the majority are Win7, this magnifies the issue and brings it to light. Ug! Just had a thought. If I can confirm that the re-introduction of an XP box yesterday to a user who was having tons of lag issues with two different Win7 boxes, worked w/o issue yesterday and so far today, my thought would be to install XP Mode on the Win7 Computers, install Access and run the app that way. I'd have to do a few other installs as well (like PDF995, Chrome which will be limited in how it works, etc.) that I'd have to do in the XP vm, but I think that would work. What do you think? Thanks again. Appreciate it. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Gustav Brock Sent: Tuesday, November 8, 2016 7:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Hi John At Wikipedia: https://en.wikipedia.org/wiki/Microsoft_Access I noticed this: In July 2011, Microsoft acknowledged an intermittent query performance problem with all versions of Access and Windows 7 and Windows Server 2008 R2 due to the nature of resource management being vastly different in newer operating systems.[35] This issue severely affects query performance on both Access 2003 and earlier with the Jet Database Engine code, as well as Access 2007 and later with the Access Database Engine (ACE).[35] Microsoft has issued hotfixes KB2553029 for Access 2007 and KB2553116 for Access 2010, but will not fix the issue with Jet 4.0 as it is out of mainstream support.[35] The reference 35 is here: http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/86e59bc0-3524-45be-89d0-3528cfea842b If that is so (the last sentence), it may be the full explanation for your trouble - and you seem to be hosed. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 7. november 2016 17:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Speed Issues on network just with Access App Hi John and Darryl In my experience, Windows Update has been vastly improved from Win7 to Win8.x and indeed to Win10. It now runs smoothly in the background. Also, it can be adjusted to your liking in the Enterprise version; the Home edition is not that flexible. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 8 19:18:48 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 8 Nov 2016 17:18:48 -0800 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> Message-ID: <053201d23a27$3947d470$abd77d50$@bchacc.com> All: I put the Pause function in and it seemed to work on my machine. But still have the problem at the client site. It didn't work here at .1 seconds, but at 1 second it did. That same dll seems to be in the error log. But I don't find anything on the internets about it. Any more ideas? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Hi Rocky, I think Jim is correct. First, save this as a Public Sub. '--------------------- Public Sub Pause(Optional sngNumberOfSeconds As Single = 0.1) On Error GoTo EH '-- Purpose: This will 'pause' running code so that Access can get other things done Dim sngPauseTime As Single Dim sngStart As Single If sngNumberOfSeconds = 0 Then Exit Sub sngPauseTime = sngNumberOfSeconds sngStart = Timer Do While Timer < sngStart + sngPauseTime DoEvents Loop EH: Exit Sub End Sub '-------------------------- Next, replace the 2nd DoEvents with Call Pause. I do this in my code but I didn't think you would need it. By default, Pause will run a loop of DoEvents for 1/10 of a second. Again, Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Nov 8 19:49:08 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 8 Nov 2016 17:49:08 -0800 Subject: [AccessD] Access Has Stopped Working! In-Reply-To: References: <02ae01d234be$3fd797d0$bf86c770$@bchacc.com> <00c201d234c7$57eafd40$07c0f7c0$@dalyn.co.nz> <001b01d234cb$328b2170$97a16450$@bchacc.com> <0EC588BC7FF945A39F80E00945BB1676@XPS> <003c01d23506$8f687830$ae396890$@bchacc.com> <009501d23526$6390a960$2ab1fc20$@bchacc.com> Message-ID: <053f01d23a2b$7688b080$639a1180$@bchacc.com> The dll msvcr90.dll, which may be the dll causing the problem, appears in 12 places on my system and in 6 different versions. Is there some way to determine which of the 12 is running when the 'stopped working' message appears? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, November 02, 2016 9:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! On Wed, Nov 2, 2016 at 9:30 AM, Rocky Smolin wrote: > Jim: > > I just got the error on my box - twice. The event logs read: > FWIW: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. This answer on StackOverflow may help (problem with having VS2008 runtime installed on the user computer, not VS2010??) http://stackoverflow.com/questions/2993560/c-cli-missing-msvcr90-dll -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Tue Nov 8 19:54:02 2016 From: df.waters at outlook.com (Dan Waters) Date: Wed, 9 Nov 2016 01:54:02 +0000 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: <053201d23a27$3947d470$abd77d50$@bchacc.com> References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <053201d23a27$3947d470$abd77d50$@bchacc.com> Message-ID: Hi Rocky, Glad to hear that something is working! I do have this working at 3 customers for many years at 0.1 seconds w/o any errors. 1 second doesn't affect a user much but I'd still try 0.5 seconds. Hope that works! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, November 08, 2016 19:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) All: I put the Pause function in and it seemed to work on my machine. But still have the problem at the client site. It didn't work here at .1 seconds, but at 1 second it did. That same dll seems to be in the error log. But I don't find anything on the internets about it. Any more ideas? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Hi Rocky, I think Jim is correct. First, save this as a Public Sub. '--------------------- Public Sub Pause(Optional sngNumberOfSeconds As Single = 0.1) On Error GoTo EH '-- Purpose: This will 'pause' running code so that Access can get other things done Dim sngPauseTime As Single Dim sngStart As Single If sngNumberOfSeconds = 0 Then Exit Sub sngPauseTime = sngNumberOfSeconds sngStart = Timer Do While Timer < sngStart + sngPauseTime DoEvents Loop EH: Exit Sub End Sub '-------------------------- Next, replace the 2nd DoEvents with Call Pause. I do this in my code but I didn't think you would need it. By default, Pause will run a loop of DoEvents for 1/10 of a second. Again, Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- 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 rockysmolin at bchacc.com Tue Nov 8 21:47:12 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 8 Nov 2016 19:47:12 -0800 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <053201d23a27$3947d470$abd77d50$@bchacc.com> Message-ID: <054e01d23a3b$f4feb3a0$defc1ae0$@bchacc.com> Well, unless I want to invite them over to my house to run their business, I've still got a problem. I'm actually thinking about taking my own machine over there and hooking it up to see if it will run on my machine over there. :) Neither 1 second nor 2 second delay worked at the client site. So I don't hold out much hope for .5 seconds. It does work intermittently - that is, it's not predictable or reliably reproducible. (This really sucks). R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 08, 2016 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Glad to hear that something is working! I do have this working at 3 customers for many years at 0.1 seconds w/o any errors. 1 second doesn't affect a user much but I'd still try 0.5 seconds. Hope that works! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, November 08, 2016 19:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) All: I put the Pause function in and it seemed to work on my machine. But still have the problem at the client site. It didn't work here at .1 seconds, but at 1 second it did. That same dll seems to be in the error log. But I don't find anything on the internets about it. Any more ideas? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Hi Rocky, I think Jim is correct. First, save this as a Public Sub. '--------------------- Public Sub Pause(Optional sngNumberOfSeconds As Single = 0.1) On Error GoTo EH '-- Purpose: This will 'pause' running code so that Access can get other things done Dim sngPauseTime As Single Dim sngStart As Single If sngNumberOfSeconds = 0 Then Exit Sub sngPauseTime = sngNumberOfSeconds sngStart = Timer Do While Timer < sngStart + sngPauseTime DoEvents Loop EH: Exit Sub End Sub '-------------------------- Next, replace the 2nd DoEvents with Call Pause. I do this in my code but I didn't think you would need it. By default, Pause will run a loop of DoEvents for 1/10 of a second. Again, Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- 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 rls at WeBeDb.com Wed Nov 9 08:55:21 2016 From: rls at WeBeDb.com (Robert Stewart) Date: Wed, 09 Nov 2016 08:55:21 -0600 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Arthur, As an icon in our world, you will be missed. I have know you since the Artful Library days. So, it has been a while. You have given freely of your time and greatly benefited lives that you will never even know about. We will all try to live up to your example. Robert User Group Leader Database and GUI Design Workshop Houston, TX At 09:47 PM 11/8/2016, you wrote: > > From: "Arthur Fuller" > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com>, "Off Topic" , > > "Discussion concerning MS SQL Server" > > Sent: Sunday, October 9, 2016 2:08:26 PM > > Subject: [AccessD] Sayonara > > > > I have less than 60 days to live, according to the physicians at my > > hospital.I just want to say Thanks to you all, for your contributions not > > only to me but also this worldwide community that has envigrated me and > > made me feel that life was worth living. > > > > I had a good trip, and now it''s over, within days. Goodbye, my friends. I > > don't know how to tell you how much you enhanced my life, but you did. It's > > time to say goodbye, and I love you all, and have profited from you all. > > Thank you for enhancing my life. Might be a few more days, but this needed > > to be said. I met a lot of friends here and this will not be forgotten, From newsgrps at dalyn.co.nz Wed Nov 9 19:31:08 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 10 Nov 2016 14:31:08 +1300 Subject: [AccessD] Error: Your network access was interrupted Message-ID: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From bensonforums at gmail.com Wed Nov 9 19:55:18 2016 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 9 Nov 2016 20:55:18 -0500 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Message-ID: No experience with that particular error. It seems to me that this may be one of those things that accompanies linked tables and backends on servers where forms are bound. Can you redesign to work with unbound forms and/or temp (local) tables with recordet logic rather than access binding logic? I think unbound forms, in-line SQL and ADO might be your best resolution if you can't get Jet to hold onto connections reliably, and you may want to periodically refresh linked tables with code. Seems a nuissance.. >From my non-flammable Note 3, Bill Benson On Nov 9, 2016 8:34 PM, "David Emerson" wrote: Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Nov 9 20:32:20 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 10 Nov 2016 02:32:20 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Message-ID: " I think unbound forms, in-line SQL and ADO might be your best resolution if you can't get Jet to hold onto connections reliably, and you may want to periodically refresh linked tables with code." That would be the approach I would always use over a network. Using anything 'bound' is risky IMHO. Regards Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Thursday, 10 November 2016 12:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted No experience with that particular error. It seems to me that this may be one of those things that accompanies linked tables and backends on servers where forms are bound. Can you redesign to work with unbound forms and/or temp (local) tables with recordet logic rather than access binding logic? I think unbound forms, in-line SQL and ADO might be your best resolution if you can't get Jet to hold onto connections reliably, and you may want to periodically refresh linked tables with code. Seems a nuissance.. >From my non-flammable Note 3, Bill Benson On Nov 9, 2016 8:34 PM, "David Emerson" wrote: Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 jbodin at sbor.com Wed Nov 9 20:41:24 2016 From: jbodin at sbor.com (John Bodin) Date: Thu, 10 Nov 2016 02:41:24 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Message-ID: David, what version of Access are you using? Also, are the workstations hard-wired or using WiFi? If WiFi, that's a big risk running database apps on those. Are you running Windows 7, 8.x, 10? What version of Windows is on the server? >From some searches, I've seen a fair amount of responses that it is Access, not the network. Are there any XP boxes on the network and if so, do they experience the same issue? Windows servers have a drive disconnect setting that I believe is 15 minutes of inactivity. You see the drives with Red "X's" on them. If a user were to get the error again, have them open Explorer/My Computer and see if the drive your apps is on has Red "X's". Here's a lot of chatter about this. http://answers.microsoft.com/en-us/msoffice/forum/msoffice_access-mso_other/your-network-access-was-interrupted-to-continue/61ed2ca6-ec77-40dd-8251-6f453a6ecb85 John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 8:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Nov 9 20:55:36 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 10 Nov 2016 15:55:36 +1300 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Message-ID: <008a01d23afd$ea0022a0$be0067e0$@dalyn.co.nz> Thanks John, Bill and Darryl. Will pass your comments on. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Thursday, 10 November 2016 3:41 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted David, what version of Access are you using? Also, are the workstations hard-wired or using WiFi? If WiFi, that's a big risk running database apps on those. Are you running Windows 7, 8.x, 10? What version of Windows is on the server? >From some searches, I've seen a fair amount of responses that it is Access, not the network. Are there any XP boxes on the network and if so, do they experience the same issue? Windows servers have a drive disconnect setting that I believe is 15 minutes of inactivity. You see the drives with Red "X's" on them. If a user were to get the error again, have them open Explorer/My Computer and see if the drive your apps is on has Red "X's". Here's a lot of chatter about this. http://answers.microsoft.com/en-us/msoffice/forum/msoffice_access-mso_other/ your-network-access-was-interrupted-to-continue/61ed2ca6-ec77-40dd-8251-6f45 3a6ecb85 John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 8:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 pcs.accessd at gmail.com Thu Nov 10 00:26:56 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Thu, 10 Nov 2016 14:26:56 +0800 Subject: [AccessD] Cross Posted - Moving a Access Update Query to MS SQL In-Reply-To: References: Message-ID: Hi all, It appears that this article addresses the issue: https://www.simple-talk.com/sql/t-sql-programming/ concatenating-row-values-in-transact-sql/ Posting it here in case others may run into the same problem. /borge On Tue, Nov 8, 2016 at 10:06 PM, Borge Hansen wrote: > Hi all, > > MS Access 2010 > SQL 2014 Express > > I have trouble in moving a simple Access update query to MS SQL Server > syntax > > To exemplify: two tables: > > tblMerged > UFN (PK, Number / Integer) > MergedData (Memo) > > Sample Data: > 10, > 20, > 30 > > > tblSource > ID (PK, Number / Integer) > UFN (FK, Number / Integer) > SourceData (Text, 255) > SelectFlag (Boolean) > > Sample Data: > ID UFN SourceData SelectFlag > 15 10 10_Text_1 False > 14 10 10_Text_2 False > 3 10 10_Text_3 False > 40 20 20_Text_1 False > 39 20 20_Text_2 False > 11 20 20_Text_3 False > 70 30 30_Text_1 False > 68 30 30_Text_2 False > 65 30 30_Text_3 False > 101 10 10_Text_0 False > 102 20 20_Text_0 False > 103 30 30_Text_0 False > > > The Update Query looks like this: > > UPDATE tblMerged AS m > INNER JOIN tblSource AS s ON m.UFN = s.UFN > SET m.MergedData = > IIf(Len([m].[MergedData])>0, > [m].[MergedData] & Chr(13) & Chr(10) & [s].[SourceData] & " >>A " & > " >>B " & " >>C ", > [s].[SourceData] & " >>A " & " >>B " & " >>C "), > s.SelectFlag = True > WHERE (((s.SelectFlag)=False)); > > > The resulting data set in tblMerged looks like: > UFN MergedData > 10 "10_Text_1 >>A >>B >>C > 10_Text_2 >>A >>B >>C > 10_Text_3 >>A >>B >>C > 10_Text_0 >>A >>B >>C " > 20 "20_Text_1 >>A >>B >>C > 20_Text_2 >>A >>B >>C > 20_Text_3 >>A >>B >>C > 20_Text_0 >>A >>B >>C " > 30 "30_Text_1 >>A >>B >>C > 30_Text_2 >>A >>B >>C > 30_Text_3 >>A >>B >>C > 30_Text_0 >>A >>B >>C " > > > So, for each record in tblMerged the query iterates over all inner-joined > records in tblSource and neatly concatenates all SourceData text strings > with a linefeed/linebreak between each text string > AND it updates the second table tblSource as well by setting SelectFlag to > True .... > > (As an aside: no matter how I set the sort index of the tblSource.ID - or > use a query as the second object in the update query - a query on tblSource > with a certain sort order on the records - the resulting text strings in > MergedData are always read in and merged in the order the records were > added.I would have expected same order as the PK index order of > tblSource.ID) > > > The question I am seeking your help with is How do we do this as a stored > procedure in MS SQL : concatenate and merge in the tblMerged and update the > SelectFlag in tblSource using one update query ?? > > I created the update query in a stored procedure in MS SQL as: > > UPDATE dbo.tblMerged > SET [MergedData] = > IIF((LEN(cast([MergedData] as nvarchar(max))))> 0 , > CONCAT(cast([MergedData] as nvarchar(max)) , char(13), char(10) , > cs.SourceData, ' >>A ' , ' >>B ' , ' >>C '), > CONCAT([cs].[SourceData] , ' >>A ' , ' >>B ' , ' >>C ')) > FROM dbo.tblMerged csm > JOIN tblSource AS cs ON csm.UFN = cs.UFN > ; > > > The update query appears to only act on one record from tblSource > - and we are not able to update the SelectFlag - (hence no WHERE > (((s.SelectFlag)=0)) clause in the MS SQL ) > > The result of the update query on tblMerged: > > UFN MergedData > 10 10_Text_2 >>A >>B >>C > 20 20_Text_0 >>A >>B >>C > 30 30_Text_3 >>A >>B >>C > > > A simple thing to do in Access SQL/Query - in MS SQL Server ??? > > Any help appreciated... > > /borge > > > > > > > > > > > > > > > > From fuller.artful at gmail.com Thu Nov 10 06:33:32 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 10 Nov 2016 07:33:32 -0500 Subject: [AccessD] Sayonara In-Reply-To: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> References: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Message-ID: Thank you for your kind words. My last mission is to prove the physician wrong, and to persist for at least a couple more years. ? On Wed, Nov 9, 2016 at 9:55 AM, Robert Stewart wrote: > Arthur, > > As an icon in our world, you will be missed. I have know you since the > Artful Library > days. So, it has been a while. You have given freely of your time and > greatly benefited > lives that you will never even know about. > > We will all try to live up to your example. > > Robert > User Group Leader > Database and GUI Design Workshop > Houston, TX > > At 09:47 PM 11/8/2016, you wrote: > >> > From: "Arthur Fuller" >> > To: "Access Developers discussion and problem solving" < >> > accessd at databaseadvisors.com>, "Off Topic" > >, >> > "Discussion concerning MS SQL Server" > s.com> >> > Sent: Sunday, October 9, 2016 2:08:26 PM >> > Subject: [AccessD] Sayonara >> > >> > I have less than 60 days to live, according to the physicians at my >> > hospital.I just want to say Thanks to you all, for your contributions >> not >> > only to me but also this worldwide community that has envigrated me and >> > made me feel that life was worth living. >> > >> > I had a good trip, and now it''s over, within days. Goodbye, my >> friends. I >> > don't know how to tell you how much you enhanced my life, but you did. >> It's >> > time to say goodbye, and I love you all, and have profited from you all. >> > Thank you for enhancing my life. Might be a few more days, but this >> needed >> > to be said. I met a lot of friends here and this will not be forgotten, >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur From jimdettman at verizon.net Thu Nov 10 06:51:09 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 10 Nov 2016 07:51:09 -0500 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> Message-ID: <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Thu Nov 10 07:32:48 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Thu, 10 Nov 2016 13:32:48 -0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> Message-ID: And - to add to the possibilities but probably not in this case: A while ago I took a backup (a whole drive - System(Boot), XP & win-7 partitions) to a personal cloud device. When I tried copying that to a removable drive (as an offline backup of the online backup) I got network errors reported. Repeated attempts using different software seemed (to me) to show that it was something within windows-10 that was getting, or causing the error. Anything (drag.drop, xcopy xxcopy robocopy) running from win-10 platform got the same error reported - in (as near as I could determine) the same 2 places. BUT Win-7 and XP copied the 4GB files OK just Strangely, windows-10 considered the backup files to be a 'folder-set' and would allow me to copy ALL the files from the backup - and that was natively, without even a 'Mount' I eventually deleted those backup files and redid the backup using different software, and have created many other backups since from various systems - various versions of XP, win-7, win-10 And no problems - so there seems (to me) to be nothing actually wrong with the network, or the storage device, just something within windows-10 that got/gets confused with those particular files and reports errors. JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, November 10, 2016 12:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From paul at wordwright.org Thu Nov 10 09:12:27 2016 From: paul at wordwright.org (paul) Date: Thu, 10 Nov 2016 15:12:27 +0000 Subject: [AccessD] Sayonara In-Reply-To: References: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Message-ID: Well done, Arthur. EXACTLY the attitude to adopt. Medics are so often wrong - not intentionally, of course. We should use the advice as guidance, that's all. A zillion other factors wait to kill us - on the road, in the air, from the neighbour's coughing, an electric fault in the kitchen. Chances are society will kill us before our own ills. Best of luck - hold on! Salut paul On 10 November 2016 at 12:33, Arthur Fuller wrote: > Thank you for your kind words. My last mission is to prove the physician > wrong, and to persist for at least a couple more years. ? > > On Wed, Nov 9, 2016 at 9:55 AM, Robert Stewart wrote: > > > Arthur, > > > > As an icon in our world, you will be missed. I have know you since the > > Artful Library > > days. So, it has been a while. You have given freely of your time and > > greatly benefited > > lives that you will never even know about. > > > > We will all try to live up to your example. > > > > Robert > > User Group Leader > > Database and GUI Design Workshop > > Houston, TX > > > > At 09:47 PM 11/8/2016, you wrote: > > > >> > From: "Arthur Fuller" > >> > To: "Access Developers discussion and problem solving" < > >> > accessd at databaseadvisors.com>, "Off Topic" < > dba-ot at databaseadvisors.com > >> >, > >> > "Discussion concerning MS SQL Server" >> s.com> > >> > Sent: Sunday, October 9, 2016 2:08:26 PM > >> > Subject: [AccessD] Sayonara > >> > > >> > I have less than 60 days to live, according to the physicians at my > >> > hospital.I just want to say Thanks to you all, for your contributions > >> not > >> > only to me but also this worldwide community that has envigrated me > and > >> > made me feel that life was worth living. > >> > > >> > I had a good trip, and now it''s over, within days. Goodbye, my > >> friends. I > >> > don't know how to tell you how much you enhanced my life, but you did. > >> It's > >> > time to say goodbye, and I love you all, and have profited from you > all. > >> > Thank you for enhancing my life. Might be a few more days, but this > >> needed > >> > to be said. I met a lot of friends here and this will not be > forgotten, > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Thu Nov 10 10:26:02 2016 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 10 Nov 2016 11:26:02 -0500 Subject: [AccessD] Sayonara In-Reply-To: References: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Message-ID: <4172d75d-0c9d-1a4b-5bf3-37c0680fdc1c@torchlake.com> All my support for that mission, Arthur. Did I send you my dad's "cancer-bashing crew" story? If not, do you want it? It is a pretty good story. T Tina Norris Fields tinanfields-at-torchlake-dot-com 231-322-2787 On 11/10/16 7:33 AM, Arthur Fuller wrote: > Thank you for your kind words. My last mission is to prove the physician > wrong, and to persist for at least a couple more years. ? > > On Wed, Nov 9, 2016 at 9:55 AM, Robert Stewart wrote: > >> Arthur, >> >> As an icon in our world, you will be missed. I have know you since the >> Artful Library >> days. So, it has been a while. You have given freely of your time and >> greatly benefited >> lives that you will never even know about. >> >> We will all try to live up to your example. >> >> Robert >> User Group Leader >> Database and GUI Design Workshop >> Houston, TX >> >> At 09:47 PM 11/8/2016, you wrote: >> >>>> From: "Arthur Fuller" >>>> To: "Access Developers discussion and problem solving" < >>>> accessd at databaseadvisors.com>, "Off Topic" >>> , >>>> "Discussion concerning MS SQL Server" >> s.com> >>>> Sent: Sunday, October 9, 2016 2:08:26 PM >>>> Subject: [AccessD] Sayonara >>>> >>>> I have less than 60 days to live, according to the physicians at my >>>> hospital.I just want to say Thanks to you all, for your contributions >>> not >>>> only to me but also this worldwide community that has envigrated me and >>>> made me feel that life was worth living. >>>> >>>> I had a good trip, and now it''s over, within days. Goodbye, my >>> friends. I >>>> don't know how to tell you how much you enhanced my life, but you did. >>> It's >>>> time to say goodbye, and I love you all, and have profited from you all. >>>> Thank you for enhancing my life. Might be a few more days, but this >>> needed >>>> to be said. I met a lot of friends here and this will not be forgotten, >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From bensonforums at gmail.com Thu Nov 10 14:16:18 2016 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 10 Nov 2016 15:16:18 -0500 Subject: [AccessD] Sayonara In-Reply-To: References: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Message-ID: I hope you catch them up in the ONLY mistake we WANT a doctor to actually be guilty of Art! On Thu, Nov 10, 2016 at 7:33 AM, Arthur Fuller wrote: > Thank you for your kind words. My last mission is to prove the physician > wrong, and to persist for at least a couple more years. ? > > On Wed, Nov 9, 2016 at 9:55 AM, Robert Stewart wrote: > > > Arthur, > > > > As an icon in our world, you will be missed. I have know you since the > > Artful Library > > days. So, it has been a while. You have given freely of your time and > > greatly benefited > > lives that you will never even know about. > > > > We will all try to live up to your example. > > > > Robert > > User Group Leader > > Database and GUI Design Workshop > > Houston, TX > > > > At 09:47 PM 11/8/2016, you wrote: > > > >> > From: "Arthur Fuller" > >> > To: "Access Developers discussion and problem solving" < > >> > accessd at databaseadvisors.com>, "Off Topic" < > dba-ot at databaseadvisors.com > >> >, > >> > "Discussion concerning MS SQL Server" >> s.com> > >> > Sent: Sunday, October 9, 2016 2:08:26 PM > >> > Subject: [AccessD] Sayonara > >> > > >> > I have less than 60 days to live, according to the physicians at my > >> > hospital.I just want to say Thanks to you all, for your contributions > >> not > >> > only to me but also this worldwide community that has envigrated me > and > >> > made me feel that life was worth living. > >> > > >> > I had a good trip, and now it''s over, within days. Goodbye, my > >> friends. I > >> > don't know how to tell you how much you enhanced my life, but you did. > >> It's > >> > time to say goodbye, and I love you all, and have profited from you > all. > >> > Thank you for enhancing my life. Might be a few more days, but this > >> needed > >> > to be said. I met a lot of friends here and this will not be > forgotten, > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Thu Nov 10 14:32:58 2016 From: John.Clark at niagaracounty.com (John W. Clark) Date: Thu, 10 Nov 2016 20:32:58 +0000 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: , Message-ID: I'm praying that this is something simple that I am missing. I'm completely OK with anyone saying, "John, you are being dumb, here is your simple solution..." As illustrated by my general absence, and my rare visits to this list...just can't quit it though...I don't do much with Access these days. But... I have this database downstairs in our treasurers department that has been running smoothly and relatively trouble-free for years. They called me with some weird issues a couple of weeks ago and I ran a "repair and compact" because that is what I do when weird problems arise...again very rare. It did take care of the weirdest of issues, as I figured it might...it was saying a record was already entered that just simply didn't exist. However another issue remains...this is actually not my cause for the help request. My problem is...and this seems to have begun around the same time...SEEMS to have...is that where they were once able to enter a value into their queries, they are no longer able to do this. The one that brought it to light is a date field, which pops up a calendar as it should, but clicking doesn't enter a value, nor can you do it manually. I started looking at other fields and other queries and it is all of them. Also, there are three people that use this database, thus three front-ends among the individual PCs, and I have a copy on mine as well. I checked another, hoping I just needed to copy a new front-end to the offending PC, but it was both (never checked the 3rd...figured it was the same). Then I came up to my computer and tried it with the same results. I thought it was perhaps something to do with filtering which they're using, but no it is all queries. Then I thought perhaps a rights issue with the back-end data, but they are able to enter into forms and tables...I need to double-check the tables statement. No nums-lock, no scroll-lock, I don't know what could cause this...I'm out of ideas. And, I am out of time, we're in the midst of a GroupWise to Exchange migration and I'm swamped as it is. Aahhhh! Please help an unfortunate soul! Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From ssharkins at gmail.com Thu Nov 10 14:44:34 2016 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 10 Nov 2016 15:44:34 -0500 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: Message-ID: Calendar -- are you using an ActiveX control and if so, just perhaps a recent update has trashed it? If these are not Windows 10 systems, have you tried doing the following: 1.) Restoring the system to a date before the problem. 2.) Uninstalling any updates in the appropriate time frame. Susan H. On Thu, Nov 10, 2016 at 3:32 PM, John W. Clark wrote: > I'm praying that this is something simple that I am missing. I'm > completely OK with anyone saying, "John, you are being dumb, here is your > simple solution..." As illustrated by my general absence, and my rare > visits to this list...just can't quit it though...I don't do much with > Access these days. > > > But... > > > I have this database downstairs in our treasurers department that has been > running smoothly and relatively trouble-free for years. They called me with > some weird issues a couple of weeks ago and I ran a "repair and compact" > because that is what I do when weird problems arise...again very rare. It > did take care of the weirdest of issues, as I figured it might...it was > saying a record was already entered that just simply didn't exist. However > another issue remains...this is actually not my cause for the help request. > > > My problem is...and this seems to have begun around the same time...SEEMS > to have...is that where they were once able to enter a value into their > queries, they are no longer able to do this. The one that brought it to > light is a date field, which pops up a calendar as it should, but clicking > doesn't enter a value, nor can you do it manually. I started looking at > other fields and other queries and it is all of them. > > > Also, there are three people that use this database, thus three front-ends > among the individual PCs, and I have a copy on mine as well. I checked > another, hoping I just needed to copy a new front-end to the offending PC, > but it was both (never checked the 3rd...figured it was the same). Then I > came up to my computer and tried it with the same results. > > > I thought it was perhaps something to do with filtering which they're > using, but no it is all queries. Then I thought perhaps a rights issue with > the back-end data, but they are able to enter into forms and tables...I > need to double-check the tables statement. > > > No nums-lock, no scroll-lock, I don't know what could cause this...I'm > out of ideas. And, I am out of time, we're in the midst of a GroupWise to > Exchange migration and I'm swamped as it is. Aahhhh! Please help an > unfortunate soul! > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. IF YOU > HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. Thank you for your cooperation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Thu Nov 10 14:46:33 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 10 Nov 2016 12:46:33 -0800 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: Message-ID: What version of access was it built in and what version is it running in? Some versions back the query engine would let you edit values in multiple tables in a query as long as all the primary keys were included in the query design. The query engine has become much more strict about multi-task queries and usually will allow you to edit only the outer joined tables. Apparently asynchronous updates were the default type of dynaset back in the day but that is no longer the case. On Nov 10, 2016 12:35 PM, "John W. Clark" wrote: > I'm praying that this is something simple that I am missing. I'm > completely OK with anyone saying, "John, you are being dumb, here is your > simple solution..." As illustrated by my general absence, and my rare > visits to this list...just can't quit it though...I don't do much with > Access these days. > > > But... > > > I have this database downstairs in our treasurers department that has been > running smoothly and relatively trouble-free for years. They called me with > some weird issues a couple of weeks ago and I ran a "repair and compact" > because that is what I do when weird problems arise...again very rare. It > did take care of the weirdest of issues, as I figured it might...it was > saying a record was already entered that just simply didn't exist. However > another issue remains...this is actually not my cause for the help request. > > > My problem is...and this seems to have begun around the same time...SEEMS > to have...is that where they were once able to enter a value into their > queries, they are no longer able to do this. The one that brought it to > light is a date field, which pops up a calendar as it should, but clicking > doesn't enter a value, nor can you do it manually. I started looking at > other fields and other queries and it is all of them. > > > Also, there are three people that use this database, thus three front-ends > among the individual PCs, and I have a copy on mine as well. I checked > another, hoping I just needed to copy a new front-end to the offending PC, > but it was both (never checked the 3rd...figured it was the same). Then I > came up to my computer and tried it with the same results. > > > I thought it was perhaps something to do with filtering which they're > using, but no it is all queries. Then I thought perhaps a rights issue with > the back-end data, but they are able to enter into forms and tables...I > need to double-check the tables statement. > > > No nums-lock, no scroll-lock, I don't know what could cause this...I'm > out of ideas. And, I am out of time, we're in the midst of a GroupWise to > Exchange migration and I'm swamped as it is. Aahhhh! Please help an > unfortunate soul! > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. IF YOU > HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. Thank you for your cooperation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From garykjos at gmail.com Thu Nov 10 14:46:51 2016 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 10 Nov 2016 14:46:51 -0600 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: Message-ID: Hi John, I believe something has happened with your data so that you no longer have a one to one relationship where you used to have that. https://support.office.com/en-us/article/Edit-data-in-a-query-6ca3edfc-6d66-4d90-8219-c2b258d5bed7 tells us; ----------------------------- When can I edit data in a query? You can always edit the data in a query when the query is based on either only one table or on two tables that bear a one-to-one relationship to each other. Note: Even when you can edit data in a query, some of its fields may not be available for editing. Such cases are listed in the following section. ---------------------------and When can I not edit data in a query? You can never edit the data in a query when: The query is a crosstab query. The query is a SQL-specific query. The field you are trying to edit is a calculated field. In this case, you may be able to edit the other fields. The query is based on three or more tables and there is a many-to-one-to-many relationship. Note: Although you cannot edit the query datasheet in this case, you can edit the data in a form when the RecordsetType property of the form is set to Dynaset (Inconsistent Updates). The query contains a GROUP BY clause. On Thu, Nov 10, 2016 at 2:32 PM, John W. Clark wrote: > I'm praying that this is something simple that I am missing. I'm completely OK with anyone saying, "John, you are being dumb, here is your simple solution..." As illustrated by my general absence, and my rare visits to this list...just can't quit it though...I don't do much with Access these days. > > > But... > > > I have this database downstairs in our treasurers department that has been running smoothly and relatively trouble-free for years. They called me with some weird issues a couple of weeks ago and I ran a "repair and compact" because that is what I do when weird problems arise...again very rare. It did take care of the weirdest of issues, as I figured it might...it was saying a record was already entered that just simply didn't exist. However another issue remains...this is actually not my cause for the help request. > > > My problem is...and this seems to have begun around the same time...SEEMS to have...is that where they were once able to enter a value into their queries, they are no longer able to do this. The one that brought it to light is a date field, which pops up a calendar as it should, but clicking doesn't enter a value, nor can you do it manually. I started looking at other fields and other queries and it is all of them. > > > Also, there are three people that use this database, thus three front-ends among the individual PCs, and I have a copy on mine as well. I checked another, hoping I just needed to copy a new front-end to the offending PC, but it was both (never checked the 3rd...figured it was the same). Then I came up to my computer and tried it with the same results. > > > I thought it was perhaps something to do with filtering which they're using, but no it is all queries. Then I thought perhaps a rights issue with the back-end data, but they are able to enter into forms and tables...I need to double-check the tables statement. > > > No nums-lock, no scroll-lock, I don't know what could cause this...I'm out of ideas. And, I am out of time, we're in the midst of a GroupWise to Exchange migration and I'm swamped as it is. Aahhhh! Please help an unfortunate soul! > > Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From RRANTHON at sentara.com Thu Nov 10 14:47:13 2016 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Thu, 10 Nov 2016 20:47:13 +0000 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: , Message-ID: John, Years ago had a problem where a db just wouldn't add another record (which I think is what you're saying here) Turns out the autonumber on the pk was set to Short (IIRC) so when it hit 32-thousandth record, it stopped. Changing to long int fixed the issue. Shot in the dark.... -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Clark Sent: Thursday, November 10, 2016 3:33 PM To: Access Developers discussion and problem solving Subject: [AccessD] Perhaps I'm just being a dolt...I hope! I'm praying that this is something simple that I am missing. I'm completely OK with anyone saying, "John, you are being dumb, here is your simple solution..." As illustrated by my general absence, and my rare visits to this list...just can't quit it though...I don't do much with Access these days. But... I have this database downstairs in our treasurers department that has been running smoothly and relatively trouble-free for years. They called me with some weird issues a couple of weeks ago and I ran a "repair and compact" because that is what I do when weird problems arise...again very rare. It did take care of the weirdest of issues, as I figured it might...it was saying a record was already entered that just simply didn't exist. However another issue remains...this is actually not my cause for the help request. My problem is...and this seems to have begun around the same time...SEEMS to have...is that where they were once able to enter a value into their queries, they are no longer able to do this. The one that brought it to light is a date field, which pops up a calendar as it should, but clicking doesn't enter a value, nor can you do it manually. I started looking at other fields and other queries and it is all of them. Also, there are three people that use this database, thus three front-ends among the individual PCs, and I have a copy on mine as well. I checked another, hoping I just needed to copy a new front-end to the offending PC, but it was both (never checked the 3rd...figured it was the same). Then I came up to my computer and tried it with the same results. I thought it was perhaps something to do with filtering which they're using, but no it is all queries. Then I thought perhaps a rights issue with the back-end data, but they are able to enter into forms and tables...I need to double-check the tables statement. No nums-lock, no scroll-lock, I don't know what could cause this...I'm out of ideas. And, I am out of time, we're in the midst of a GroupWise to Exchange migration and I'm swamped as it is. Aahhhh! Please help an unfortunate soul! Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com . From John.Clark at niagaracounty.com Thu Nov 10 14:47:13 2016 From: John.Clark at niagaracounty.com (John W. Clark) Date: Thu, 10 Nov 2016 20:47:13 +0000 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: , , Message-ID: So...just to clarify something...I did check that I can enter into tables to be sure. Yes, this can be done. Actually in that same field that brought the problem to light, a calendar comes up and you can choose a value that then goes into the field. And you can directly enter it as well. So I guess the problem is simply, why can I not enter into queries...when I could 2-3 weeks ago? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From bensonforums at gmail.com Thu Nov 10 14:52:24 2016 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 10 Nov 2016 15:52:24 -0500 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: Message-ID: Well... pasting the SQL window code of your query would he helpful. and if those queries have subqueries, then those as well. Are you getting a recordset not updatable message of some kind? On Thu, Nov 10, 2016 at 3:47 PM, John W. Clark wrote: > So...just to clarify something...I did check that I can enter into tables > to be sure. Yes, this can be done. Actually in that same field that brought > the problem to light, a calendar comes up and you can choose a value that > then goes into the field. And you can directly enter it as well. > > > So I guess the problem is simply, why can I not enter into queries...when > I could 2-3 weeks ago? > > Notice: This electronic transmission is intended for the sole use of the > individual or entity to which it is addressed and may contain confidential, > privileged or otherwise legally protected information. If you are not the > intended recipient, or if you believe you are not the intended recipient, > you are hereby notified that any use, disclosure, copying, distribution, or > the taking of any action in reliance on the contents of this information, > is strictly prohibited. Niagara County is not responsible for the content > of any external hyperlink referenced in this email or any email. IF YOU > HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER > IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER > OR ELECTRONIC COPIES. Thank you for your cooperation. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at aig.com Thu Nov 10 15:53:43 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Thu, 10 Nov 2016 21:53:43 +0000 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: , , Message-ID: John, Did you try to Decompile to application? That can clear up more weirdness that Compact and Repair can... "X:\FullPathToAccess\MSAcess.exe" "C:\FullPathToyYourFile\somefile.accdb" /decompile Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Clark Sent: Thursday, November 10, 2016 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Perhaps I'm just being a dolt...I hope! So...just to clarify something...I did check that I can enter into tables to be sure. Yes, this can be done. Actually in that same field that brought the problem to light, a calendar comes up and you can choose a value that then goes into the field. And you can directly enter it as well. So I guess the problem is simply, why can I not enter into queries...when I could 2-3 weeks ago? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Fri Nov 11 19:46:06 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 12 Nov 2016 14:46:06 +1300 Subject: [AccessD] Referencing Forms with Form_ Message-ID: <003701d23c86$892d5760$9b880620$@dalyn.co.nz> Hi Listers, I have inherited a database which has the following line of code: Form_frmSite!sfrEquipment.Requery I tried to change it as follows (replacing the "_" with "!" which is the format I usually use): Form!frmSite!sfrEquipment.Requery The first one works ok but the second one gives error 2467 "The expression you entered refers to an object that is closed or doesn't exist. Why does the first on work but the second one doesn't? I haven't come across the first syntax before and couldn't see anything on the web. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Fri Nov 11 19:53:47 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 12 Nov 2016 14:53:47 +1300 Subject: [AccessD] Referencing Forms with Form_ Message-ID: <003f01d23c87$9bf82c70$d3e88550$@dalyn.co.nz> Hi Listers, Sorry, found the problem right after pressing send. Should have been (Plural forms) Forms!frmSite!sfrEquipment.Requery Also found Form_frmSite in the Object Browser so that solves that as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From accessd at shaw.ca Sat Nov 12 01:12:32 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 12 Nov 2016 00:12:32 -0700 (MST) Subject: [AccessD] Sayonara In-Reply-To: References: <86F97E91-4675-47D7-BEE6-FFA86A52D63F@holly.arvixe.com> Message-ID: <1613286745.63543801.1478934752379.JavaMail.zimbra@shaw.ca> Hang in there Arthur...I hope you out live your Doctors. ;-) Jim ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:33:32 AM Subject: Re: [AccessD] Sayonara Thank you for your kind words. My last mission is to prove the physician wrong, and to persist for at least a couple more years. ? On Wed, Nov 9, 2016 at 9:55 AM, Robert Stewart wrote: > Arthur, > > As an icon in our world, you will be missed. I have know you since the > Artful Library > days. So, it has been a while. You have given freely of your time and > greatly benefited > lives that you will never even know about. > > We will all try to live up to your example. > > Robert > User Group Leader > Database and GUI Design Workshop > Houston, TX > > At 09:47 PM 11/8/2016, you wrote: > >> > From: "Arthur Fuller" >> > To: "Access Developers discussion and problem solving" < >> > accessd at databaseadvisors.com>, "Off Topic" > >, >> > "Discussion concerning MS SQL Server" > s.com> >> > Sent: Sunday, October 9, 2016 2:08:26 PM >> > Subject: [AccessD] Sayonara >> > >> > I have less than 60 days to live, according to the physicians at my >> > hospital.I just want to say Thanks to you all, for your contributions >> not >> > only to me but also this worldwide community that has envigrated me and >> > made me feel that life was worth living. >> > >> > I had a good trip, and now it''s over, within days. Goodbye, my >> friends. I >> > don't know how to tell you how much you enhanced my life, but you did. >> It's >> > time to say goodbye, and I love you all, and have profited from you all. >> > Thank you for enhancing my life. Might be a few more days, but this >> needed >> > to be said. I met a lot of friends here and this will not be forgotten, >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 12 01:20:28 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 12 Nov 2016 00:20:28 -0700 (MST) Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> Message-ID: <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 newsgrps at dalyn.co.nz Sat Nov 12 01:43:51 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sat, 12 Nov 2016 20:43:51 +1300 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> Message-ID: <004a01d23cb8$83850e70$8a8f2b50$@dalyn.co.nz> Thanks for your postings Jim. I have passed them to the IT company. They are exchanging a switch to see if this makes any difference. Will let the group know our findings. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, 12 November 2016 8:20 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 bill_patten at outlook.com Sat Nov 12 12:10:43 2016 From: bill_patten at outlook.com (Bill Patten) Date: Sat, 12 Nov 2016 18:10:43 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz><1A987FEEE767415CB6E00C1DFB95AFC2@XPS> <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> Message-ID: Hi Jim, Could you recommend one or two free ones or even inexpensive ones for Windows? Thanks Bill -----Original Message----- From: Jim Lawrence Sent: Friday, November 11, 2016 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 accessd at shaw.ca Sat Nov 12 19:01:44 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 12 Nov 2016 18:01:44 -0700 (MST) Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> Message-ID: <659227383.64880483.1478998904174.JavaMail.zimbra@shaw.ca> Hi Bill: I was scared you would ask that question. It is not because there is any difficulty in finding application that can do the task but there are just so many products that each fill a certain category. None of them is perfect at any price. OTOH, there are some excellent inexpensive and free apps out there. Add to that, there is a whole series of specialty niche products to do a specific function on a network... Here are a few very fine products: http://ganglia.info/ https://www.nagios.org/ (runs on windows) http://www.observium.org/ and hardware/software supported: http://www.observium.org/supported_devices/ https://www.spiceworks.com/free-network-monitoring-management-software/ (runs on Windows) http://www.zabbix.com/ (* most of the above run on windows via webUI and client components) The big monitoring software packages can cost upwards of hundreds of thousands. The packages listed here are not all free by fairly inexpensive, have community editions, can run from a browser, off a server, off a Cloud droplet, have a host of features and support a variety of operating systems and can support up to 10K devices. It all depends on what you need and what you can adapt to your network. I have only seen two of the products in the above list running but have heard of them all. I have a mixed network which I play with. :-) It has servers and desktops hosting Microsoft and Linux products and they all seem to work together. I have noticed, in the industry, now a days, that most desktop machines are Windows and most server/internet/NAS machines are Linux. Protocols are fairly standard so in many cases integration is not that difficult. Here is another list of 20 monitoring tools that might be better suited to Windows. I have not used many of them but they are supposed to be good but their range of functionality can be limited and specialized: http://bit.ly/2g6jOlY Of course for real down and dirty network protocol analyzer there is nothing like WireShark: https://www.wireshark.org/ (runs on windows) I hope this helps. Jim ----- Original Message ----- From: "Bill Patten" patten at outlook.com> To: "Access Developers discussion and problem solving" Sent: Saturday, November 12, 2016 10:10:43 AM Subject: Re: [AccessD] Error: Your network access was interrupted Hi Jim, Could you recommend one or two free ones or even inexpensive ones for Windows? Thanks Bill -----Original Message----- From: Jim Lawrence Sent: Friday, November 11, 2016 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Sun Nov 13 04:49:58 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Sun, 13 Nov 2016 18:49:58 +0800 Subject: [AccessD] Testing Message-ID: Am I getting through? From paul at wordwright.org Sun Nov 13 05:08:37 2016 From: paul at wordwright.org (paul) Date: Sun, 13 Nov 2016 11:08:37 +0000 Subject: [AccessD] Testing In-Reply-To: References: Message-ID: You are in London, Borg. Cheers paul On 13 November 2016 at 10:49, Borge Hansen wrote: > Am I getting through? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bill_patten at outlook.com Sun Nov 13 13:58:31 2016 From: bill_patten at outlook.com (Bill Patten) Date: Sun, 13 Nov 2016 19:58:31 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <659227383.64880483.1478998904174.JavaMail.zimbra@shaw.ca> References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz><1A987FEEE767415CB6E00C1DFB95AFC2@XPS><144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> <659227383.64880483.1478998904174.JavaMail.zimbra@shaw.ca> Message-ID: Thanks Jim, I downloaded Spiceworks and WireShark. Bill -----Original Message----- From: Jim Lawrence Sent: Saturday, November 12, 2016 5:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Hi Bill: I was scared you would ask that question. It is not because there is any difficulty in finding application that can do the task but there are just so many products that each fill a certain category. None of them is perfect at any price. OTOH, there are some excellent inexpensive and free apps out there. Add to that, there is a whole series of specialty niche products to do a specific function on a network... Here are a few very fine products: http://ganglia.info/ https://www.nagios.org/ (runs on windows) http://www.observium.org/ and hardware/software supported: http://www.observium.org/supported_devices/ https://www.spiceworks.com/free-network-monitoring-management-software/ (runs on Windows) http://www.zabbix.com/ (* most of the above run on windows via webUI and client components) The big monitoring software packages can cost upwards of hundreds of thousands. The packages listed here are not all free by fairly inexpensive, have community editions, can run from a browser, off a server, off a Cloud droplet, have a host of features and support a variety of operating systems and can support up to 10K devices. It all depends on what you need and what you can adapt to your network. I have only seen two of the products in the above list running but have heard of them all. I have a mixed network which I play with. :-) It has servers and desktops hosting Microsoft and Linux products and they all seem to work together. I have noticed, in the industry, now a days, that most desktop machines are Windows and most server/internet/NAS machines are Linux. Protocols are fairly standard so in many cases integration is not that difficult. Here is another list of 20 monitoring tools that might be better suited to Windows. I have not used many of them but they are supposed to be good but their range of functionality can be limited and specialized: http://bit.ly/2g6jOlY Of course for real down and dirty network protocol analyzer there is nothing like WireShark: https://www.wireshark.org/ (runs on windows) I hope this helps. Jim ----- Original Message ----- From: "Bill Patten" patten at outlook.com> To: "Access Developers discussion and problem solving" Sent: Saturday, November 12, 2016 10:10:43 AM Subject: Re: [AccessD] Error: Your network access was interrupted Hi Jim, Could you recommend one or two free ones or even inexpensive ones for Windows? Thanks Bill -----Original Message----- From: Jim Lawrence Sent: Friday, November 11, 2016 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- 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 stuart at lexacorp.com.pg Sun Nov 13 15:07:26 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 14 Nov 2016 07:07:26 +1000 Subject: [AccessD] Testing In-Reply-To: References: , Message-ID: <5828D60E.21264.37DDD222@stuart.lexacorp.com.pg> Borge's not in London, you are :) On 13 Nov 2016 at 11:08, paul wrote: > You are in London, Borg. > Cheers paul > > On 13 November 2016 at 10:49, Borge Hansen > wrote: > > > Am I getting through? > > -- > > 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 Sun Nov 13 15:40:41 2016 From: paul at wordwright.org (paul) Date: Sun, 13 Nov 2016 21:40:41 +0000 Subject: [AccessD] Testing In-Reply-To: <5828D60E.21264.37DDD222@stuart.lexacorp.com.pg> References: <5828D60E.21264.37DDD222@stuart.lexacorp.com.pg> Message-ID: :) Thanks, Stuart. You're right. Well, I think you are. As I struggle with a new chapter, I have to confess that I only I think I know I'm here. What is certain, though, is that I don't know where Borge might be. However, to spell it out, just in case anyone else is confused: Borge asked, 'Am I getting through?' So I let him know that he was getting through, at least as far as London. A thread like this, of course, could go on forever. Hopefully, Borge gained the advice he wanted. Cheers, Stuart paul On 13 November 2016 at 21:07, Stuart McLachlan wrote: > Borge's not in London, you are :) > > > On 13 Nov 2016 at 11:08, paul wrote: > > > You are in London, Borg. > > Cheers paul > > > > On 13 November 2016 at 10:49, Borge Hansen > > wrote: > > > > > Am I getting through? > > > -- > > > 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 accessd at shaw.ca Sun Nov 13 17:08:19 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Nov 2016 16:08:19 -0700 (MST) Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <005201d23af2$1cdedd30$569c9790$@dalyn.co.nz> <1A987FEEE767415CB6E00C1DFB95AFC2@XPS> <144909279.63549733.1478935228001.JavaMail.zimbra@shaw.ca> <659227383.64880483.1478998904174.JavaMail.zimbra@shaw.ca> Message-ID: <388442552.66587504.1479078499954.JavaMail.zimbra@shaw.ca> Hi Bill: Oh, good. Keep me posted of your success. Jim ----- Original Message ----- From: "Bill Patten" To: "Access Developers discussion and problem solving" Sent: Sunday, November 13, 2016 11:58:31 AM Subject: Re: [AccessD] Error: Your network access was interrupted Thanks Jim, I downloaded Spiceworks and WireShark. Bill -----Original Message----- From: Jim Lawrence Sent: Saturday, November 12, 2016 5:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Hi Bill: I was scared you would ask that question. It is not because there is any difficulty in finding application that can do the task but there are just so many products that each fill a certain category. None of them is perfect at any price. OTOH, there are some excellent inexpensive and free apps out there. Add to that, there is a whole series of specialty niche products to do a specific function on a network... Here are a few very fine products: http://ganglia.info/ https://www.nagios.org/ (runs on windows) http://www.observium.org/ and hardware/software supported: http://www.observium.org/supported_devices/ https://www.spiceworks.com/free-network-monitoring-management-software/ (runs on Windows) http://www.zabbix.com/ (* most of the above run on windows via webUI and client components) The big monitoring software packages can cost upwards of hundreds of thousands. The packages listed here are not all free by fairly inexpensive, have community editions, can run from a browser, off a server, off a Cloud droplet, have a host of features and support a variety of operating systems and can support up to 10K devices. It all depends on what you need and what you can adapt to your network. I have only seen two of the products in the above list running but have heard of them all. I have a mixed network which I play with. :-) It has servers and desktops hosting Microsoft and Linux products and they all seem to work together. I have noticed, in the industry, now a days, that most desktop machines are Windows and most server/internet/NAS machines are Linux. Protocols are fairly standard so in many cases integration is not that difficult. Here is another list of 20 monitoring tools that might be better suited to Windows. I have not used many of them but they are supposed to be good but their range of functionality can be limited and specialized: http://bit.ly/2g6jOlY Of course for real down and dirty network protocol analyzer there is nothing like WireShark: https://www.wireshark.org/ (runs on windows) I hope this helps. Jim ----- Original Message ----- From: "Bill Patten" patten at outlook.com> To: "Access Developers discussion and problem solving" Sent: Saturday, November 12, 2016 10:10:43 AM Subject: Re: [AccessD] Error: Your network access was interrupted Hi Jim, Could you recommend one or two free ones or even inexpensive ones for Windows? Thanks Bill -----Original Message----- From: Jim Lawrence Sent: Friday, November 11, 2016 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Just a note: There are a number of good monitoring programs out there. Some are free and some are very reasonably priced. These applications can be used for managing a network's performance. From flaky network cards, hubs, routers and switches to data transfer rates from one computer to another through various programs. If there is any network congestion a good monitoring system should be able to isolate the problem. Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 10, 2016 4:51:09 AM Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- 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 gustav at cactus.dk Mon Nov 14 01:09:31 2016 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 14 Nov 2016 07:09:31 +0000 Subject: [AccessD] Testing Message-ID: Hi Paul We have some jokes here about (missing) commas which turn things upside-down, much like yours: > You are, in London, Borg. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af paul Sendt: 13. november 2016 22:41 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Testing :) Thanks, Stuart. You're right. Well, I think you are. As I struggle with a new chapter, I have to confess that I only I think I know I'm here. What is certain, though, is that I don't know where Borge might be. However, to spell it out, just in case anyone else is confused: Borge asked, 'Am I getting through?' So I let him know that he was getting through, at least as far as London. A thread like this, of course, could go on forever. Hopefully, Borge gained the advice he wanted. Cheers, Stuart paul On 13 November 2016 at 21:07, Stuart McLachlan wrote: > Borge's not in London, you are :) > > > On 13 Nov 2016 at 11:08, paul wrote: > > > You are in London, Borg. > > Cheers paul > > > > On 13 November 2016 at 10:49, Borge Hansen > > wrote: > > > > > Am I getting through? From paul at wordwright.org Mon Nov 14 03:54:11 2016 From: paul at wordwright.org (paul) Date: Mon, 14 Nov 2016 09:54:11 +0000 Subject: [AccessD] Testing In-Reply-To: References: Message-ID: I hopeI haven't confused anyone, Gustav - especially as I teach English, too. I was about to spell out the way the punctuation works in both cases, yours and mine. However, I think it will just add confusion. Allow me instead to declare that both are correct. If English is not your mother tongue, you'll certainly know how very strange and contradictory this language is. It amazes me that it has become the international language. So many other languages have rules which are always followed. English, it seems to me, has new rules created for it almost daily. Listen (though not recommended) to the way the supporters of the, er, president elect over the Pond use the language. Cheers, Gustav paul On 14 November 2016 at 07:09, Gustav Brock wrote: > Hi Paul > > We have some jokes here about (missing) commas which turn things > upside-down, much like yours: > > > You are, in London, Borg. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > paul > Sendt: 13. november 2016 22:41 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Testing > > :) Thanks, Stuart. You're right. Well, I think you are. As I struggle > with a new chapter, I have to confess that I only I think I know I'm here. > What is certain, though, is that I don't know where Borge might be. > > However, to spell it out, just in case anyone else is confused: > > Borge asked, 'Am I getting through?' So I let him know that he was getting > through, at least as far as London. > > A thread like this, of course, could go on forever. Hopefully, Borge > gained the advice he wanted. > > Cheers, Stuart > paul > > On 13 November 2016 at 21:07, Stuart McLachlan > wrote: > > > Borge's not in London, you are :) > > > > > > On 13 Nov 2016 at 11:08, paul wrote: > > > > > You are in London, Borg. > > > Cheers paul > > > > > > On 13 November 2016 at 10:49, Borge Hansen > > > wrote: > > > > > > > Am I getting through? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs.accessd at gmail.com Mon Nov 14 03:55:28 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Mon, 14 Nov 2016 09:55:28 +0000 (UTC) Subject: [AccessD] Testing In-Reply-To: References: Message-ID: <9B7BE62147CADC01.D04AF3DC-644A-4D71-AE02-E0D55427E1DB@mail.outlook.com> The question was: Am I getting through?Haha!?It appears I am in PNG and DK as well.?Here are two commas: , , - place them as you like. :) I wanted to confirm that I receive a copy in my inbox of any posting that I have made.?I have two recent postings that never made it to my inbox about how to replicate a certain Access update query in MS SQL - will send again .../borge? Get Outlook for iOS On Mon, Nov 14, 2016 at 3:12 PM +0800, "Gustav Brock" wrote: Hi Paul We have some jokes here about (missing) commas which turn things upside-down, much like yours: > You are, in London, Borg. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af paul Sendt: 13. november 2016 22:41 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Testing :) Thanks, Stuart. You're right. Well, I think you are. As I struggle with a new chapter, I have to confess that I only I think I know I'm here. What is certain, though, is that I don't know where Borge might be. However, to spell it out, just in case anyone else is confused: Borge asked, 'Am I getting through?' So I let him know that he was getting through, at least as far as London. A thread like this, of course, could go on forever. Hopefully, Borge gained the advice he wanted. Cheers, Stuart paul On 13 November 2016 at 21:07, Stuart McLachlan wrote: > Borge's not in London, you are :) > > > On 13 Nov 2016 at 11:08, paul wrote: > > > You are in London, Borg. > > Cheers paul > > > > On 13 November 2016 at 10:49, Borge Hansen > > wrote: > > > > > Am I getting through? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Mon Nov 14 04:01:53 2016 From: pcs.accessd at gmail.com (Borge Hansen) Date: Mon, 14 Nov 2016 10:01:53 +0000 (UTC) Subject: [AccessD] Cross Posted - Moving a Access Update Query to MS SQL In-Reply-To: References: Message-ID: <9B7BE62147CADC01.C6A88606-E379-4CCE-985F-30AE3AF70659@mail.outlook.com> Sending this again.I'm still working on replicating a certain Access update query in MS SQL and this may have the interest of others on the list./borge? Get Outlook for iOS _____________________________ From: Borge Hansen Sent: Thursday, November 10, 2016 2:26 pm Subject: Re: [AccessD] Cross Posted - Moving a Access Update Query to MS SQL To: Discussion concerning MS SQL Server , Access Developers discussion and problem solving Hi all, It appears that this article addresses the issue: https://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/ Posting it here in case others may run into the same problem. /borge On Tue, Nov 8, 2016 at 10:06 PM, Borge Hansen wrote: Hi all, MS Access 2010 SQL 2014 Express I have trouble in moving a simple Access update query to MS SQL Server syntax To exemplify: two tables: tblMerged UFN? (PK, Number / Integer) MergedData (Memo) Sample Data: 10, 20, 30 tblSource ID (PK, Number / Integer) UFN (FK, Number / Integer) SourceData (Text, 255) SelectFlag (Boolean) Sample Data: ID??? UFN??? SourceData??? SelectFlag 15??? 10??? 10_Text_1??? False 14??? 10??? 10_Text_2??? False 3??? 10??? 10_Text_3??? False 40??? 20??? 20_Text_1??? False 39??? 20??? 20_Text_2??? False 11??? 20??? 20_Text_3??? False 70??? 30??? 30_Text_1??? False 68??? 30??? 30_Text_2??? False 65??? 30??? 30_Text_3??? False 101??? 10??? 10_Text_0??? False 102??? 20??? 20_Text_0??? False 103??? 30??? 30_Text_0??? False The Update Query looks like this: UPDATE tblMerged AS m INNER JOIN tblSource AS s ON m.UFN = s.UFN SET m.MergedData = IIf(Len([m].[MergedData])>0, ??? [m].[MergedData] & Chr(13) & Chr(10) & [s].[SourceData] & "? >>A? " & "? >>B? " & "? >>C? ", ??? [s].[SourceData] & "? >>A? " & "? >>B? " & "? >>C? "), s.SelectFlag = True WHERE (((s.SelectFlag)=False)); The resulting data set in tblMerged looks like: UFN??? MergedData 10??? "10_Text_1? >>A??? >>B??? >>C? ???????? 10_Text_2? >>A??? >>B??? >>C? ???????? 10_Text_3? >>A??? >>B??? >>C? ???????? 10_Text_0? >>A??? >>B??? >>C? " 20??? "20_Text_1? >>A??? >>B??? >>C? ???????? 20_Text_2? >>A??? >>B??? >>C? ???????? 20_Text_3? >>A??? >>B??? >>C?? ???????? 20_Text_0? >>A??? >>B??? >>C? " 30??? "30_Text_1? >>A??? >>B??? >>C? ???????? 30_Text_2? >>A??? >>B??? >>C? ???????? 30_Text_3? >>A??? >>B??? >>C? ???????? 30_Text_0? >>A??? >>B??? >>C? " So, for each record in tblMerged the query iterates over all inner-joined records in tblSource and neatly concatenates all SourceData text strings with a linefeed/linebreak between each text string AND it updates the second table tblSource as well by setting SelectFlag to True .... (As an aside: no matter how I set the? sort index of the tblSource.ID - or use a query as the second object in the update query - a query on tblSource with a certain sort order on the records - the resulting text strings in MergedData are always read in and merged in the order the records were added.I would have expected same order as the PK index order of tblSource.ID) The question I am seeking your help with is How do we do this as a stored procedure in MS SQL : concatenate and merge in the tblMerged and update the SelectFlag in tblSource using one update query ?? I created the update query in a stored procedure in MS SQL as: UPDATE dbo.tblMerged SET [MergedData] = IIF((LEN(cast([MergedData] as nvarchar(max))))> 0 , ??? CONCAT(cast([MergedData] as nvarchar(max)) , char(13), char(10) , cs.SourceData, '? >>A? ' ,? '? >>B? ' ,? '? >>C? '), ??? CONCAT([cs].[SourceData] , '? >>A? ' , '? >>B? ' , '? >>C? ')) FROM dbo.tblMerged csm JOIN tblSource AS cs ON csm.UFN = cs.UFN ; The update query appears to only act on one record from tblSource - and we are not able to update the SelectFlag - (hence no WHERE (((s.SelectFlag)=0)) clause in the MS SQL ) The result of the update query on tblMerged: UFN??? MergedData 10??? 10_Text_2? >>A??? >>B??? >>C? 20??? 20_Text_0? >>A??? >>B??? >>C? 30??? 30_Text_3? >>A??? >>B??? >>C? A simple thing to do in Access SQL/Query - in MS SQL Server ??? Any help appreciated... /borge From paul at wordwright.org Mon Nov 14 04:02:07 2016 From: paul at wordwright.org (paul) Date: Mon, 14 Nov 2016 10:02:07 +0000 Subject: [AccessD] Testing In-Reply-To: <9B7BE62147CADC01.D04AF3DC-644A-4D71-AE02-E0D55427E1DB@mail.outlook.com> References: <9B7BE62147CADC01.D04AF3DC-644A-4D71-AE02-E0D55427E1DB@mail.outlook.com> Message-ID: :) !! On 14 November 2016 at 09:55, Borge Hansen wrote: > The question was: Am I getting through?Haha! It appears I am in PNG and DK > as well. Here are two commas: , , - place them as you like. :) > I wanted to confirm that I receive a copy in my inbox of any posting that > I have made. I have two recent postings that never made it to my inbox > about how to replicate a certain Access update query in MS SQL - will send > again .../borge > > > Get Outlook for iOS > > > > > On Mon, Nov 14, 2016 at 3:12 PM +0800, "Gustav Brock" > wrote: > > > > > > > > > > > Hi Paul > > We have some jokes here about (missing) commas which turn things > upside-down, much like yours: > > > You are, in London, Borg. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > paul > Sendt: 13. november 2016 22:41 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Testing > > :) Thanks, Stuart. You're right. Well, I think you are. As I struggle > with a new chapter, I have to confess that I only I think I know I'm here. > What is certain, though, is that I don't know where Borge might be. > > However, to spell it out, just in case anyone else is confused: > > Borge asked, 'Am I getting through?' So I let him know that he was getting > through, at least as far as London. > > A thread like this, of course, could go on forever. Hopefully, Borge > gained the advice he wanted. > > Cheers, Stuart > paul > > On 13 November 2016 at 21:07, Stuart McLachlan > wrote: > > > Borge's not in London, you are :) > > > > > > On 13 Nov 2016 at 11:08, paul wrote: > > > > > You are in London, Borg. > > > Cheers paul > > > > > > On 13 November 2016 at 10:49, Borge Hansen > > > wrote: > > > > > > > Am I getting through? > > -- > 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 df.waters at outlook.com Mon Nov 14 07:50:36 2016 From: df.waters at outlook.com (Dan Waters) Date: Mon, 14 Nov 2016 13:50:36 +0000 Subject: [AccessD] Testing In-Reply-To: References: Message-ID: Many of us like to create our own extensions when using Visual Studio. The English language (at least in the US) allows the same thing. We can create a new word or phrase whenever the old words are too complicated or simply don't do the job! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul Sent: Monday, November 14, 2016 03:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing I hopeI haven't confused anyone, Gustav - especially as I teach English, too. I was about to spell out the way the punctuation works in both cases, yours and mine. However, I think it will just add confusion. Allow me instead to declare that both are correct. If English is not your mother tongue, you'll certainly know how very strange and contradictory this language is. It amazes me that it has become the international language. So many other languages have rules which are always followed. English, it seems to me, has new rules created for it almost daily. Listen (though not recommended) to the way the supporters of the, er, president elect over the Pond use the language. Cheers, Gustav paul On 14 November 2016 at 07:09, Gustav Brock wrote: > Hi Paul > > We have some jokes here about (missing) commas which turn things > upside-down, much like yours: > > > You are, in London, Borg. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > paul > Sendt: 13. november 2016 22:41 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Testing > > :) Thanks, Stuart. You're right. Well, I think you are. As I struggle > with a new chapter, I have to confess that I only I think I know I'm here. > What is certain, though, is that I don't know where Borge might be. > > However, to spell it out, just in case anyone else is confused: > > Borge asked, 'Am I getting through?' So I let him know that he was > getting through, at least as far as London. > > A thread like this, of course, could go on forever. Hopefully, Borge > gained the advice he wanted. > > Cheers, Stuart > paul > > On 13 November 2016 at 21:07, Stuart McLachlan > > wrote: > > > Borge's not in London, you are :) > > > > > > On 13 Nov 2016 at 11:08, paul wrote: > > > > > You are in London, Borg. > > > Cheers paul > > > > > > On 13 November 2016 at 10:49, Borge Hansen > > > wrote: > > > > > > > Am I getting through? > > -- > 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 rockysmolin at bchacc.com Mon Nov 14 10:31:50 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 14 Nov 2016 08:31:50 -0800 Subject: [AccessD] Allow edits = False is Allowing Edits! Message-ID: <04cf01d23e94$9a3b86c0$ceb29440$@bchacc.com> Dear Lists: (Access 2010, Windows 10, all bound forms) Client wants one user to not be able to add change delete any data except for one field in one form. No worries. I already have hooks in for Access level per user (read only, read/write, administrator). And there's not many forms and only a few that have data entry/edit. So I made a new access level - 2. (1 is read only, three is read/write). Since the client wasn't using these controls that change was easy. So in the dirty event of those forms I put: Private Sub Form_Dirty(Cancel As Integer) If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And that works perfectly for all of them. Except for three. (Which are all similar but attached to different table. ) So I cleverly modified the Dirty event of this form to read Private Sub Form_Dirty(Cancel As Integer) MsgBox "!" If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And after entering a number and leaving that field.No ! appears. A breakpoint on the MsgBox statement confirms that the dirty event is not triggering. But there's more than one way to skin a cat. So in the open event of one of those forms I put: If gintAccessLevel < 3 Then Me.AllowAdditions = False Me.AllowEdits = False Me.AllowDeletions = False Else Me.AllowAdditions = True Me.AllowEdits = True Me.AllowDeletions = True End If Poop! Still allows editing. Could the allow edits property be getting changed? So in the after update event of one of the fields I put: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox Me.AllowEdits End Sub And when I put something into the fldSocietyCourseOfferingNumberOfParticipants the message read False! And yet, it will save that value. So I changed the code in the after update event of fldSocietyCourseOfferingNumberOfParticipants to read: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox "! " & gintAccessLevel If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Me.undo End If End Sub And it obediently prints ! 2. And that works - it undoes the change. But I would not like to have to put that code in the after update event of every field on the three recalcitrant forms. So now, of course, I'm looking for some either obvious or obscure reason why these three forms are misbehaving. Any suggestions welcome MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From Lambert.Heenan at aig.com Mon Nov 14 11:03:30 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Mon, 14 Nov 2016 17:03:30 +0000 Subject: [AccessD] Allow edits = False is Allowing Edits! In-Reply-To: <04cf01d23e94$9a3b86c0$ceb29440$@bchacc.com> References: <04cf01d23e94$9a3b86c0$ceb29440$@bchacc.com> Message-ID: I seem to recall that if, when a form was opened, any change in code to any bound data field would result in the AllowEdits property being ignored. Is there any automatic "editing" of new records going on? Adding a date edited value or anything like that? Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, November 14, 2016 11:32 AM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Allow edits = False is Allowing Edits! Dear Lists: (Access 2010, Windows 10, all bound forms) Client wants one user to not be able to add change delete any data except for one field in one form. No worries. I already have hooks in for Access level per user (read only, read/write, administrator). And there's not many forms and only a few that have data entry/edit. So I made a new access level - 2. (1 is read only, three is read/write). Since the client wasn't using these controls that change was easy. So in the dirty event of those forms I put: Private Sub Form_Dirty(Cancel As Integer) If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And that works perfectly for all of them. Except for three. (Which are all similar but attached to different table. ) So I cleverly modified the Dirty event of this form to read Private Sub Form_Dirty(Cancel As Integer) MsgBox "!" If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And after entering a number and leaving that field.No ! appears. A breakpoint on the MsgBox statement confirms that the dirty event is not triggering. But there's more than one way to skin a cat. So in the open event of one of those forms I put: If gintAccessLevel < 3 Then Me.AllowAdditions = False Me.AllowEdits = False Me.AllowDeletions = False Else Me.AllowAdditions = True Me.AllowEdits = True Me.AllowDeletions = True End If Poop! Still allows editing. Could the allow edits property be getting changed? So in the after update event of one of the fields I put: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox Me.AllowEdits End Sub And when I put something into the fldSocietyCourseOfferingNumberOfParticipants the message read False! And yet, it will save that value. So I changed the code in the after update event of fldSocietyCourseOfferingNumberOfParticipants to read: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox "! " & gintAccessLevel If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Me.undo End If End Sub And it obediently prints ! 2. And that works - it undoes the change. But I would not like to have to put that code in the after update event of every field on the three recalcitrant forms. So now, of course, I'm looking for some either obvious or obscure reason why these three forms are misbehaving. Any suggestions welcome MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 14 11:17:32 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 14 Nov 2016 09:17:32 -0800 Subject: [AccessD] Allow edits = False is Allowing Edits! In-Reply-To: References: <04cf01d23e94$9a3b86c0$ceb29440$@bchacc.com> Message-ID: <04f001d23e9a$fc63f2a0$f52bd7e0$@bchacc.com> No automatic editing. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 14, 2016 9:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Allow edits = False is Allowing Edits! I seem to recall that if, when a form was opened, any change in code to any bound data field would result in the AllowEdits property being ignored. Is there any automatic "editing" of new records going on? Adding a date edited value or anything like that? Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, November 14, 2016 11:32 AM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Allow edits = False is Allowing Edits! Dear Lists: (Access 2010, Windows 10, all bound forms) Client wants one user to not be able to add change delete any data except for one field in one form. No worries. I already have hooks in for Access level per user (read only, read/write, administrator). And there's not many forms and only a few that have data entry/edit. So I made a new access level - 2. (1 is read only, three is read/write). Since the client wasn't using these controls that change was easy. So in the dirty event of those forms I put: Private Sub Form_Dirty(Cancel As Integer) If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And that works perfectly for all of them. Except for three. (Which are all similar but attached to different table. ) So I cleverly modified the Dirty event of this form to read Private Sub Form_Dirty(Cancel As Integer) MsgBox "!" If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Cancel = True End If End Sub And after entering a number and leaving that field.No ! appears. A breakpoint on the MsgBox statement confirms that the dirty event is not triggering. But there's more than one way to skin a cat. So in the open event of one of those forms I put: If gintAccessLevel < 3 Then Me.AllowAdditions = False Me.AllowEdits = False Me.AllowDeletions = False Else Me.AllowAdditions = True Me.AllowEdits = True Me.AllowDeletions = True End If Poop! Still allows editing. Could the allow edits property be getting changed? So in the after update event of one of the fields I put: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox Me.AllowEdits End Sub And when I put something into the fldSocietyCourseOfferingNumberOfParticipants the message read False! And yet, it will save that value. So I changed the code in the after update event of fldSocietyCourseOfferingNumberOfParticipants to read: Private Sub fldSocietyCourseOfferingNumberOfParticipants_AfterUpdate() MsgBox "! " & gintAccessLevel If gintAccessLevel < 3 Then MsgBox "Read Write Access Required", , vbExclamation Me.undo End If End Sub And it obediently prints ! 2. And that works - it undoes the change. But I would not like to have to put that code in the after update event of every field on the three recalcitrant forms. So now, of course, I'm looking for some either obvious or obscure reason why these three forms are misbehaving. Any suggestions welcome MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 kost36 at otenet.gr Mon Nov 14 13:53:28 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 14 Nov 2016 21:53:28 +0200 Subject: [AccessD] Films and photos... Message-ID: <053601d23eb0$c60de010$5229a030$@otenet.gr> hi all, Into a simple subform I keep photos of various films IdFilms (long Integer) e.g. 9999 PhotoType (Short Text) which contains the words Poster or Shooting Photo or Film Photo PictureName (Short Text) like 9999_01 to 9999_xx What I need is: 1. "after PictureName update" to check if it begins with wrong IdFilms, getting a warning message 2. If it's possible "after update PhotoType" to get automatically the next PictureName e.g. 9999_02 thank's /kostas From stuart at lexacorp.com.pg Mon Nov 14 16:56:22 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2016 08:56:22 +1000 Subject: [AccessD] Films and photos... In-Reply-To: <053601d23eb0$c60de010$5229a030$@otenet.gr> References: <053601d23eb0$c60de010$5229a030$@otenet.gr> Message-ID: <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg> Of the top of my head: 1. IF VAL(PictureName) <> IdFilms then Msgbox "Incorrect Picture ID" END IF 'Val will return everything up to the first non numeric character 'i.e. Val("9999_01") will return 9999. 2. LastPictureName = DMax("PictureName","tblPictures", _ "PictureName like '" & Left$(PictureName,4) & "*'" LastPictureID = val(right$(LastPictureName,2)) NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + 1,"00") -- Stuart On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > hi all, > Into a simple subform I keep photos of various films > IdFilms (long Integer) e.g. 9999 > PhotoType (Short Text) which contains the words Poster or Shooting > Photo or Film Photo PictureName (Short Text) like 9999_01 to 9999_xx > > What I need is: > 1. "after PictureName update" to check if it begins with wrong > IdFilms, getting a warning message 2. If it's possible "after update > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > thank's > /kostas > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kost36 at otenet.gr Tue Nov 15 04:30:04 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 15 Nov 2016 12:30:04 +0200 Subject: [AccessD] Films and photos... In-Reply-To: <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg> References: <053601d23eb0$c60de010$5229a030$@otenet.gr> <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg> Message-ID: <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> Hi Stuart, Thank's for your reply The first works perfect, but I can't make the second to work. /kostas -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Films and photos... Of the top of my head: 1. IF VAL(PictureName) <> IdFilms then Msgbox "Incorrect Picture ID" END IF 'Val will return everything up to the first non numeric character 'i.e. Val("9999_01") will return 9999. 2. LastPictureName = DMax("PictureName","tblPictures", _ "PictureName like '" & Left$(PictureName,4) & "*'" LastPictureID = val(right$(LastPictureName,2)) NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + 1,"00") -- Stuart On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > hi all, > Into a simple subform I keep photos of various films > IdFilms (long Integer) e.g. 9999 > PhotoType (Short Text) which contains the words Poster or Shooting > Photo or Film Photo PictureName (Short Text) like 9999_01 to 9999_xx > > What I need is: > 1. "after PictureName update" to check if it begins with wrong > IdFilms, getting a warning message 2. If it's possible "after update > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > thank's > /kostas > > -- > 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 stuart at lexacorp.com.pg Tue Nov 15 05:19:44 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2016 21:19:44 +1000 Subject: [AccessD] Films and photos... In-Reply-To: <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> References: <053601d23eb0$c60de010$5229a030$@otenet.gr>, <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg>, <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> Message-ID: <582AEF50.31615.40108278@stuart.lexacorp.com.pg> Thuinking about it, in the After-Update, you still have the value of PictureName, so you can simplify it to one line: NextPictureName = Left$(PictureName,5) & _ Format(Val(mid$(PictureName,6) +1),"00") On 15 Nov 2016 at 12:30, Kostas Konstantinidis wrote: > Hi Stuart, > Thank's for your reply > The first works perfect, but I can't make the second to work. > > /kostas > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: > Access Developers discussion and problem solving > Subject: Re: [AccessD] Films and > photos... > > Of the top of my head: > > 1. > IF VAL(PictureName) <> IdFilms then > Msgbox "Incorrect Picture ID" > END IF > 'Val will return everything up to the first non numeric character > 'i.e. > Val("9999_01") will return 9999. > > 2. > LastPictureName = DMax("PictureName","tblPictures", _ "PictureName > like '" & Left$(PictureName,4) & "*'" > > LastPictureID = val(right$(LastPictureName,2)) > > NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + > 1,"00") > > -- > Stuart > > > On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > > > hi all, > > Into a simple subform I keep photos of various films > > IdFilms (long Integer) e.g. 9999 > > PhotoType (Short Text) which contains the words Poster or Shooting > > Photo or Film Photo PictureName (Short Text) like 9999_01 to 9999_xx > > > > What I need is: > > 1. "after PictureName update" to check if it begins with wrong > > IdFilms, getting a warning message 2. If it's possible "after update > > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > > > > thank's > > /kostas > > > > -- > > 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 John.Clark at niagaracounty.com Tue Nov 15 10:22:32 2016 From: John.Clark at niagaracounty.com (John W. Clark) Date: Tue, 15 Nov 2016 16:22:32 +0000 Subject: [AccessD] Perhaps I'm just being a dolt...I hope! In-Reply-To: References: , , Message-ID: I just got back into this believe it or not. I had forgotten that we were off last Friday for Veterans Day, then there was the weekend, and yesterday I was quite busy with other things. I actually still have many other things to do...we're in the middle of rolling out a GroupWise to Exchange conversion...so I just wish this would go away. As usual I am impressed with the quick and useful tips I received. I will check out the decompile a bit later and see if that helps. I'm thinking the decompile needs to be on the back-end side? I'll get a good backup and try that. I'll have to verify but I think they are running Access 2013 downstairs. I just recently upgraded to 2016 and the problem follows the same. I believe I'd written this on 2007...not positive, but pretty sure. I will check the PK data type as well. I don't think it is that because we are able to add data directly to the tables...just not the query, like they've done in the past. It is a great tip though because it could cause me issues down the road. I'll check the relationships as well...did not do this yet. That tip took me by surprise as I don't generally do this. I'm normally a one-stop shop with all of this, but they basically took something I did, had one of their people alter it, and then kicked it back to me to support it. She basically stole my code and did a half-baked job of things, and then when it began having issues, she proclaimed she really didn't know what she was doing...nice! So, while I don't think it is the case, I never really know for sure, that nobody has messed with things. Thank for the help...I really do appreciate it. I always do, but more so right now because I don't seem to have the time to explore and play. ________________________________ From: AccessD on behalf of Lambert Heenan Sent: Thursday, November 10, 2016 4:53:43 PM To: 'Access Developers discussion and problem solving'; John W. Clark Subject: Re: [AccessD] Perhaps I'm just being a dolt...I hope! John, Did you try to Decompile to application? That can clear up more weirdness that Compact and Repair can... "X:\FullPathToAccess\MSAcess.exe" "C:\FullPathToyYourFile\somefile.accdb" /decompile Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Clark Sent: Thursday, November 10, 2016 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Perhaps I'm just being a dolt...I hope! So...just to clarify something...I did check that I can enter into tables to be sure. Yes, this can be done. Actually in that same field that brought the problem to light, a calendar comes up and you can choose a value that then goes into the field. And you can directly enter it as well. So I guess the problem is simply, why can I not enter into queries...when I could 2-3 weeks ago? Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. -- 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 Notice: This electronic transmission is intended for the sole use of the individual or entity to which it is addressed and may contain confidential, privileged or otherwise legally protected information. If you are not the intended recipient, or if you believe you are not the intended recipient, you are hereby notified that any use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information, is strictly prohibited. Niagara County is not responsible for the content of any external hyperlink referenced in this email or any email. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY THE SENDER IMMEDIATELY BY EMAIL AND DELETE THE ORIGINAL MESSAGE ALONG WITH ANY PAPER OR ELECTRONIC COPIES. Thank you for your cooperation. From accessd at shaw.ca Tue Nov 15 11:11:49 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 15 Nov 2016 10:11:49 -0700 (MST) Subject: [AccessD] Testing In-Reply-To: References: Message-ID: <1759068509.70721310.1479229909301.JavaMail.zimbra@shaw.ca> Like dates: 8/12/2016 is what does this date value represent? Jim ----- Original Message ----- From: "paul" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2016 1:54:11 AM Subject: Re: [AccessD] Testing I hopeI haven't confused anyone, Gustav - especially as I teach English, too. I was about to spell out the way the punctuation works in both cases, yours and mine. However, I think it will just add confusion. Allow me instead to declare that both are correct. If English is not your mother tongue, you'll certainly know how very strange and contradictory this language is. It amazes me that it has become the international language. So many other languages have rules which are always followed. English, it seems to me, has new rules created for it almost daily. Listen (though not recommended) to the way the supporters of the, er, president elect over the Pond use the language. Cheers, Gustav paul On 14 November 2016 at 07:09, Gustav Brock wrote: > Hi Paul > > We have some jokes here about (missing) commas which turn things > upside-down, much like yours: > > > You are, in London, Borg. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > paul > Sendt: 13. november 2016 22:41 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Testing > > :) Thanks, Stuart. You're right. Well, I think you are. As I struggle > with a new chapter, I have to confess that I only I think I know I'm here. > What is certain, though, is that I don't know where Borge might be. > > However, to spell it out, just in case anyone else is confused: > > Borge asked, 'Am I getting through?' So I let him know that he was getting > through, at least as far as London. > > A thread like this, of course, could go on forever. Hopefully, Borge > gained the advice he wanted. > > Cheers, Stuart > paul > > On 13 November 2016 at 21:07, Stuart McLachlan > wrote: > > > Borge's not in London, you are :) > > > > > > On 13 Nov 2016 at 11:08, paul wrote: > > > > > You are in London, Borg. > > > Cheers paul > > > > > > On 13 November 2016 at 10:49, Borge Hansen > > > wrote: > > > > > > > Am I getting through? > > -- > 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 Lambert.Heenan at aig.com Tue Nov 15 11:35:58 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 15 Nov 2016 17:35:58 +0000 Subject: [AccessD] Testing In-Reply-To: <1759068509.70721310.1479229909301.JavaMail.zimbra@shaw.ca> References: <1759068509.70721310.1479229909301.JavaMail.zimbra@shaw.ca> Message-ID: Well *obviously* that is the two thousand and sixteenth day of the eighth month of year twelve! Lambert? :-) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, November 15, 2016 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Testing Like dates: 8/12/2016 is what does this date value represent? Jim ----- Original Message ----- From: "paul" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2016 1:54:11 AM Subject: Re: [AccessD] Testing I hopeI haven't confused anyone, Gustav - especially as I teach English, too. I was about to spell out the way the punctuation works in both cases, yours and mine. However, I think it will just add confusion. Allow me instead to declare that both are correct. If English is not your mother tongue, you'll certainly know how very strange and contradictory this language is. It amazes me that it has become the international language. So many other languages have rules which are always followed. English, it seems to me, has new rules created for it almost daily. Listen (though not recommended) to the way the supporters of the, er, president elect over the Pond use the language. Cheers, Gustav paul On 14 November 2016 at 07:09, Gustav Brock wrote: > Hi Paul > > We have some jokes here about (missing) commas which turn things > upside-down, much like yours: > > > You are, in London, Borg. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > paul > Sendt: 13. november 2016 22:41 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Testing > > :) Thanks, Stuart. You're right. Well, I think you are. As I struggle > with a new chapter, I have to confess that I only I think I know I'm here. > What is certain, though, is that I don't know where Borge might be. > > However, to spell it out, just in case anyone else is confused: > > Borge asked, 'Am I getting through?' So I let him know that he was > getting through, at least as far as London. > > A thread like this, of course, could go on forever. Hopefully, Borge > gained the advice he wanted. > > Cheers, Stuart > paul > > On 13 November 2016 at 21:07, Stuart McLachlan > > wrote: > > > Borge's not in London, you are :) > > > > > > On 13 Nov 2016 at 11:08, paul wrote: > > > > > You are in London, Borg. > > > Cheers paul > > > > > > On 13 November 2016 at 10:49, Borge Hansen > > > wrote: > > > > > > > Am I getting through? > > -- > 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 kost36 at otenet.gr Tue Nov 15 13:01:01 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 15 Nov 2016 21:01:01 +0200 Subject: [AccessD] Films and photos... In-Reply-To: <582AEF50.31615.40108278@stuart.lexacorp.com.pg> References: <053601d23eb0$c60de010$5229a030$@otenet.gr>, <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg>, <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> <582AEF50.31615.40108278@stuart.lexacorp.com.pg> Message-ID: <058301d23f72$9ca8b750$d5fa25f0$@otenet.gr> But what happens for a new film with none registered pictures yet? So, I guess it must check if there is a picture on that ID_films and then to calculate the next one till to the last -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Films and photos... Thuinking about it, in the After-Update, you still have the value of PictureName, so you can simplify it to one line: NextPictureName = Left$(PictureName,5) & _ Format(Val(mid$(PictureName,6) +1),"00") On 15 Nov 2016 at 12:30, Kostas Konstantinidis wrote: > Hi Stuart, > Thank's for your reply > The first works perfect, but I can't make the second to work. > > /kostas > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: > Access Developers discussion and problem solving > Subject: Re: [AccessD] Films and > photos... > > Of the top of my head: > > 1. > IF VAL(PictureName) <> IdFilms then > Msgbox "Incorrect Picture ID" > END IF > 'Val will return everything up to the first non numeric character > 'i.e. > Val("9999_01") will return 9999. > > 2. > LastPictureName = DMax("PictureName","tblPictures", _ "PictureName > like '" & Left$(PictureName,4) & "*'" > > LastPictureID = val(right$(LastPictureName,2)) > > NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + > 1,"00") > > -- > Stuart > > > On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > > > hi all, > > Into a simple subform I keep photos of various films IdFilms (long > > Integer) e.g. 9999 PhotoType (Short Text) which contains the words > > Poster or Shooting Photo or Film Photo PictureName (Short Text) like > > 9999_01 to 9999_xx > > > > What I need is: > > 1. "after PictureName update" to check if it begins with wrong > > IdFilms, getting a warning message 2. If it's possible "after update > > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > > > > thank's > > /kostas > > > > -- > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue Nov 15 13:08:39 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 15 Nov 2016 21:08:39 +0200 Subject: [AccessD] Films and photos... In-Reply-To: <582AEF50.31615.40108278@stuart.lexacorp.com.pg> References: <053601d23eb0$c60de010$5229a030$@otenet.gr>, <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg>, <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> <582AEF50.31615.40108278@stuart.lexacorp.com.pg> Message-ID: <058401d23f73$adeec120$09cc4360$@otenet.gr> The form is designed as SELECT ST_media_ph.aa_st_media, ST_media_ph.ID_films, ST_media_ph.type_media, ST_media_ph.file_name FROM MT_films INNER JOIN ST_media_ph ON MT_films.ID_films = ST_media_ph.ID_films; -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Films and photos... Thuinking about it, in the After-Update, you still have the value of PictureName, so you can simplify it to one line: NextPictureName = Left$(PictureName,5) & _ Format(Val(mid$(PictureName,6) +1),"00") On 15 Nov 2016 at 12:30, Kostas Konstantinidis wrote: > Hi Stuart, > Thank's for your reply > The first works perfect, but I can't make the second to work. > > /kostas > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: > Access Developers discussion and problem solving > Subject: Re: [AccessD] Films and > photos... > > Of the top of my head: > > 1. > IF VAL(PictureName) <> IdFilms then > Msgbox "Incorrect Picture ID" > END IF > 'Val will return everything up to the first non numeric character > 'i.e. > Val("9999_01") will return 9999. > > 2. > LastPictureName = DMax("PictureName","tblPictures", _ "PictureName > like '" & Left$(PictureName,4) & "*'" > > LastPictureID = val(right$(LastPictureName,2)) > > NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + > 1,"00") > > -- > Stuart > > > On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > > > hi all, > > Into a simple subform I keep photos of various films IdFilms (long > > Integer) e.g. 9999 PhotoType (Short Text) which contains the words > > Poster or Shooting Photo or Film Photo PictureName (Short Text) like > > 9999_01 to 9999_xx > > > > What I need is: > > 1. "after PictureName update" to check if it begins with wrong > > IdFilms, getting a warning message 2. If it's possible "after update > > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > > > > thank's > > /kostas > > > > -- > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Tue Nov 15 19:29:53 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 15 Nov 2016 19:29:53 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 Message-ID: Converting a Access 2003 app that was originally an Access97 app to an Access 2013 app. Converted the mdbs to 07 accdbs. It compiles but I get two errors when running the Splash Screen which does some environment checks and opens the login screen. Any help appreciated. I'm getting errors on this: Set prp = dbs.Properties("CheckForLabelPrinter") 1st error occurs here: "Type mismatch" If prp = True Then 2nd error occurs here: Object Variable or With block variable not set Full form code: ' Module : frmSplash ' Description: environment checks then opens the next screen ' Procedures : Form_Timer ' InitErrorLog Option Compare Database Option Explicit Private Sub Form_Timer() ' Comments : ' Parameters : - ' Returns : - Dim dbs As Database Dim prp As Property Set dbs = CurrentDb() On Error GoTo PROC_ERR 'Check to see if database connection is valid If CheckForDB("Staff") = True Then 'Check to see if Dymo Label Printer is installed 'read database property to see if we should check it Set prp = dbs.Properties("CheckForLabelPrinter") If prp = True Then If Len(DymoAddinPath()) > 0 Then gfDymoInstalled = True Else gfDymoInstalled = False End If Else gfDymoInstalled = False End If ' initialize the error log Call InitErrorLog 'Set Registry Name of App Form Settings Dim strAppName As String 'lookup the name of the application name and version strAppName = DLookup("[fldAppName]", "uSysLicense", "[fldKeyID] = 1") RunningProject (strAppName) 'Check to see if we can bypass login procedure because they are logged into the OS If GetStaffName() = True Then 'OK skip login procedures DoCmd.OpenForm "fmnuMainMenu", acNormal, "", "", acEdit, acNormal Else 'Can't find them in the Staff table, make them login DoCmd.OpenForm "frmLogin", acNormal, "", "", acEdit, acNormal End If End If DoCmd.Close acForm, "frmSplash" Exit Sub PROC_ERR: MsgBox "The following error occurred: " & Error$ Resume Next End Sub Private Sub InitErrorLog() ' Comments : ' Parameters : - ' Returns : - On Error GoTo PROC_ERR ' initialize the error log. Dim fOk As Boolean fOk = ERH_Initialize_TSB() If Not fOk Then Beep MsgBox "Could not initialize error handler, application will exit." End End If Exit Sub PROC_ERR: MsgBox "The following error occurred: " & Error$ Resume Next End Sub From stuart at lexacorp.com.pg Tue Nov 15 19:50:53 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2016 11:50:53 +1000 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: Message-ID: <582BBB7D.2746.432E12B6@stuart.lexacorp.com.pg> Just a WAG. Try Dim dbs As DAO.Database. Without the DAO, you can get strange error messages when trying to access properties. On 15 Nov 2016 at 19:29, John R Bartow wrote: > Dim dbs As Database From jbartow at winhaven.net Tue Nov 15 23:48:15 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 15 Nov 2016 23:48:15 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <582BBB7D.2746.432E12B6@stuart.lexacorp.com.pg> References: <582BBB7D.2746.432E12B6@stuart.lexacorp.com.pg> Message-ID: <105401d23fcd$06b386c0$141a9440$@winhaven.net> Good WAG but that didn't do that trick. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Just a WAG. Try Dim dbs As DAO.Database. Without the DAO, you can get strange error messages when trying to access properties. On 15 Nov 2016 at 19:29, John R Bartow wrote: > Dim dbs As Database -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 16 00:30:24 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2016 16:30:24 +1000 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <105401d23fcd$06b386c0$141a9440$@winhaven.net> References: , <582BBB7D.2746.432E12B6@stuart.lexacorp.com.pg>, <105401d23fcd$06b386c0$141a9440$@winhaven.net> Message-ID: <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg> Since you've converted the DB, are you sure the property still exists? On 15 Nov 2016 at 23:48, John R Bartow wrote: > Good WAG but that didn't do that trick. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Just a WAG. Try Dim dbs As DAO.Database. > > Without the DAO, you can get strange error messages when trying to > access properties. > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > Dim dbs As Database > > > -- > 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 jbartow at winhaven.net Wed Nov 16 01:10:03 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 16 Nov 2016 01:10:03 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg> References: , <582BBB7D.2746.432E12B6@stuart.lexacorp.com.pg>, <105401d23fcd$06b386c0$141a9440$@winhaven.net> <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg> Message-ID: <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> That is creating a custom property so it exists as soon as it's made. But to further that idea, maybe the method of creating a custom property has changed (or needs to be more implicit in newer versions?) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Since you've converted the DB, are you sure the property still exists? On 15 Nov 2016 at 23:48, John R Bartow wrote: > Good WAG but that didn't do that trick. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Just a WAG. Try Dim dbs As DAO.Database. > > Without the DAO, you can get strange error messages when trying to > access properties. > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > Dim dbs As Database > > > -- > 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 stuart at lexacorp.com.pg Wed Nov 16 01:18:28 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2016 17:18:28 +1000 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> Message-ID: <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- From jbartow at winhaven.net Wed Nov 16 01:45:26 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 16 Nov 2016 01:45:26 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> Message-ID: <115801d23fdd$65889d60$3099d820$@winhaven.net> Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Wed Nov 16 06:44:44 2016 From: jwcolby at gmail.com (John Colby) Date: Wed, 16 Nov 2016 07:44:44 -0500 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: Message-ID: My guess is that you have not created the property yet (or set it's value) and it is returning a null. Or you are mis-spelling the property name. IIRC you can iterate the properties collection looking at the property names. On 11/15/2016 8:29 PM, John R Bartow wrote: > Converting a Access 2003 app that was originally an Access97 app to an > Access 2013 app. > > Converted the mdbs to 07 accdbs. > > It compiles but I get two errors when running the Splash Screen which does > some environment checks and opens the login screen. Any help appreciated. > > I'm getting errors on this: > Set prp = dbs.Properties("CheckForLabelPrinter") > 1st error occurs here: "Type mismatch" > > If prp = True Then > 2nd error occurs here: Object Variable or With block variable not set > > Full form code: > > ' Module : frmSplash > ' Description: environment checks then opens the next screen > ' Procedures : Form_Timer > ' InitErrorLog > > Option Compare Database > Option Explicit > > Private Sub Form_Timer() > ' Comments : > ' Parameters : - > ' Returns : - > > Dim dbs As Database > Dim prp As Property > > Set dbs = CurrentDb() > > On Error GoTo PROC_ERR > > 'Check to see if database connection is valid > If CheckForDB("Staff") = True Then > 'Check to see if Dymo Label Printer is installed > 'read database property to see if we should check it > Set prp = dbs.Properties("CheckForLabelPrinter") > If prp = True Then > If Len(DymoAddinPath()) > 0 Then > gfDymoInstalled = True > Else > gfDymoInstalled = False > End If > Else > gfDymoInstalled = False > End If > > ' initialize the error log > Call InitErrorLog > > 'Set Registry Name of App Form Settings > Dim strAppName As String > > 'lookup the name of the application name and version > strAppName = DLookup("[fldAppName]", "uSysLicense", "[fldKeyID] = 1") > RunningProject (strAppName) > > 'Check to see if we can bypass login procedure because they are logged > into the OS > If GetStaffName() = True Then > 'OK skip login procedures > DoCmd.OpenForm "fmnuMainMenu", acNormal, "", "", acEdit, acNormal > Else > 'Can't find them in the Staff table, make them login > DoCmd.OpenForm "frmLogin", acNormal, "", "", acEdit, acNormal > End If > End If > > DoCmd.Close acForm, "frmSplash" > Exit Sub > > PROC_ERR: > MsgBox "The following error occurred: " & Error$ > Resume Next > > End Sub > > Private Sub InitErrorLog() > ' Comments : > ' Parameters : - > ' Returns : - > > On Error GoTo PROC_ERR > ' initialize the error log. > > Dim fOk As Boolean > > fOk = ERH_Initialize_TSB() > If Not fOk Then > Beep > MsgBox "Could not initialize error handler, application will exit." > End > End If > > Exit Sub > > PROC_ERR: > MsgBox "The following error occurred: " & Error$ > Resume Next > > End Sub > > -- John W. Colby From jimdettman at verizon.net Wed Nov 16 06:56:31 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 16 Nov 2016 07:56:31 -0500 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <115801d23fdd$65889d60$3099d820$@winhaven.net> References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> Message-ID: Sample from the on-line help. Jim. ' Set property name variable. strName = "LastUserName" ' Set property value variable. strValue = InputBox("Please enter your full name") If SetCustomProperty(strName, dbText, strValue) <> True Then ' Error occurred trying to set property. MsgBox "Error occurred trying to set property." End If Function SetCustomProperty(strPropName As String, intPropType _ As Integer, strPropValue As String) As Integer Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property Const conPropertyNotFound = 3270 ' Property not found error. Set dbs = CurrentDb ' Define Database object. Set cnt = dbs.Containers!Databases ' Define Container object. Set doc = cnt.Documents!UserDefined ' Define Document object. On Error GoTo SetCustom_Err doc.Properties.Refresh ' Set custom property name. If error occurs here it means ' property doesn't exist and needs to be created and appended ' to Properties collection of Document object. Set prp = doc.Properties(strPropName) prp = strPropValue ' Set custom property value. SetCustomProperty = True SetCustom_Bye: Exit Function SetCustom_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, intPropType, strPropValue) doc.Properties.Append prp ' Append to collection. Resume Next Else ' Unknown error. SetCustomProperty = False Resume SetCustom_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 jimdettman at verizon.net Wed Nov 16 06:58:52 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 16 Nov 2016 07:58:52 -0500 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <115801d23fdd$65889d60$3099d820$@winhaven.net> References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> Message-ID: Also this, which might make the app a bit more bullet proof depending on what your using those properties for. Jim. Private Sub Form_Open(Cancel As Integer) Dim strTitle As String, strSubject As String, strAuthor As String strTitle = "Title" strSubject = "Subject" strAuthor = "Author" Me!txtTitle = GetSummaryInfo(strTitle) Me!txtSubject = GetSummaryInfo(strSubject) Me!txtAuthor = GetSummaryInfo(strAuthor) End Sub Function GetSummaryInfo(strPropName As String) As String Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property ' Property not found error. Const conPropertyNotFound = 3270 On Error GoTo GetSummary_Err Set dbs = CurrentDb Set cnt = dbs.Containers!Databases Set doc = cnt.Documents!SummaryInfo doc.Properties.Refresh GetSummaryInfo = doc.Properties(strPropName) GetSummary_Bye: Exit Function GetSummary_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, dbText, "None") ' Append to collection. doc.Properties.Append prp Resume Else ' Unknown error. GetSummaryInfo = "" Resume GetSummary_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 kost36 at otenet.gr Wed Nov 16 15:47:28 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 16 Nov 2016 23:47:28 +0200 Subject: [AccessD] Films and photos... In-Reply-To: <058401d23f73$adeec120$09cc4360$@otenet.gr> References: <053601d23eb0$c60de010$5229a030$@otenet.gr>, <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg>, <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> <582AEF50.31615.40108278@stuart.lexacorp.com.pg> <058401d23f73$adeec120$09cc4360$@otenet.gr> Message-ID: <05f801d24053$07dccda0$179668e0$@otenet.gr> May be that is not the perfect code but at least it works making the half of the trick :-)) The last step is missing... Does anybody help on how to reset the counter for every of the cases? Thank's a lot for your time /kostas Select Case type_media Case Is = "Movie photo" If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_" & Me.test & ".jpg" End If Case Is = "Shooting photo If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_g" & Me.test & ".jpg" End If Case Is = "Poster photo" If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_a" & Me.test & ".jpg" End If End Select -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Tuesday, November 15, 2016 9:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Films and photos... The form is designed as SELECT ST_media_ph.aa_st_media, ST_media_ph.ID_films, ST_media_ph.type_media, ST_media_ph.file_name FROM MT_films INNER JOIN ST_media_ph ON MT_films.ID_films = ST_media_ph.ID_films; -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Films and photos... Thuinking about it, in the After-Update, you still have the value of PictureName, so you can simplify it to one line: NextPictureName = Left$(PictureName,5) & _ Format(Val(mid$(PictureName,6) +1),"00") On 15 Nov 2016 at 12:30, Kostas Konstantinidis wrote: > Hi Stuart, > Thank's for your reply > The first works perfect, but I can't make the second to work. > > /kostas > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: > Access Developers discussion and problem solving > Subject: Re: [AccessD] Films and > photos... > > Of the top of my head: > > 1. > IF VAL(PictureName) <> IdFilms then > Msgbox "Incorrect Picture ID" > END IF > 'Val will return everything up to the first non numeric character > 'i.e. > Val("9999_01") will return 9999. > > 2. > LastPictureName = DMax("PictureName","tblPictures", _ "PictureName > like '" & Left$(PictureName,4) & "*'" > > LastPictureID = val(right$(LastPictureName,2)) > > NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + > 1,"00") > > -- > Stuart > > > On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > > > hi all, > > Into a simple subform I keep photos of various films IdFilms (long > > Integer) e.g. 9999 PhotoType (Short Text) which contains the words > > Poster or Shooting Photo or Film Photo PictureName (Short Text) like > > 9999_01 to 9999_xx > > > > What I need is: > > 1. "after PictureName update" to check if it begins with wrong > > IdFilms, getting a warning message 2. If it's possible "after update > > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > > > > thank's > > /kostas > > > > -- > > 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 > -- 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 jbartow at winhaven.net Wed Nov 16 17:46:46 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 16 Nov 2016 17:46:46 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> Message-ID: <0b2a01d24063$b43b97b0$1cb2c710$@winhaven.net> Thanks again, I'll check into doing this. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 16, 2016 6:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Also this, which might make the app a bit more bullet proof depending on what your using those properties for. Jim. Private Sub Form_Open(Cancel As Integer) Dim strTitle As String, strSubject As String, strAuthor As String strTitle = "Title" strSubject = "Subject" strAuthor = "Author" Me!txtTitle = GetSummaryInfo(strTitle) Me!txtSubject = GetSummaryInfo(strSubject) Me!txtAuthor = GetSummaryInfo(strAuthor) End Sub Function GetSummaryInfo(strPropName As String) As String Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property ' Property not found error. Const conPropertyNotFound = 3270 On Error GoTo GetSummary_Err Set dbs = CurrentDb Set cnt = dbs.Containers!Databases Set doc = cnt.Documents!SummaryInfo doc.Properties.Refresh GetSummaryInfo = doc.Properties(strPropName) GetSummary_Bye: Exit Function GetSummary_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, dbText, "None") ' Append to collection. doc.Properties.Append prp Resume Else ' Unknown error. GetSummaryInfo = "" Resume GetSummary_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 jbartow at winhaven.net Wed Nov 16 17:46:46 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 16 Nov 2016 17:46:46 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> Message-ID: <0b2b01d24063$b62677c0$22736740$@winhaven.net> Thanks Jim -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 16, 2016 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Sample from the on-line help. Jim. ' Set property name variable. strName = "LastUserName" ' Set property value variable. strValue = InputBox("Please enter your full name") If SetCustomProperty(strName, dbText, strValue) <> True Then ' Error occurred trying to set property. MsgBox "Error occurred trying to set property." End If Function SetCustomProperty(strPropName As String, intPropType _ As Integer, strPropValue As String) As Integer Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property Const conPropertyNotFound = 3270 ' Property not found error. Set dbs = CurrentDb ' Define Database object. Set cnt = dbs.Containers!Databases ' Define Container object. Set doc = cnt.Documents!UserDefined ' Define Document object. On Error GoTo SetCustom_Err doc.Properties.Refresh ' Set custom property name. If error occurs here it means ' property doesn't exist and needs to be created and appended ' to Properties collection of Document object. Set prp = doc.Properties(strPropName) prp = strPropValue ' Set custom property value. SetCustomProperty = True SetCustom_Bye: Exit Function SetCustom_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, intPropType, strPropValue) doc.Properties.Append prp ' Append to collection. Resume Next Else ' Unknown error. SetCustomProperty = False Resume SetCustom_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 jbartow at winhaven.net Wed Nov 16 17:46:46 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 16 Nov 2016 17:46:46 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: Message-ID: <0b2c01d24063$b698c190$23ca44b0$@winhaven.net> Yes, it appears that is it. Now to research the old code and figure out why. I was under the impression that only built in properties displayed when doing this but I will double check. That would be a big help if it did. Thanks -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2016 6:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 My guess is that you have not created the property yet (or set it's value) and it is returning a null. Or you are mis-spelling the property name. IIRC you can iterate the properties collection looking at the property names. On 11/15/2016 8:29 PM, John R Bartow wrote: > Converting a Access 2003 app that was originally an Access97 app to an > Access 2013 app. > > Converted the mdbs to 07 accdbs. > > It compiles but I get two errors when running the Splash Screen which does > some environment checks and opens the login screen. Any help appreciated. > > I'm getting errors on this: > Set prp = dbs.Properties("CheckForLabelPrinter") > 1st error occurs here: "Type mismatch" > > If prp = True Then > 2nd error occurs here: Object Variable or With block variable not set > > Full form code: > > ' Module : frmSplash > ' Description: environment checks then opens the next screen > ' Procedures : Form_Timer > ' InitErrorLog > > Option Compare Database > Option Explicit > > Private Sub Form_Timer() > ' Comments : > ' Parameters : - > ' Returns : - > > Dim dbs As Database > Dim prp As Property > > Set dbs = CurrentDb() > > On Error GoTo PROC_ERR > > 'Check to see if database connection is valid > If CheckForDB("Staff") = True Then > 'Check to see if Dymo Label Printer is installed > 'read database property to see if we should check it > Set prp = dbs.Properties("CheckForLabelPrinter") > If prp = True Then > If Len(DymoAddinPath()) > 0 Then > gfDymoInstalled = True > Else > gfDymoInstalled = False > End If > Else > gfDymoInstalled = False > End If > > ' initialize the error log > Call InitErrorLog > > 'Set Registry Name of App Form Settings > Dim strAppName As String > > 'lookup the name of the application name and version > strAppName = DLookup("[fldAppName]", "uSysLicense", "[fldKeyID] = 1") > RunningProject (strAppName) > > 'Check to see if we can bypass login procedure because they are logged > into the OS > If GetStaffName() = True Then > 'OK skip login procedures > DoCmd.OpenForm "fmnuMainMenu", acNormal, "", "", acEdit, acNormal > Else > 'Can't find them in the Staff table, make them login > DoCmd.OpenForm "frmLogin", acNormal, "", "", acEdit, acNormal > End If > End If > > DoCmd.Close acForm, "frmSplash" > Exit Sub > > PROC_ERR: > MsgBox "The following error occurred: " & Error$ > Resume Next > > End Sub > > Private Sub InitErrorLog() > ' Comments : > ' Parameters : - > ' Returns : - > > On Error GoTo PROC_ERR > ' initialize the error log. > > Dim fOk As Boolean > > fOk = ERH_Initialize_TSB() > If Not fOk Then > Beep > MsgBox "Could not initialize error handler, application will exit." > End > End If > > Exit Sub > > PROC_ERR: > MsgBox "The following error occurred: " & Error$ > Resume Next > > End Sub > > -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Nov 16 18:26:00 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 17 Nov 2016 10:26:00 +1000 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <0b2c01d24063$b698c190$23ca44b0$@winhaven.net> References: , , <0b2c01d24063$b698c190$23ca44b0$@winhaven.net> Message-ID: <582CF918.5125.4806B8ED@stuart.lexacorp.com.pg> Nope, it works for all properties. This showed me your property after I had created it in a test Db. For Each prp In dbs.Properties Debug.Print prp.Name If prp.Type > 0 Then Debug.Print prp.Value Next The conditional is there because otherwise I got a problem with a property "Connection". On 16 Nov 2016 at 17:46, John R Bartow wrote: > Yes, it appears that is it. Now to research the old code and figure > out why. > > > I was under the impression that only built in properties displayed > when doing this but I will double check. That would be a big help if > it did. Thanks > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby Sent: Wednesday, November 16, 2016 6:45 AM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] Error > help with upgrade from A03 to A13 > > My guess is that you have not created the property yet (or set it's > value) and it is returning a null. Or you are mis-spelling the > property name. > > IIRC you can iterate the properties collection looking at the property > names. > > > On 11/15/2016 8:29 PM, John R Bartow wrote: > > Converting a Access 2003 app that was originally an Access97 app to > > an Access 2013 app. > > > > Converted the mdbs to 07 accdbs. > > > > It compiles but I get two errors when running the Splash Screen > > which does some environment checks and opens the login screen. Any > > help appreciated. > > > > I'm getting errors on this: > > Set prp = dbs.Properties("CheckForLabelPrinter") > > 1st error occurs here: "Type mismatch" > > > > If prp = True Then > > 2nd error occurs here: Object Variable or With block variable not > > set > > > > Full form code: > > > > ' Module : frmSplash > > ' Description: environment checks then opens the next screen > > ' Procedures : Form_Timer > > ' InitErrorLog > > > > Option Compare Database > > Option Explicit > > > > Private Sub Form_Timer() > > ' Comments : > > ' Parameters : - > > ' Returns : - > > > > Dim dbs As Database > > Dim prp As Property > > > > Set dbs = CurrentDb() > > > > On Error GoTo PROC_ERR > > > > 'Check to see if database connection is valid > > If CheckForDB("Staff") = True Then > > 'Check to see if Dymo Label Printer is installed > > 'read database property to see if we should check it > > Set prp = dbs.Properties("CheckForLabelPrinter") > > If prp = True Then > > If Len(DymoAddinPath()) > 0 Then > > gfDymoInstalled = True > > Else > > gfDymoInstalled = False > > End If > > Else > > gfDymoInstalled = False > > End If > > > > ' initialize the error log > > Call InitErrorLog > > > > 'Set Registry Name of App Form Settings > > Dim strAppName As String > > > > 'lookup the name of the application name and version > > strAppName = DLookup("[fldAppName]", "uSysLicense", > > "[fldKeyID] = > 1") > > RunningProject (strAppName) > > > > 'Check to see if we can bypass login procedure because they > > are > logged > > into the OS > > If GetStaffName() = True Then > > 'OK skip login procedures > > DoCmd.OpenForm "fmnuMainMenu", acNormal, "", "", acEdit, > acNormal > > Else > > 'Can't find them in the Staff table, make them login > > DoCmd.OpenForm "frmLogin", acNormal, "", "", acEdit, > > acNormal > > End If > > End If > > > > DoCmd.Close acForm, "frmSplash" > > Exit Sub > > > > PROC_ERR: > > MsgBox "The following error occurred: " & Error$ > > Resume Next > > > > End Sub > > > > Private Sub InitErrorLog() > > ' Comments : > > ' Parameters : - > > ' Returns : - > > > > On Error GoTo PROC_ERR > > ' initialize the error log. > > > > Dim fOk As Boolean > > > > fOk = ERH_Initialize_TSB() > > If Not fOk Then > > Beep > > MsgBox "Could not initialize error handler, application will > > exit." End > > End If > > > > Exit Sub > > > > PROC_ERR: > > MsgBox "The following error occurred: " & Error$ > > Resume Next > > > > End Sub > > > > > > -- > John W. Colby > > -- > 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 jbartow at winhaven.net Thu Nov 17 00:51:09 2016 From: jbartow at winhaven.net (John R Bartow) Date: Thu, 17 Nov 2016 00:51:09 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <582CF918.5125.4806B8ED@stuart.lexacorp.com.pg> References: , , <0b2c01d24063$b698c190$23ca44b0$@winhaven.net> <582CF918.5125.4806B8ED@stuart.lexacorp.com.pg> Message-ID: <0e3201d2409e$fa9847e0$efc8d7a0$@winhaven.net> Thanks for the confirmation. I searched the net and it was not quite so clear. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 6:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Nope, it works for all properties. This showed me your property after I had created it in a test Db. For Each prp In dbs.Properties Debug.Print prp.Name If prp.Type > 0 Then Debug.Print prp.Value Next The conditional is there because otherwise I got a problem with a property "Connection". On 16 Nov 2016 at 17:46, John R Bartow wrote: > Yes, it appears that is it. Now to research the old code and figure > out why. > > > I was under the impression that only built in properties displayed > when doing this but I will double check. That would be a big help if > it did. Thanks > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby Sent: Wednesday, November 16, 2016 6:45 AM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] Error > help with upgrade from A03 to A13 > > My guess is that you have not created the property yet (or set it's > value) and it is returning a null. Or you are mis-spelling the > property name. > > IIRC you can iterate the properties collection looking at the property > names. > > > On 11/15/2016 8:29 PM, John R Bartow wrote: > > Converting a Access 2003 app that was originally an Access97 app to > > an Access 2013 app. > > > > Converted the mdbs to 07 accdbs. > > > > It compiles but I get two errors when running the Splash Screen > > which does some environment checks and opens the login screen. Any > > help appreciated. > > > > I'm getting errors on this: > > Set prp = dbs.Properties("CheckForLabelPrinter") > > 1st error occurs here: "Type mismatch" > > > > If prp = True Then > > 2nd error occurs here: Object Variable or With block variable not > > set > > > > Full form code: > > > > ' Module : frmSplash > > ' Description: environment checks then opens the next screen > > ' Procedures : Form_Timer > > ' InitErrorLog > > > > Option Compare Database > > Option Explicit > > > > Private Sub Form_Timer() > > ' Comments : > > ' Parameters : - > > ' Returns : - > > > > Dim dbs As Database > > Dim prp As Property > > > > Set dbs = CurrentDb() > > > > On Error GoTo PROC_ERR > > > > 'Check to see if database connection is valid > > If CheckForDB("Staff") = True Then > > 'Check to see if Dymo Label Printer is installed > > 'read database property to see if we should check it > > Set prp = dbs.Properties("CheckForLabelPrinter") > > If prp = True Then > > If Len(DymoAddinPath()) > 0 Then > > gfDymoInstalled = True > > Else > > gfDymoInstalled = False > > End If > > Else > > gfDymoInstalled = False > > End If > > > > ' initialize the error log > > Call InitErrorLog > > > > 'Set Registry Name of App Form Settings > > Dim strAppName As String > > > > 'lookup the name of the application name and version > > strAppName = DLookup("[fldAppName]", "uSysLicense", > > "[fldKeyID] = > 1") > > RunningProject (strAppName) > > > > 'Check to see if we can bypass login procedure because they > > are > logged > > into the OS > > If GetStaffName() = True Then > > 'OK skip login procedures > > DoCmd.OpenForm "fmnuMainMenu", acNormal, "", "", acEdit, > acNormal > > Else > > 'Can't find them in the Staff table, make them login > > DoCmd.OpenForm "frmLogin", acNormal, "", "", acEdit, > > acNormal > > End If > > End If > > > > DoCmd.Close acForm, "frmSplash" > > Exit Sub > > > > PROC_ERR: > > MsgBox "The following error occurred: " & Error$ > > Resume Next > > > > End Sub > > > > Private Sub InitErrorLog() > > ' Comments : > > ' Parameters : - > > ' Returns : - > > > > On Error GoTo PROC_ERR > > ' initialize the error log. > > > > Dim fOk As Boolean > > > > fOk = ERH_Initialize_TSB() > > If Not fOk Then > > Beep > > MsgBox "Could not initialize error handler, application will > > exit." End > > End If > > > > Exit Sub > > > > PROC_ERR: > > MsgBox "The following error occurred: " & Error$ > > Resume Next > > > > End Sub > > > > > > -- > John W. Colby > > -- > 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 bradm at blackforestltd.com Fri Nov 18 16:18:01 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 18 Nov 2016 22:18:01 +0000 Subject: [AccessD] How to Open an Access accdr file from an Access accdb file Message-ID: All, I have an Access application (accdb) that currently opens a second accdb with code like this. Set MyAccess = CreateObject("Access.Application") MyAccess.Visible = True MyAccess.OpenCurrentDatabase ("K:\Test.accdb") I would like to use an accdr file instead of the accdb file "K:\Test.accdr" instead of "K:\Test.accdb" I thought that this would be a simple change. However, when I try this, I receive a message that Access can't open the database. Is there a way to do this? Thanks, Brad From kost36 at otenet.gr Sat Nov 19 05:06:54 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 19 Nov 2016 13:06:54 +0200 Subject: [AccessD] Films and photos... In-Reply-To: <05f801d24053$07dccda0$179668e0$@otenet.gr> References: <053601d23eb0$c60de010$5229a030$@otenet.gr>, <582A4116.22864.3D67EB5A@stuart.lexacorp.com.pg>, <055601d23f2b$3b96fc20$b2c4f460$@otenet.gr> <582AEF50.31615.40108278@stuart.lexacorp.com.pg> <058401d23f73$adeec120$09cc4360$@otenet.gr> <05f801d24053$07dccda0$179668e0$@otenet.gr> Message-ID: <070701d24255$0b1059c0$21310d40$@otenet.gr> That's make the trick Thank's all for your time Private Sub type_media_AfterUpdate() If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False End If Select Case type_media Case Is = "Movies photo" Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films] & " and [type_media] = " & Chr(34) & Me.type_media & Chr(34))) + 1 Me.file_name = ID_films & "_" & Me.test & ".jpg" Case Is = "Shooting photo" 'ID_films = Me.ID_films Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films] & " and [type_media] = " & Chr(34) & Me.type_media & Chr(34))) + 1 Me.file_name = ID_films & "_g" & Me.test & ".jpg" Case Is = "Poster photo" 'ID_films = Me.ID_films Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films] & " and [type_media] = " & Chr(34) & Me.type_media & Chr(34))) + 1 Me.file_name = ID_films & "_a" & Me.test & ".jpg" End Select End Sub -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, November 16, 2016 11:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Films and photos... May be that is not the perfect code but at least it works making the half of the trick :-)) The last step is missing... Does anybody help on how to reset the counter for every of the cases? Thank's a lot for your time /kostas Select Case type_media Case Is = "Movie photo" If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_" & Me.test & ".jpg" End If Case Is = "Shooting photo If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_g" & Me.test & ".jpg" End If Case Is = "Poster photo" If Not IsNull(Me!test) Then Me.test.Locked = True Me.file_name.Locked = True Else Me.test.Locked = False Me.file_name.Locked = False Me.test = Nz(DMax("[Test]", "ST_media_ph", "ID_films = " & [ID_films]), 0) + 1 Me.file_name = ID_films & "_a" & Me.test & ".jpg" End If End Select -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Tuesday, November 15, 2016 9:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Films and photos... The form is designed as SELECT ST_media_ph.aa_st_media, ST_media_ph.ID_films, ST_media_ph.type_media, ST_media_ph.file_name FROM MT_films INNER JOIN ST_media_ph ON MT_films.ID_films = ST_media_ph.ID_films; -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Films and photos... Thuinking about it, in the After-Update, you still have the value of PictureName, so you can simplify it to one line: NextPictureName = Left$(PictureName,5) & _ Format(Val(mid$(PictureName,6) +1),"00") On 15 Nov 2016 at 12:30, Kostas Konstantinidis wrote: > Hi Stuart, > Thank's for your reply > The first works perfect, but I can't make the second to work. > > /kostas > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Tuesday, November 15, 2016 12:56 AM To: > Access Developers discussion and problem solving > Subject: Re: [AccessD] Films and > photos... > > Of the top of my head: > > 1. > IF VAL(PictureName) <> IdFilms then > Msgbox "Incorrect Picture ID" > END IF > 'Val will return everything up to the first non numeric character > 'i.e. > Val("9999_01") will return 9999. > > 2. > LastPictureName = DMax("PictureName","tblPictures", _ "PictureName > like '" & Left$(PictureName,4) & "*'" > > LastPictureID = val(right$(LastPictureName,2)) > > NextPictureName = Left$(LastPictureName,5) & Format(LastPictureID + > 1,"00") > > -- > Stuart > > > On 14 Nov 2016 at 21:53, Kostas Konstantinidis wrote: > > > hi all, > > Into a simple subform I keep photos of various films IdFilms (long > > Integer) e.g. 9999 PhotoType (Short Text) which contains the words > > Poster or Shooting Photo or Film Photo PictureName (Short Text) like > > 9999_01 to 9999_xx > > > > What I need is: > > 1. "after PictureName update" to check if it begins with wrong > > IdFilms, getting a warning message 2. If it's possible "after update > > PhotoType" to get automatically the next PictureName e.g. 9999_02 > > > > > > thank's > > /kostas > > > > -- > > 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 > -- 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 Nov 19 10:44:08 2016 From: jwcolby at gmail.com (John Colby) Date: Sat, 19 Nov 2016 11:44:08 -0500 Subject: [AccessD] last version that supports vba Message-ID: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> What is the last version of Access to support VBA? 2010? I am interested in distributing runtimes. Do they run under Windows 10? -- John W. Colby From gustav at cactus.dk Sat Nov 19 10:47:48 2016 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Nov 2016 16:47:48 +0000 Subject: [AccessD] last version that supports vba In-Reply-To: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> Message-ID: Hi John If you bing/google for Access 2016 runtime, this is the first hit: https://www.microsoft.com/en-us/download/details.aspx?id=50040 /gustav ________________________________________ Fra: AccessD p? vegne af John Colby Sendt: 19. november 2016 17:44:08 Til: Access Developers discussion and problem solving Emne: [AccessD] last version that supports vba What is the last version of Access to support VBA? 2010? I am interested in distributing runtimes. Do they run under Windows 10? -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Sat Nov 19 11:18:54 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Sat, 19 Nov 2016 17:18:54 -0000 Subject: [AccessD] last version that supports vba In-Reply-To: References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> Message-ID: You should be aware that the online - web/cloud/Onedrive based versions (Access.com), and probably Apple/Mac specific versions will probably NOT support VBA (macro) scripts MS development of Office apps seems to be directed towards greatly improving the online Excel version - with table handling and data analysis facilities as well as Add-in's BUT NOT VBA 2016 under windows 10 includes ribbon links to create macros and code VBA in 'modules' JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, November 19, 2016 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] last version that supports vba Hi John If you bing/google for Access 2016 runtime, this is the first hit: https://www.microsoft.com/en-us/download/details.aspx?id=50040 /gustav ________________________________________ Fra: AccessD p? vegne af John Colby Sendt: 19. november 2016 17:44:08 Til: Access Developers discussion and problem solving Emne: [AccessD] last version that supports vba What is the last version of Access to support VBA? 2010? I am interested in distributing runtimes. Do they run under Windows 10? -- John W. Colby -- 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 jbartow at winhaven.net Sat Nov 19 11:30:29 2016 From: jbartow at winhaven.net (John R Bartow) Date: Sat, 19 Nov 2016 11:30:29 -0600 Subject: [AccessD] last version that supports vba In-Reply-To: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> Message-ID: <19b401d2428a$9f804770$de80d650$@winhaven.net> I was under the impression that it was 2013 but this article says otehrwise: http://www.theregister.co.uk/2015/10/01/microsoft_office_2016_for_developers _vba_lives_on_new_javascript_apis_coming_for_mobile/?page=1 -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, November 19, 2016 10:44 AM To: Access Developers discussion and problem solving Subject: [AccessD] last version that supports vba What is the last version of Access to support VBA? 2010? I am interested in distributing runtimes. Do they run under Windows 10? -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Nov 19 11:36:25 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 19 Nov 2016 12:36:25 -0500 Subject: [AccessD] last version that supports vba In-Reply-To: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> Message-ID: 2016, which is the last version that was released. Only Access web apps don't support VBA. For the desktop side of things, VBA will continue to be supported just as it always has (well at least back to A95 that is...before that it was Access Basic) Jim Sent from my iPhone > On Nov 19, 2016, at 11:44 AM, John Colby wrote: > > What is the last version of Access to support VBA? 2010? > > I am interested in distributing runtimes. Do they run under Windows 10? > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Nov 19 12:51:00 2016 From: marksimms at verizon.net (Mark Simms) Date: Sat, 19 Nov 2016 13:51:00 -0500 Subject: [AccessD] last version that supports vba In-Reply-To: References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> Message-ID: <056901d24295$df8c9b60$9ea5d220$@net> Re: "Only Access web apps don't support VBA." Albeit an innocuous comment, it is MOMBO IMPORTANT for Access developers. All Microsoft has to do is port the Access Object model to the web. Sounds simple, but no trivial task. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Jim Dettman > Sent: Saturday, November 19, 2016 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] last version that supports vba > > > 2016, which is the last version that was released. Only Access web > apps don't support VBA. > > For the desktop side of things, VBA will continue to be supported just > as it always has (well at least back to A95 that is...before that it > was Access Basic) > > Jim > > Sent from my iPhone > > > On Nov 19, 2016, at 11:44 AM, John Colby wrote: > > > > What is the last version of Access to support VBA? 2010? > > > > I am interested in distributing runtimes. Do they run under Windows > 10? > > > > -- > > John W. Colby > > > > -- > > 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 newsgrps at dalyn.co.nz Sat Nov 19 13:48:14 2016 From: newsgrps at dalyn.co.nz (newsgrps at dalyn.co.nz) Date: Sun, 20 Nov 2016 08:48:14 +1300 Subject: [AccessD] Error: Your network access was interrupted Message-ID: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From aclawhon at hiwaay.net Sun Nov 20 02:56:51 2016 From: aclawhon at hiwaay.net (aclawhon at hiwaay.net) Date: Sun, 20 Nov 2016 08:56:51 +0000 Subject: [AccessD] Is MongoDB (and NoSQL) For Real? Message-ID: <20161120085651.Horde.aYpVbDPlHh2mJ_LfyCgaYer@webmail.hiwaay.net> http://diginomica.com/2016/11/16/mongodb-ceo-claims-won-developers-hearts-oracle/ I quit doing software and databases quite some time ago, but I seem to recall occasional articles (like this one) predicting that SQL and the relational database model were on their way out as "developers" could do the same work SQL - and relational databases do - without using SQL. I have no idea if this Mr. Ittycheria is legitimate or just another scam artist blowing smoke up investors' collective arses. I suppose we'll know if MongoDB is for real when we read that Microsoft is buying the company for boo coos of cash and/or we start reading stories on Slashdot where Larry Ellison is demonizing Ittycheria and his company. Dubious Alan of Huntsville From mcp2004 at mail.ru Sun Nov 20 13:34:13 2016 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 20 Nov 2016 22:34:13 +0300 Subject: [AccessD] =?utf-8?q?Is_MongoDB_=28and_NoSQL=29_For_Real=3F?= In-Reply-To: <20161120085651.Horde.aYpVbDPlHh2mJ_LfyCgaYer@webmail.hiwaay.net> References: <20161120085651.Horde.aYpVbDPlHh2mJ_LfyCgaYer@webmail.hiwaay.net> Message-ID: <1479670453.466481739@f47.i.mail.ru> Hi Alan -- I have worked with MongoDB using C# drivers/API - it's a very good stuff: I have had a legacy database with object model accessible only via custom C++/C#/VBA coding, and I have used that object model to export most of this legacy database contents into a MongoDB database queryable using generic noSQL query language and tools as well as using C# drivers/API. <<< ... we'll know if MongoDB is for real when we read that Microsoft is? buying the company for boo coos of cash ... >>> MS does have noSQL database engine/MS Azure service DocumentDB ?and they (MS) do provide DocumentDB protocol for MongoDB: https://docs.microsoft.com/en-us/azure/documentdb/documentdb-protocol-mongodb ? I suppose this fact proves that MongoDB is for real business. -- Shamil >Sunday, November 20, 2016 11:56 AM +03:00 from aclawhon at hiwaay.net: > > >????? >http://diginomica.com/2016/11/16/mongodb-ceo-claims-won-developers-hearts-oracle/ > >I quit doing software and databases quite some time ago, but I seem to >recall occasional articles (like this one) predicting that SQL and the >relational database model were on their way out as "developers" could >do the same work SQL - and relational databases do - without using SQL. > >I have no idea if this Mr. Ittycheria is legitimate or just another >scam artist blowing smoke up investors' collective arses. I suppose >we'll know if MongoDB is for real when we read that Microsoft is >buying the company for boo coos of cash and/or we start reading >stories on Slashdot where Larry Ellison is demonizing Ittycheria and >his company. > >Dubious Alan of Huntsville > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sun Nov 20 14:25:26 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 20 Nov 2016 15:25:26 -0500 Subject: [AccessD] last version that supports vba In-Reply-To: <056901d24295$df8c9b60$9ea5d220$@net> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <056901d24295$df8c9b60$9ea5d220$@net> Message-ID: <26DA2C2F39D246CAB77E54167BAFC3A0@XPS> You'll never see VBA on the web side of things. If anything it would be something like Java script, but certainly not VBA. BTW, speaking of web/mobile, anyone worked with Power Apps from Microsoft? http://blogs.microsoft.com/blog/2015/11/30/introducing-microsoft-powerapps/ https://powerapps.microsoft.com/en-us/ Sounds somewhat off topic, but I know many of us are still looking for something for web development. Curious if anyone has used this as yet. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, November 19, 2016 01:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] last version that supports vba Re: "Only Access web apps don't support VBA." Albeit an innocuous comment, it is MOMBO IMPORTANT for Access developers. All Microsoft has to do is port the Access Object model to the web. Sounds simple, but no trivial task. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Jim Dettman > Sent: Saturday, November 19, 2016 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] last version that supports vba > > > 2016, which is the last version that was released. Only Access web > apps don't support VBA. > > For the desktop side of things, VBA will continue to be supported just > as it always has (well at least back to A95 that is...before that it > was Access Basic) > > Jim > > Sent from my iPhone > > > On Nov 19, 2016, at 11:44 AM, John Colby wrote: > > > > What is the last version of Access to support VBA? 2010? > > > > I am interested in distributing runtimes. Do they run under Windows > 10? > > > > -- > > John W. Colby > > > > -- > > 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 Sun Nov 20 21:06:51 2016 From: jwcolby at gmail.com (John Colby) Date: Sun, 20 Nov 2016 22:06:51 -0500 Subject: [AccessD] last version that supports vba In-Reply-To: <19b401d2428a$9f804770$de80d650$@winhaven.net> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <19b401d2428a$9f804770$de80d650$@winhaven.net> Message-ID: <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> One response indicates vba doesn't work on windows 2010? On 11/19/2016 12:30 PM, John R Bartow wrote: > http://www.theregister.co.uk/2015/10/01/microsoft_office_2016_for_developers > _vba_lives_on_new_javascript_apis_coming_for_mobile/?page=1 -- John W. Colby From jwcolby at gmail.com Sun Nov 20 21:14:32 2016 From: jwcolby at gmail.com (John Colby) Date: Sun, 20 Nov 2016 22:14:32 -0500 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> Message-ID: <8f8486ea-edc1-ae6d-afea-82116126f936@gmail.com> going to SQL Server back end neatly solves the "WAN incompatibility" issue. On 11/19/2016 2:48 PM, newsgrps at dalyn.co.nz wrote: > Further update to this problem from the IT guy: > > "New Switch has been put in and cabling checked, users like Cam have been > taken off wireless. Av has been modified to remove scanning of DB. I am > pretty confident at this point that from a networking perspective there is > no issues here. We have not had any other issues with the system and there > is other network related task occurring all the time. I think we have a > compatibility issue with possibly Windows 10 and Access 2016 which is the > common element here. One of the other guys in the office is Win 7 with > Office 2016 and he doesn't have any issues at all. The only difference is > he doesn't do quoting to the same level as the other two though. I think > these difference need to be investigated further as it will probably narrow > down where the issues are." > > Could the Windows 10/Access 2016 combination be a problem (grasping at > straws). > > Regards > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim Dettman > Sent: Friday, 11 November 2016 1:51 a.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Error: Your network access was interrupted > > The problem with this error is that so many things can cause it, and yes, > it's the network in some way. JET works fine over a solid LAN with little > issue (and note LAN, not a WAN - can't tell you how many people try to run > it over a WAN, which it was never designed for). Problem is, JET will > complain loudly long before other apps do, so it usually gets blamed for > the problem. > > Besides the wireless issue (high latency), also look for NIC cards that > have power management (go to sleep) and disable that. Also disable any > diagnostic protocol they might have (card disconnects from the network, > runs its tests, then re-connects, which will drive JET nuts). > > If your using mapped drives, be aware that windows has a built-in timeout > which needs to be disabled. > > Also have them check that DB's are not being virus scanned on the stations > or servers. > > And unlike the others, I don't believe going unbound is really a > solution. > If your going to bother to do that, then you might as well not use Access. > And for most apps it would be a total re-write anyway. > > A SQL Server backend though to replace JET is certainly an option and > usually not too much of a hill to climb. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Wednesday, November 09, 2016 08:31 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Error: Your network access was interrupted > > Hi Listers, > > One of my clients is getting the following error: > > "The expression After Update you entered as the event property setting > produced the following error: Your network access was interrupted" > > Does anyone have any experience with this. Surfing indicates that it is a > network issue rather than an Access one but I am working with another > company in charge of the hardware and am trying to give them leads. > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > > -- John W. Colby From jbartow at winhaven.net Mon Nov 21 10:40:18 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 21 Nov 2016 10:40:18 -0600 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> Message-ID: <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 21 14:26:59 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 22 Nov 2016 09:26:59 +1300 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> Message-ID: <002d01d24435$9cdfbdf0$d69f39d0$@dalyn.co.nz> Further update: It has been confirmed that the Win 7 and Office 2016 combination doesn't have the same problem. Back to my question below :) David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Sunday, 20 November 2016 8:48 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Nov 21 15:53:56 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 21 Nov 2016 13:53:56 -0800 Subject: [AccessD] Access Has Stopped Working! (Working Solution) In-Reply-To: References: <00dc01d23539$d6fdf020$84f9d060$@bchacc.com> <053201d23a27$3947d470$abd77d50$@bchacc.com> Message-ID: <00fd01d24441$c20d24d0$46276e70$@bchacc.com> Dear List(s): Well I'm back to trying to solve this problem of "Access has stopped working". The delay helped by reducing the number of times access stops working, but still occurs randomly. So I thought about changing the default printer to a pdf printer and then changing back to the default. Which works OK except the pdf printer pops up a dialog box asking what to name the pdf file and where to store it. Does anyone know of a pdf printer that can be controlled from within Access so that the name and path of the pdf file can be sent to the printer? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, November 08, 2016 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Glad to hear that something is working! I do have this working at 3 customers for many years at 0.1 seconds w/o any errors. 1 second doesn't affect a user much but I'd still try 0.5 seconds. Hope that works! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, November 08, 2016 19:19 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) All: I put the Pause function in and it seemed to work on my machine. But still have the problem at the client site. It didn't work here at .1 seconds, but at 1 second it did. That same dll seems to be in the error log. But I don't find anything on the internets about it. Any more ideas? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, Hi Rocky, I think Jim is correct. First, save this as a Public Sub. '--------------------- Public Sub Pause(Optional sngNumberOfSeconds As Single = 0.1) On Error GoTo EH '-- Purpose: This will 'pause' running code so that Access can get other things done Dim sngPauseTime As Single Dim sngStart As Single If sngNumberOfSeconds = 0 Then Exit Sub sngPauseTime = sngNumberOfSeconds sngStart = Timer Do While Timer < sngStart + sngPauseTime DoEvents Loop EH: Exit Sub End Sub '-------------------------- Next, replace the 2nd DoEvents with Call Pause. I do this in my code but I didn't think you would need it. By default, Pause will run a loop of DoEvents for 1/10 of a second. Again, Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 1:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Dan, Et Al: Here's a clue, maybe. That code didn't work - got the "Access has stopped working" message. BUT! When I put a breakpoint into the code before the open query and single stepped through it (F8), it worked! So it would seem to be some kind of timing issue? I did put the DoEvents in like you said: DoCmd.OpenQuery "qryActiveUser" DoEvents DoCmd.OpenReport "rptRentalAgreement", acPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, "rptRentalAgreement", acFormatPDF, strRAPDFName, False ', "", acExportQualityPrint DoEvents 'DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint DoCmd.Close acReport, "rptRentalAgreement", acSaveNo DoCmd.Close acQuery, "qryActiveUser" Any clue here? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 02, 2016 9:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Has Stopped Working! (Working Solution) Hi Rocky, This is indeed a bug which has been around for years. This is how I handle it in my system. '---------------------------- '-- To resolve a 2046 bug in Access (see KB 244695) a software object must be opened before the 'OutputTo' method is called. '-- Open any read-only query (this opens a database window referred to in KB 244695) DoCmd.OpenQuery "qryGlobalErrors" '-- Output report from the file it's in If varObjectType = acReport Then DoEvents DoCmd.OpenReport stgObjectName, acViewPreview, , , acHidden DoEvents DoCmd.OutputTo acOutputReport, stgObjectName, acFormatPDF, stgAccessObjectPath DoEvents DoCmd.Close acReport, stgObjectName, acSaveNo Else DoEvents DoCmd.OutputTo varObjectType, stgObjectName, varOutputFormat, stgAccessObjectPath End If '-- Close the read-only query DoCmd.Close acQuery, "qryGlobalErrors" '---------------------------- Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 02, 2016 5:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! Would be good to get the fault from the event log and then see if it is the same in each case. If it is, then your probably tripping over a bug. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, November 02, 2016 01:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Has Stopped Working! I'll try that tomorrow. Un-commenting the last two parameters of the OutputTo didn't change the result. Still barfed. I assume then after the output to you close the hidden report? Thx R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 01, 2016 10:10 PM To: 'Access Developers discussion and problem solving'; 'List'; 'Off Topic' Subject: Re: [AccessD] Access Has Stopped Working! Hi Rocky, I had a similar situation. I read somewhere that opening the report hidden first solves the problem DoCmd.OpenReport " rptRentalAgreement ", acPreview, , , acHidden DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint I also noticed in the second line above (copied from your code) you have a ' after False - this may cause a problem as well. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, 2 November 2016 5:05 p.m. To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] Access Has Stopped Working! Dear List(s): I am running an accdb in A2010. I want to convert a report to a pdf and attach it to an email. This works perfectly on my machine. At the client site it does not. I spent two hours there today trying everything I could think of - checking Microsoft update for patches fixes, updates, etc., decompiling, compact and repair, lacing the code with DoEvents, running as administrator - nothing worked. I did track the problematic line of code. It is the line with DoCmd.OutputTo acOutputReport And Access Stopped Working on this line of code almost every time. I say almost because a couple of times it ran - generated both pdfs and popped up the email with the two report pdfs attached! Which is why I tried the DoEvents. But it barfed pretty consistently on that first DoCmd.OutputTo acOutputReport, Here's the code: strFrontEndPath = db.Name Do While Right(strFrontEndPath, 1) <> "\" strFrontEndPath = Left(strFrontEndPath, Len(strFrontEndPath) - 1) Loop strRAPDFName = strFrontEndPath & "RentalAgreement-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strRAPDFName = Replace(strRAPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)", strRAPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptRentalAgreement", , strRAPDFName, , False) strCCPPDFName = strFrontEndPath & "CreditCardPermission-" _ & Me.cboNameAndAddress.Column(1) & "-" _ & Me.fldRAHOrderNumber & ".pdf" strCCPPDFName = Replace(strCCPPDFName, "*", "") DoCmd.OutputTo acOutputReport, "rptCreditCardPermissionForEmail", "PDFFormat(*.pdf)", strCCPPDFName, False ', "", acExportQualityPrint 'Call ConvertReportToPDF("rptCreditCardPermissionForEmail", , strCCPPDFName, , False) You can see the previous legacy code which worked for a long time in A2003 - the calls to ConvertToPDF - which I have commented out. That doesn't work anymore. So I'm really stumped. Has anyone had this problem and found a solution? Two martinis to the genius who can post an effective fix. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- 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 -- 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 -- 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 jim at therareshop.com Mon Nov 21 16:36:36 2016 From: jim at therareshop.com (Jim Hale) Date: Mon, 21 Nov 2016 16:36:36 -0600 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! Message-ID: <019801d24447$b83a4900$28aedb00$@therareshop.com> A papaya tree has grown to 4 ft out of the compost. We will see if it survives the winter- it hit freezing here last night. If it does we should have papaya next summer. J -----Original Message----- From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 19, 2016 7:04 AM To: Off Topic Subject: Re: [dba-OT] Our first Winter Storm of the season! No heat? What's the problem there? Is this at home or at the cabin? Hope you get it working again soon. 27 here this morning. I think I'll make some pancakes to help to counteract the golf withdrawal haha. GK From newsgrps at dalyn.co.nz Mon Nov 21 17:35:54 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 22 Nov 2016 12:35:54 +1300 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> Message-ID: <001e01d24450$00df91d0$029eb570$@dalyn.co.nz> (Sent again as didn't see it come through) Further update: It has been confirmed that the Win 7 and Office 2016 combination doesn't have the same problem. Back to my question below :) David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Sunday, 20 November 2016 8:48 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Nov 22 00:15:50 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 22 Nov 2016 01:15:50 -0500 Subject: [AccessD] last version that supports vba In-Reply-To: <056901d24295$df8c9b60$9ea5d220$@net> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <056901d24295$df8c9b60$9ea5d220$@net> Message-ID: I see no reason to port the Access object model to the web, since the JavaScript model is so superior; but of course that would demand that you do not simply port the code but rather re-write it, and the simplest way I know of is via Alpha Anywhere. Bur assuming that you're still building non-web Access apps, then you have no reason to move. A. On Sat, Nov 19, 2016 at 1:51 PM, Mark Simms wrote: > Re: "Only Access web apps don't support VBA." > Albeit an innocuous comment, it is MOMBO IMPORTANT for Access developers. > > All Microsoft has to do is port the Access Object model to the web. > Sounds simple, but no trivial task. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Jim Dettman > > Sent: Saturday, November 19, 2016 12:36 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] last version that supports vba > > > > > > 2016, which is the last version that was released. Only Access web > > apps don't support VBA. > > > > For the desktop side of things, VBA will continue to be supported just > > as it always has (well at least back to A95 that is...before that it > > was Access Basic) > > > > Jim > > > > Sent from my iPhone > > > > > On Nov 19, 2016, at 11:44 AM, John Colby wrote: > > > > > > What is the last version of Access to support VBA? 2010? > > > > > > I am interested in distributing runtimes. Do they run under Windows > > 10? > > > > > > -- > > > John W. Colby > > > > > > -- > > > 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 > -- Arthur From listmaster at databaseadvisors.com Tue Nov 22 08:47:55 2016 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Tue, 22 Nov 2016 07:47:55 -0700 Subject: [AccessD] Administrivia - Back Up and Running Message-ID: Hi All, I'd like to let everyone know that the lists are all back up and running. We had server issues. Everything should be back to normal. As always, if you ever have any problems, feel free to reach out to me. listmaster at databaseadvisors.com or carbonnb at gmail.com Your friendly neighbourhood Listmaster, Bryan -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From bradm at blackforestltd.com Tue Nov 22 10:00:50 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Tue, 22 Nov 2016 16:00:50 +0000 Subject: [AccessD] Is there a way to force Access to place single quotes on generated SQL Message-ID: All, I have a number of Access queries that I need to port to ColdFusion. When Access generates SQL from "Design View", it uses double quotes such as WHERE JOBS.JOBNO="SO80427"; I would like Access to generate this line with single quotes - like this. WHERE JOBS.JOBNO='SO80427'; Is there a setting someplace in Access to make this happen. Thanks, Brad From jbartow at winhaven.net Tue Nov 22 10:32:21 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 22 Nov 2016 10:32:21 -0600 Subject: [AccessD] last version that supports vba In-Reply-To: <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <19b401d2428a$9f804770$de80d650$@winhaven.net> <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> Message-ID: <032a01d244de$00318700$00949500$@winhaven.net> Huh? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, November 20, 2016 9:07 PM To: Access Developers discussion and problem solving; jwcolby at gmail.com Subject: Re: [AccessD] last version that supports vba One response indicates vba doesn't work on windows 2010? On 11/19/2016 12:30 PM, John R Bartow wrote: > http://www.theregister.co.uk/2015/10/01/microsoft_office_2016_for_developers > _vba_lives_on_new_javascript_apis_coming_for_mobile/?page=1 -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Tue Nov 22 10:37:22 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 22 Nov 2016 10:37:22 -0600 Subject: [AccessD] Administrivia - Back Up and Running In-Reply-To: References: Message-ID: <035101d244de$b32635e0$1972a1a0$@winhaven.net> Thanks for getting it all back up and running Bryan! John B -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, November 22, 2016 8:48 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Back Up and Running Hi All, I'd like to let everyone know that the lists are all back up and running. We had server issues. Everything should be back to normal. As always, if you ever have any problems, feel free to reach out to me. listmaster at databaseadvisors.com or carbonnb at gmail.com Your friendly neighbourhood Listmaster, Bryan -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Tue Nov 22 11:00:14 2016 From: df.waters at outlook.com (Dan Waters) Date: Tue, 22 Nov 2016 17:00:14 +0000 Subject: [AccessD] last version that supports vba In-Reply-To: <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <19b401d2428a$9f804770$de80d650$@winhaven.net> <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> Message-ID: Access VBA works fine on W10. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, November 20, 2016 21:07 To: Access Developers discussion and problem solving; jwcolby at gmail.com Subject: Re: [AccessD] last version that supports vba One response indicates vba doesn't work on windows 2010? On 11/19/2016 12:30 PM, John R Bartow wrote: > http://www.theregister.co.uk/2015/10/01/microsoft_office_2016_for_developers > _vba_lives_on_new_javascript_apis_coming_for_mobile/?page=1 -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Nov 22 11:12:46 2016 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 22 Nov 2016 09:12:46 -0800 Subject: [AccessD] last version that supports vba In-Reply-To: References: <5580b7de-52c4-ddc7-eade-1bdc41e18680@gmail.com> <19b401d2428a$9f804770$de80d650$@winhaven.net> <78053485-61d6-6717-d93a-8469e3e51211@gmail.com> Message-ID: I'm currently doing all my development work (lots of VBA!) in Access 2010 on Windows 10. I have a client who is running a mix of Access 2007 and 2013, and my dbs run fine on their machines after fixing bad references and recompiling. On Tue, Nov 22, 2016 at 9:00 AM, Dan Waters wrote: > Access VBA works fine on W10. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John Colby > Sent: Sunday, November 20, 2016 21:07 > To: Access Developers discussion and problem solving; jwcolby at gmail.com > Subject: Re: [AccessD] last version that supports vba > > One response indicates vba doesn't work on windows 2010? > > > On 11/19/2016 12:30 PM, John R Bartow wrote: > > http://www.theregister.co.uk/2015/10/01/microsoft_office_ > 2016_for_developers > > _vba_lives_on_new_javascript_apis_coming_for_mobile/?page=1 > > -- > John W. Colby > > -- > 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 ssharkins at gmail.com Tue Nov 22 11:22:51 2016 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Nov 2016 12:22:51 -0500 Subject: [AccessD] Administrivia - Back Up and Running In-Reply-To: <035101d244de$b32635e0$1972a1a0$@winhaven.net> References: <035101d244de$b32635e0$1972a1a0$@winhaven.net> Message-ID: <004901d244e5$0e667180$2b335480$@gmail.com> Bryan, are you snowed in? And thanks! Susan H Thanks for getting it all back up and running Bryan! John B -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, November 22, 2016 8:48 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Back Up and Running Hi All, I'd like to let everyone know that the lists are all back up and running. We had server issues. Everything should be back to normal. As always, if you ever have any problems, feel free to reach out to me. listmaster at databaseadvisors.com or carbonnb at gmail.com Your friendly neighbourhood Listmaster, Bryan -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- 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 garykjos at gmail.com Tue Nov 22 12:11:46 2016 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 22 Nov 2016 12:11:46 -0600 Subject: [AccessD] Administrivia - Back Up and Running In-Reply-To: <004901d244e5$0e667180$2b335480$@gmail.com> References: <035101d244de$b32635e0$1972a1a0$@winhaven.net> <004901d244e5$0e667180$2b335480$@gmail.com> Message-ID: I hope not he is in Arizona I think. GK On Tue, Nov 22, 2016 at 11:22 AM, Susan Harkins wrote: > Bryan, are you snowed in? And thanks! > > Susan H > > > Thanks for getting it all back up and running Bryan! > John B > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: Tuesday, November 22, 2016 8:48 AM > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Back Up and Running > > Hi All, > > I'd like to let everyone know that the lists are all back up and running. We > had server issues. > > Everything should be back to normal. > > As always, if you ever have any problems, feel free to reach out to me. > listmaster at databaseadvisors.com > or > carbonnb at gmail.com > > Your friendly neighbourhood Listmaster, > Bryan > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well preserved > body, but rather to skid in sideways, totally worn out, shouting "What a > great ride!" > -- > 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 -- Gary Kjos garykjos at gmail.com From jbartow at winhaven.net Tue Nov 22 13:24:57 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 22 Nov 2016 13:24:57 -0600 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <019801d24447$b83a4900$28aedb00$@therareshop.com> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> Message-ID: <05d001d244f6$1cf50930$56df1b90$@winhaven.net> In one year? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hale Sent: Monday, November 21, 2016 4:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! A papaya tree has grown to 4 ft out of the compost. We will see if it survives the winter- it hit freezing here last night. If it does we should have papaya next summer. J -----Original Message----- From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 19, 2016 7:04 AM To: Off Topic Subject: Re: [dba-OT] Our first Winter Storm of the season! No heat? What's the problem there? Is this at home or at the cabin? Hope you get it working again soon. 27 here this morning. I think I'll make some pancakes to help to counteract the golf withdrawal haha. GK -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Nov 22 15:40:00 2016 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 22 Nov 2016 16:40:00 -0500 Subject: [AccessD] Administrivia - Back Up and Running In-Reply-To: References: <035101d244de$b32635e0$1972a1a0$@winhaven.net> <004901d244e5$0e667180$2b335480$@gmail.com> Message-ID: <005401d24508$fb347660$f19d6320$@gmail.com> Oh! Silly me. :) I knew he was traveling in the US, just didn't realize he'd gotten so far south already! I hope not he is in Arizona I think. GK On Tue, Nov 22, 2016 at 11:22 AM, Susan Harkins wrote: > Bryan, are you snowed in? And thanks! > > Susan H > > > Thanks for getting it all back up and running Bryan! > John B > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bryan Carbonnell > Sent: Tuesday, November 22, 2016 8:48 AM > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Back Up and Running > > Hi All, > > I'd like to let everyone know that the lists are all back up and > running. We had server issues. > > Everything should be back to normal. > > As always, if you ever have any problems, feel free to reach out to me. > listmaster at databaseadvisors.com > or > carbonnb at gmail.com > > Your friendly neighbourhood Listmaster, Bryan > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > 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 -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Wed Nov 23 14:31:58 2016 From: jbartow at winhaven.net (John R Bartow) Date: Wed, 23 Nov 2016 14:31:58 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> Message-ID: <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> Jim, Stuart, John: Thanks for your assistance! It's been a LONG time since I've even looked at VBA code and what was happening in this case is that I was working with an app file that was not the correct one. It was a "next version" I had been working on but never went too far with. I had been switching some code that had used global variables into using custom properties instead. I worked on finishing that in A2003 in a VM. I then brought it into A2013. On first attempt at compile it barked about procedures with CurrentDB() - had to remove the parenthesis. Oddly it did not bark about them all. It barked about the one in the last Class Object I had edited in A2003. There are others in there that it didn't see as a problem but I replaced them anyway. So I finished doing that and it all works now. But here's a question for you: do you still think its wiser to use custom database properties rather than global variables? PS: must be throwback month. I had to resuce a sign shop that was using a Windows 3.1 PC (nothing has changed on it since 1992.) as a cutting machine controller. Guess they don't run forever. VM is now their friend until they get new a new cutting machine. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 16, 2016 6:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Also this, which might make the app a bit more bullet proof depending on what your using those properties for. Jim. Private Sub Form_Open(Cancel As Integer) Dim strTitle As String, strSubject As String, strAuthor As String strTitle = "Title" strSubject = "Subject" strAuthor = "Author" Me!txtTitle = GetSummaryInfo(strTitle) Me!txtSubject = GetSummaryInfo(strSubject) Me!txtAuthor = GetSummaryInfo(strAuthor) End Sub Function GetSummaryInfo(strPropName As String) As String Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property ' Property not found error. Const conPropertyNotFound = 3270 On Error GoTo GetSummary_Err Set dbs = CurrentDb Set cnt = dbs.Containers!Databases Set doc = cnt.Documents!SummaryInfo doc.Properties.Refresh GetSummaryInfo = doc.Properties(strPropName) GetSummary_Bye: Exit Function GetSummary_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, dbText, "None") ' Append to collection. doc.Properties.Append prp Resume Else ' Unknown error. GetSummaryInfo = "" Resume GetSummary_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 jimdettman at verizon.net Thu Nov 24 05:50:56 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 24 Nov 2016 06:50:56 -0500 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> Message-ID: <> Depends on what your using it for I think. Also keep in mind that later version have tempvars, which fall in the middle. They are a variable like a global, but they don't loose their value on a VBA reset. I would use a database property for something like an app title, or version number possibly. Tempvars to load at startup for things like app flags, and globals for very temp/scratch work. But, you can use any one of the three for any of the others if you really want to. Personally, I've always stuck with globals for everything, but I don't use them all that much. That's mainly because it's how I started, and I have logic in place to work that way. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 23, 2016 03:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Jim, Stuart, John: Thanks for your assistance! It's been a LONG time since I've even looked at VBA code and what was happening in this case is that I was working with an app file that was not the correct one. It was a "next version" I had been working on but never went too far with. I had been switching some code that had used global variables into using custom properties instead. I worked on finishing that in A2003 in a VM. I then brought it into A2013. On first attempt at compile it barked about procedures with CurrentDB() - had to remove the parenthesis. Oddly it did not bark about them all. It barked about the one in the last Class Object I had edited in A2003. There are others in there that it didn't see as a problem but I replaced them anyway. So I finished doing that and it all works now. But here's a question for you: do you still think its wiser to use custom database properties rather than global variables? PS: must be throwback month. I had to resuce a sign shop that was using a Windows 3.1 PC (nothing has changed on it since 1992.) as a cutting machine controller. Guess they don't run forever. VM is now their friend until they get new a new cutting machine. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, November 16, 2016 6:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Also this, which might make the app a bit more bullet proof depending on what your using those properties for. Jim. Private Sub Form_Open(Cancel As Integer) Dim strTitle As String, strSubject As String, strAuthor As String strTitle = "Title" strSubject = "Subject" strAuthor = "Author" Me!txtTitle = GetSummaryInfo(strTitle) Me!txtSubject = GetSummaryInfo(strSubject) Me!txtAuthor = GetSummaryInfo(strAuthor) End Sub Function GetSummaryInfo(strPropName As String) As String Dim dbs As Database, cnt As Container Dim doc As Document, prp As Property ' Property not found error. Const conPropertyNotFound = 3270 On Error GoTo GetSummary_Err Set dbs = CurrentDb Set cnt = dbs.Containers!Databases Set doc = cnt.Documents!SummaryInfo doc.Properties.Refresh GetSummaryInfo = doc.Properties(strPropName) GetSummary_Bye: Exit Function GetSummary_Err: If Err = conPropertyNotFound Then Set prp = doc.CreateProperty(strPropName, dbText, "None") ' Append to collection. doc.Properties.Append prp Resume Else ' Unknown error. GetSummaryInfo = "" Resume GetSummary_Bye End If End Function -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Wednesday, November 16, 2016 02:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Importance: High Yes, thanks, I cannot find where its created. I'm going to have to go back into the old version to figure this out. VM time. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2016 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 To create a custom property you need to do something like: Set dbs = CurrentDb Set prp = dbs.CreateProperty("CheckForLabelPrinter", dbBoolean, True) dbs.Properties.Append prp On 16 Nov 2016 at 1:10, John R Bartow wrote: > That is creating a custom property so it exists as soon as it's made. > But to further that idea, maybe the method of creating a custom > property has changed (or needs to be more implicit in newer versions?) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, November 16, 2016 12:30 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Error help with upgrade from A03 to A13 > > Since you've converted the DB, are you sure the property still exists? > > > > > On 15 Nov 2016 at 23:48, John R Bartow wrote: > > > Good WAG but that didn't do that trick. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Stuart McLachlan Sent: Tuesday, November 15, 2016 7:51 PM > > To: Access Developers discussion and problem solving Subject: Re: > > [AccessD] Error help with upgrade from A03 to A13 > > > > Just a WAG. Try Dim dbs As DAO.Database. > > > > Without the DAO, you can get strange error messages when trying to > > access properties. > > > > > > > > On 15 Nov 2016 at 19:29, John R Bartow wrote: > > > > > Dim dbs As Database > > > > > > -- -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Nov 24 09:45:09 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 24 Nov 2016 10:45:09 -0500 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg> <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> Message-ID: Frankly, I never use global variables. For that sort of functionality, I always go with static set/get functions. No accidents, that way. A. ? From jim at therareshop.com Thu Nov 24 15:32:18 2016 From: jim at therareshop.com (Jim Hale) Date: Thu, 24 Nov 2016 15:32:18 -0600 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <05d001d244f6$1cf50930$56df1b90$@winhaven.net> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <05d001d244f6$1cf50930$56df1b90$@winhaven.net> Message-ID: <012401d2469a$3be22530$b3a66f90$@therareshop.com> Yes. It is very skinny. J -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, November 22, 2016 1:25 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Importance: High In one year? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hale Sent: Monday, November 21, 2016 4:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! A papaya tree has grown to 4 ft out of the compost. We will see if it survives the winter- it hit freezing here last night. If it does we should have papaya next summer. J -----Original Message----- From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 19, 2016 7:04 AM To: Off Topic Subject: Re: [dba-OT] Our first Winter Storm of the season! No heat? What's the problem there? Is this at home or at the cabin? Hope you get it working again soon. 27 here this morning. I think I'll make some pancakes to help to counteract the golf withdrawal haha. GK -- 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 carbonnb at gmail.com Thu Nov 24 18:28:49 2016 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 24 Nov 2016 17:28:49 -0700 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <012401d2469a$3be22530$b3a66f90$@therareshop.com> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <05d001d244f6$1cf50930$56df1b90$@winhaven.net> <012401d2469a$3be22530$b3a66f90$@therareshop.com> Message-ID: Psst. Wrong door. Down the hall to the left. The one that says OT on it, if'n y'all don't mind. B On Nov 24, 2016 2:34 PM, "Jim Hale" wrote: > Yes. It is very skinny. > > J > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John R Bartow > Sent: Tuesday, November 22, 2016 1:25 PM > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! > Importance: High > > In one year? > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim > Hale > Sent: Monday, November 21, 2016 4:37 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! > > A papaya tree has grown to 4 ft out of the compost. We will see if it > survives the winter- it hit freezing here last night. If it does we should > have papaya next summer. > > J > > -----Original Message----- > From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of > Gary > Kjos > Sent: Saturday, November 19, 2016 7:04 AM > To: Off Topic > Subject: Re: [dba-OT] Our first Winter Storm of the season! > > No heat? What's the problem there? Is this at home or at the cabin? > Hope you get it working again soon. > > 27 here this morning. I think I'll make some pancakes to help to > counteract > the golf withdrawal haha. > > GK > > > > -- > 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 stuart at lexacorp.com.pg Fri Nov 25 03:01:54 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 25 Nov 2016 19:01:54 +1000 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: , , Message-ID: <5837FE02.29330.7311C399@stuart.lexacorp.com.pg> Properties are permanent until deliberately changed. :) Both Globals and Static functions lose their value any time an error occurs :( -- Stuart On 24 Nov 2016 at 10:45, Arthur Fuller wrote: > Frankly, I never use global variables. For that sort of functionality, > I always go with static set/get functions. No accidents, that way. > > A. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jbartow at winhaven.net Fri Nov 25 12:55:15 2016 From: jbartow at winhaven.net (John R Bartow) Date: Fri, 25 Nov 2016 12:55:15 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: , <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg>, <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> Message-ID: Thanks all, This app was written in 1999 and I didn't utilize custom properties back then. I used a hidden sys_table to hold all of the application's custom (AppName, AppVersion, AppIcon) and licensing information (Developers Contact Information, LicensedOwner, LicensedOwners Logo, Licensed Owner's contact info, License Agreement, etc.). The kind of things that were mostly put in text files back then and didn't "travel well" when people "shared" your custom apps. Which was happening to me then. So I implemented this method and utilized the licensing info in the UI and Reports so if someone got the app without paying they'd at least have suffer through seeing this information on their screens and reports. Given that much of what I was doing was for government offices, that helped. :-) Any time one of those values was needed I used a lookup function like DLookup to get it, which worked but was not real efficient. Because the database properties would be consistent for all users on the PC, as it is installed as a common program, these are the items that I thought could be changed to be custom properties. These items are all static and are only changed upon a new distribution. Question 1 - Does that make correct to you? And then there are the 3 global variables. Global gfDymoInstalled As Boolean A function call checked to see if the user had a Dymo label printer installed and set this value. It is basically used to show/hide anything in the UI related to using a Dymo Label Printer. 'OLE objects to communicate with DLS Global gobjDymoAddIn As Object Global gobjDymoLabels As Object These hold Dymo OLE objects which were loaded by the same function that checked to make sure a Dymo Label Printer was installed when true. Question 2 - Does it really make sense to make these a custom property? I'd have to check every time the app opens to make sure they still exist anyway, so it sounds like tempvars would be more appropriate. Question 3 - And I'm not sure why but I'm just a bit leery of holding an OLE Object as a custom property. Is there a valid reason to be leery of that? Question 4 - Does Access hold global variables/tempvar separately for each user session on the same PC? For instance: I have offices with VDI devices which allow multiple users to concurrently utilize one PC. If I have 2+ user sessions using the same Access Application mdb do they share any variables or just the custom properties? John B From jbartow at winhaven.net Fri Nov 25 12:55:15 2016 From: jbartow at winhaven.net (John R Bartow) Date: Fri, 25 Nov 2016 12:55:15 -0600 Subject: [AccessD] Error help with upgrade from A03 to A13 In-Reply-To: References: <582BFD00.12923.442DFB16@stuart.lexacorp.com.pg> <114801d23fd8$75a43fb0$60ecbf10$@winhaven.net> <582C0844.12941.4459FA2D@stuart.lexacorp.com.pg> <115801d23fdd$65889d60$3099d820$@winhaven.net> <05ab01d245c8$a42e28f0$ec8a7ad0$@winhaven.net> Message-ID: <0bd701d2474d$75a22460$60e66d20$@winhaven.net> Hi Arthur, I do use those also. In certain cases I find that they work well. John B -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, November 24, 2016 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error help with upgrade from A03 to A13 Frankly, I never use global variables. For that sort of functionality, I always go with static set/get functions. No accidents, that way. A. ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Nov 26 21:54:09 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 26 Nov 2016 20:54:09 -0700 (MST) Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <019801d24447$b83a4900$28aedb00$@therareshop.com> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> Message-ID: <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> Wrap the tree up. The local park did that for years with their Banana trees and it wasn't until some municipal politician decided to save money that the trees died. Jim ----- Original Message ----- From: "Jim Hale" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2016 2:36:36 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! A papaya tree has grown to 4 ft out of the compost. We will see if it survives the winter- it hit freezing here last night. If it does we should have papaya next summer. J -----Original Message----- From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 19, 2016 7:04 AM To: Off Topic databaseadvisors.com> Subject: Re: [dba-OT] Our first Winter Storm of the season! No heat? What's the problem there? Is this at home or at the cabin? Hope you get it working again soon. 27 here this morning. I think I'll make some pancakes to help to counteract the golf withdrawal haha. GK -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Nov 27 00:50:03 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 27 Nov 2016 16:50:03 +1000 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> References: <019801d24447$b83a4900$28aedb00$@therareshop.com>, <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> Message-ID: <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> No such thing as a banana tree :) -- Stuart On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > Wrap the tree up. The local park did that for years with their Banana > trees and it wasn't until some municipal politician decided to save > money that the trees died. > > Jim > From accessd at shaw.ca Sun Nov 27 04:01:53 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2016 03:01:53 -0700 (MST) Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> Message-ID: <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> So wise one...what is a banana tree? http://www.bananaplants.net/banananinfo.html Jim ----- Original Message ----- From: "stuart" To: "Access Developers discussion and problem solving" Sent: Saturday, November 26, 2016 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! No such thing as a banana tree :) -- Stuart On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > Wrap the tree up. The local park did that for years with their Banana > trees and it wasn't until some municipal politician decided to save > money that the trees died. > > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Nov 27 05:07:28 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 27 Nov 2016 21:07:28 +1000 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> References: <019801d24447$b83a4900$28aedb00$@therareshop.com>, <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg>, <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> Message-ID: <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> Like I said - no such thing as a banana "tree". :) Trees have perennial (1) , woody (2) trunks. 1. The banana is a herb similar to ginger etc (only bigger). It grows from a rhizome, The "trunk" dies after it has borne one crop of fruit. New banana plants are generate as suckers by the rhizome and they are short lived. Only the rhizome itself is "perrenial". 2. The banana doesn't have a trunk, woody or otherwise. (Other non- trees such as bamboos and palms, do have trunks) The banana's pseudostem is just a compressed mass of leaves (like an onion or leek) See http://www.fao.org/docrep/006/t0308e/T0308E03.htm :) On 27 Nov 2016 at 3:01, Jim Lawrence wrote: > So wise one...what is a banana tree? > > http://www.bananaplants.net/banananinfo.html > > Jim > > ----- Original Message ----- > From: "stuart" > To: "Access Developers discussion and problem solving" > Sent: Saturday, November 26, 2016 > 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of > the season! > > No such thing as a banana tree > > :) > > -- > Stuart > > On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > > > Wrap the tree up. The local park did that for years with their > > Banana trees and it wasn't until some municipal politician decided > > to save money that the trees died. > > > > Jim > > > > -- > 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 jamesbutton at blueyonder.co.uk Sun Nov 27 07:13:08 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Sun, 27 Nov 2016 13:13:08 -0000 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> References: <019801d24447$b83a4900$28aedb00$@therareshop.com>, <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg>, <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> Message-ID: Basic process I use At first frost Cut all 'leaves' off - and cut any excessively curled or rotted edges from the remnant of the old leaves that form the stem. Idea is to not have parts of the plant that will rot too swiftly, or direct rain or condensing moisture into the stem. Now - wrap the step in about 2" of insulation - plant matter or rockwool Don't want to hold moisture against the stem. Loosely wrap that in plastic to keep rain etc. from soaking the insulation - Now - for more protection - wrap that - without compressing it in a further layer of material The further layer is to get damp - or even wet, but not so that it slides down the stem or compresses the inner layer And then a reasonably robust black plastic bag over the top to stop rain getting in to the stem or structure from the top. Theory - the inner layer forms an air gap and the outer layer will freeze stopping the immediate cold from penetrating to the stem Sort of like a pond freezes on-top but not underneath. The absence of light will slow down growth that occurs during the not so cold periods And the capping bag should be stretched by leaves when they do grow, The tops of the new leaves in the bag may get frosted - but there should be some new ones apparent when you take the bag off in the spring Mostly, the intent is to protect the inner growing tip and developing leaves from being frozen by snow, or rainwater assisted penetrating frosts. And - re. rhizome and growth - I had a rhizome of a plant with a 120mm wide stem, grow a 'pup' horizontally under the slab and expanding to lift a 60 x 600x 900 path paving slab by a couple of inches. Easy to deal with - apart from the slab weight - lift slab, spade off the end of the rhizome life the pup and it's small amount of roots relay slab and put the pup to be a 'present' for someone! (In the 'temperate' South East of England - anything from Mediterranean summers to 60mm rain in a day, or -10?c and 3' of snow laying for a few months.- so little expectation of 'fruit') JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, November 27, 2016 11:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Like I said - no such thing as a banana "tree". :) Trees have perennial (1) , woody (2) trunks. 1. The banana is a herb similar to ginger etc (only bigger). It grows from a rhizome, The "trunk" dies after it has borne one crop of fruit. New banana plants are generate as suckers by the rhizome and they are short lived. Only the rhizome itself is "perrenial". 2. The banana doesn't have a trunk, woody or otherwise. (Other non- trees such as bamboos and palms, do have trunks) The banana's pseudostem is just a compressed mass of leaves (like an onion or leek) See http://www.fao.org/docrep/006/t0308e/T0308E03.htm :) On 27 Nov 2016 at 3:01, Jim Lawrence wrote: > So wise one...what is a banana tree? > > http://www.bananaplants.net/banananinfo.html > > Jim > > ----- Original Message ----- > From: "stuart" > To: "Access Developers discussion and problem solving" > Sent: Saturday, November 26, 2016 > 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of > the season! > > No such thing as a banana tree > > :) > > -- > Stuart > > On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > > > Wrap the tree up. The local park did that for years with their > > Banana trees and it wasn't until some municipal politician decided > > to save money that the trees died. > > > > Jim > > > > -- > 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 carbonnb at gmail.com Sun Nov 27 11:04:42 2016 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sun, 27 Nov 2016 10:04:42 -0700 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> Message-ID: OK Gents, Take this over to OT. Your slightly grumpy Listmaster. Bryan On 27 November 2016 at 06:13, James Button wrote: > Basic process I use > At first frost > Cut all 'leaves' off - and cut any excessively curled or rotted edges from the > remnant of the old leaves that form the stem. > Idea is to not have parts of the plant that will rot too swiftly, or direct rain > or condensing moisture into the stem. > > Now - wrap the step in about 2" of insulation - plant matter or rockwool > Don't want to hold moisture against the stem. > Loosely wrap that in plastic to keep rain etc. from soaking the insulation - > Now - for more protection - wrap that - without compressing it in a further > layer of material > The further layer is to get damp - or even wet, but not so that it slides down > the stem or compresses the inner layer > And then a reasonably robust black plastic bag over the top to stop rain > getting in to the stem or structure from the top. > > Theory - the inner layer forms an air gap and the outer layer will freeze > stopping the immediate cold from penetrating to the stem > Sort of like a pond freezes on-top but not underneath. > The absence of light will slow down growth that occurs during the not so cold > periods > And the capping bag should be stretched by leaves when they do grow, > The tops of the new leaves in the bag may get frosted - but there should be some > new ones apparent when you take the bag off in the spring > > Mostly, the intent is to protect the inner growing tip and developing leaves > from being frozen by snow, or rainwater assisted penetrating frosts. > > And - re. rhizome and growth - I had a rhizome of a plant with a 120mm wide > stem, grow a 'pup' horizontally under the slab and expanding to lift a 60 x > 600x 900 path paving slab by a couple of inches. > Easy to deal with - apart from the slab weight - lift slab, spade off the end of > the rhizome life the pup and it's small amount of roots relay slab and put the > pup to be a 'present' for someone! > > (In the 'temperate' South East of England - anything from Mediterranean summers > to 60mm rain in a day, or -10?c and 3' of snow laying for a few months.- so > little expectation of 'fruit') > > JimB > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Sunday, November 27, 2016 11:07 AM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! > > Like I said - no such thing as a banana "tree". :) > > Trees have perennial (1) , woody (2) trunks. > > 1. The banana is a herb similar to ginger etc (only bigger). It grows from a > rhizome, The > "trunk" dies after it has borne one crop of fruit. New banana plants are > generate as suckers > by the rhizome and they are short lived. Only the rhizome itself is > "perrenial". > > 2. The banana doesn't have a trunk, woody or otherwise. (Other non- trees such > as > bamboos and palms, do have trunks) The banana's pseudostem is just a > compressed > mass of leaves (like an onion or leek) > > See http://www.fao.org/docrep/006/t0308e/T0308E03.htm > > :) > > > > On 27 Nov 2016 at 3:01, Jim Lawrence wrote: > >> So wise one...what is a banana tree? >> >> http://www.bananaplants.net/banananinfo.html >> >> Jim >> >> ----- Original Message ----- >> From: "stuart" >> To: "Access Developers discussion and problem solving" >> Sent: Saturday, November 26, 2016 >> 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of >> the season! >> >> No such thing as a banana tree >> >> :) >> >> -- >> Stuart >> >> On 26 Nov 2016 at 20:54, Jim Lawrence wrote: >> >> > Wrap the tree up. The local park did that for years with their >> > Banana trees and it wasn't until some municipal politician decided >> > to save money that the trees died. >> > >> > Jim >> > >> >> -- >> 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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well-preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From accessd at shaw.ca Sun Nov 27 12:24:20 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2016 11:24:20 -0700 (MST) Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> Message-ID: <80622304.101880276.1480271060287.JavaMail.zimbra@shaw.ca> Thank you Stuart...I feel enlightened. :-) The banana (bushes ?) that were growing in the park lasted for years...is this because they never had a full crop of bananas? ...or were they just a special ornamental variety? Jim ----- Original Message ----- From: "stuart" To: "Access Developers discussion and problem solving" Sent: Sunday, November 27, 2016 3:07:28 AM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Like I said - no such thing as a banana "tree". :) Trees have perennial (1) , woody (2) trunks. 1. The banana is a herb similar to ginger etc (only bigger). It grows from a rhizome, The "trunk" dies after it has borne one crop of fruit. New banana plants are generate as suckers by the rhizome and they are short lived. Only the rhizome itself is "perrenial". 2. The banana doesn't have a trunk, woody or otherwise. (Other non- trees such as bamboos and palms, do have trunks) The banana's pseudostem is just a compressed mass of leaves (like an onion or leek) See http://www.fao.org/docrep/006/t0308e/T0308E03.htm :) On 27 Nov 2016 at 3:01, Jim Lawrence wrote: > So wise one...what is a banana tree? > > http://www.bananaplants.net/banananinfo.html > > Jim > > ----- Original Message ----- > From: "stuart" > To: "Access Developers discussion and problem solving" > Sent: Saturday, November 26, 2016 > 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of > the season! > > No such thing as a banana tree > > :) > > -- > Stuart > > On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > > > Wrap the tree up. The local park did that for years with their > > Banana trees and it wasn't until some municipal politician decided > > to save money that the trees died. > > > > Jim > > > > -- > 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 accessd at shaw.ca Sun Nov 27 12:58:47 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2016 11:58:47 -0700 (MST) Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <583A821B.5280.7CE5A4E6@stuart.lexacorp.com.pg> <1678135681.101130790.1480240913712.JavaMail.zimbra@shaw.ca> <583ABE70.10277.7DD14F5C@stuart.lexacorp.com.pg> Message-ID: <1035582544.101941244.1480273127198.JavaMail.zimbra@shaw.ca> That is very interesting. Jim ----- Original Message ----- From: "James Button" To: "Access Developers discussion and problem solving" Sent: Sunday, November 27, 2016 5:13:08 AM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Basic process I use At first frost Cut all 'leaves' off - and cut any excessively curled or rotted edges from the remnant of the old leaves that form the stem. Idea is to not have parts of the plant that will rot too swiftly, or direct rain or condensing moisture into the stem. Now - wrap the step in about 2" of insulation - plant matter or rockwool Don't want to hold moisture against the stem. Loosely wrap that in plastic to keep rain etc. from soaking the insulation - Now - for more protection - wrap that - without compressing it in a further layer of material The further layer is to get damp - or even wet, but not so that it slides down the stem or compresses the inner layer And then a reasonably robust black plastic bag over the top to stop rain getting in to the stem or structure from the top. Theory - the inner layer forms an air gap and the outer layer will freeze stopping the immediate cold from penetrating to the stem Sort of like a pond freezes on-top but not underneath. The absence of light will slow down growth that occurs during the not so cold periods And the capping bag should be stretched by leaves when they do grow, The tops of the new leaves in the bag may get frosted - but there should be some new ones apparent when you take the bag off in the spring Mostly, the intent is to protect the inner growing tip and developing leaves from being frozen by snow, or rainwater assisted penetrating frosts. And - re. rhizome and growth - I had a rhizome of a plant with a 120mm wide stem, grow a 'pup' horizontally under the slab and expanding to lift a 60 x 600x 900 path paving slab by a couple of inches. Easy to deal with - apart from the slab weight - lift slab, spade off the end of the rhizome life the pup and it's small amount of roots relay slab and put the pup to be a 'present' for someone! (In the 'temperate' South East of England - anything from Mediterranean summers to 60mm rain in a day, or -10?c and 3' of snow laying for a few months.- so little expectation of 'fruit') JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, November 27, 2016 11:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Like I said - no such thing as a banana "tree". :) Trees have perennial (1) , woody (2) trunks. 1. The banana is a herb similar to ginger etc (only bigger). It grows from a rhizome, The "trunk" dies after it has borne one crop of fruit. New banana plants are generate as suckers by the rhizome and they are short lived. Only the rhizome itself is "perrenial". 2. The banana doesn't have a trunk, woody or otherwise. (Other non- trees such as bamboos and palms, do have trunks) The banana's pseudostem is just a compressed mass of leaves (like an onion or leek) See http://www.fao.org/docrep/006/t0308e/T0308E03.htm :) On 27 Nov 2016 at 3:01, Jim Lawrence wrote: > So wise one...what is a banana tree? > > http://www.bananaplants.net/banananinfo.html > > Jim > > ----- Original Message ----- > From: "stuart" > To: "Access Developers discussion and problem solving" > Sent: Saturday, November 26, 2016 > 10:50:03 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of > the season! > > No such thing as a banana tree > > :) > > -- > Stuart > > On 26 Nov 2016 at 20:54, Jim Lawrence wrote: > > > Wrap the tree up. The local park did that for years with their > > Banana trees and it wasn't until some municipal politician decided > > to save money that the trees died. > > > > Jim > > > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Nov 27 14:29:57 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 28 Nov 2016 06:29:57 +1000 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: References: <019801d24447$b83a4900$28aedb00$@therareshop.com>, , Message-ID: <583B4245.5553.7FD4475B@stuart.lexacorp.com.pg> Sorry, I don't think that any of us noticed that this somehow got crossed over from OT where it originated. ( Please sir, it were Jim Hale wot done it! :) On 27 Nov 2016 at 10:04, Bryan Carbonnell wrote: > OK Gents, Take this over to OT. > > Your slightly grumpy Listmaster. > > Bryan > > On 27 November 2016 at 06:13, James Button > wrote: > Basic process I use > At first > frost > Cut all 'leaves' off - and cut any excessively curled or > rotted edges from the > remnant of the old leaves that form the stem. From newsgrps at dalyn.co.nz Tue Nov 29 14:55:11 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 30 Nov 2016 09:55:11 +1300 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> Message-ID: <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 jimdettman at verizon.net Tue Nov 29 15:19:41 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 29 Nov 2016 16:19:41 -0500 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: <2D24CF1F730D422E989C1F0711F430B7@XPS> Great detective work there on their part. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, November 29, 2016 03:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 jbodin at sbor.com Tue Nov 29 15:17:13 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 29 Nov 2016 21:17:13 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net>, <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: Interesting. There is a doc about the two options, Replace vs. Update, which I never really understood the whole difference. Fortunately, I guess, I've always used Update. Thanks for followup - we'll store this one away for future referral. Glad you are set. John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of David Emerson Sent: Tuesday, November 29, 2016 3:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 darryl at whittleconsulting.com.au Tue Nov 29 16:42:33 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 29 Nov 2016 22:42:33 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: "I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible." We run Access 2016 under windows 10 and it has been the best and most stable version of Access I have used to date. Surprisingly so, as traditionally MS Access was the unloved basket case of the Office suite. However - I totally agree with your Excel 2016 observation. Excel 2016 is less stable and more bothersome than XL2010 - although just how bothersome seems to vary between PC's. On some units it is fairly stable (although still troublesome) and on others it crashes with alarming regularity. What is odd is these units (and users) are all similarly specced - using the same tools and skills. I suspect some of the issues is due to the change to how the UI is handled - especially if you are using code to do things (I also suspect that they didn't beta test the VBA side of thing much either). On the upside, at least updates are regularly pushed out - often with bug fixes. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, 30 November 2016 7:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 jim at therareshop.com Tue Nov 29 17:36:00 2016 From: jim at therareshop.com (Jim Hale) Date: Tue, 29 Nov 2016 17:36:00 -0600 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> References: <019801d24447$b83a4900$28aedb00$@therareshop.com> <54798115.100853333.1480218849021.JavaMail.zimbra@shaw.ca> Message-ID: <027201d24a99$58129430$0837bc90$@therareshop.com> Will do J -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, November 26, 2016 9:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Wrap the tree up. The local park did that for years with their Banana trees and it wasn't until some municipal politician decided to save money that the trees died. Jim ----- Original Message ----- From: "Jim Hale" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2016 2:36:36 PM Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! A papaya tree has grown to 4 ft out of the compost. We will see if it survives the winter- it hit freezing here last night. If it does we should have papaya next summer. J -----Original Message----- From: dba-OT [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Saturday, November 19, 2016 7:04 AM To: Off Topic databaseadvisors.com> Subject: Re: [dba-OT] Our first Winter Storm of the season! No heat? What's the problem there? Is this at home or at the cabin? Hope you get it working again soon. 27 here this morning. I think I'll make some pancakes to help to counteract the golf withdrawal haha. GK -- 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 jim at therareshop.com Tue Nov 29 17:40:10 2016 From: jim at therareshop.com (Jim Hale) Date: Tue, 29 Nov 2016 17:40:10 -0600 Subject: [AccessD] [dba-OT] Our first Winter Storm of the season! In-Reply-To: <583B4245.5553.7FD4475B@stuart.lexacorp.com.pg> References: <019801d24447$b83a4900$28aedb00$@therareshop.com>, , <583B4245.5553.7FD4475B@stuart.lexacorp.com.pg> Message-ID: <027401d24a99$ec724850$c556d8f0$@therareshop.com> Sorry. Don't know how that happened J -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, November 27, 2016 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-OT] Our first Winter Storm of the season! Sorry, I don't think that any of us noticed that this somehow got crossed over from OT where it originated. ( Please sir, it were Jim Hale wot done it! :) On 27 Nov 2016 at 10:04, Bryan Carbonnell wrote: > OK Gents, Take this over to OT. > > Your slightly grumpy Listmaster. > > Bryan > > On 27 November 2016 at 06:13, James Button > wrote: > Basic process I use > At first > frost > Cut all 'leaves' off - and cut any excessively curled or > rotted edges from the > remnant of the old leaves that form the stem. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Tue Nov 29 20:23:12 2016 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 29 Nov 2016 20:23:12 -0600 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: <1cfa01d24ab0$b4a1d550$1de57ff0$@winhaven.net> My experience is with very basic uses by end users on machines that ran Excel 2010 & 2013 with minimal problems. From what I've read MS is adding even more cloud glut to excel so that may be the reason. With Office 365 business subs you can put off upgrading to 2016 yet but they are starting to put up nag screens now. Think I'll wait until there is no option, lol. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, November 29, 2016 4:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted "I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible." We run Access 2016 under windows 10 and it has been the best and most stable version of Access I have used to date. Surprisingly so, as traditionally MS Access was the unloved basket case of the Office suite. However - I totally agree with your Excel 2016 observation. Excel 2016 is less stable and more bothersome than XL2010 - although just how bothersome seems to vary between PC's. On some units it is fairly stable (although still troublesome) and on others it crashes with alarming regularity. What is odd is these units (and users) are all similarly specced - using the same tools and skills. I suspect some of the issues is due to the change to how the UI is handled - especially if you are using code to do things (I also suspect that they didn't beta test the VBA side of thing much either). On the upside, at least updates are regularly pushed out - often with bug fixes. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, 30 November 2016 7:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Nov 30 07:52:43 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 30 Nov 2016 08:52:43 -0500 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: <> A recent trend in the office suite and with software in general is that the runtime environment is becoming increasingly complex. Just look at the recent problem with network interruptions that we were discussing; something as innocuous as a group policy with "Replace" instead of "Update" causes a problem. Or the move to Win 7 when a lot of Access apps failed, only to realize that Microsoft added a timeout on mapped drives of ten minutes (and that's not just Access - had a client with UPS's World Ship software where that caused a problem). And with Office specifically, you now have the MSI/Installed version vs Click to Run/Office 365 builds. That seems like it will become more of a hassle as time goes on as I'm seeing more and more questions/problems related to the mixing of the two. I'm not so sure it's the products themselves that are the problem, but the environment that they run in. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, November 29, 2016 05:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted "I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible." We run Access 2016 under windows 10 and it has been the best and most stable version of Access I have used to date. Surprisingly so, as traditionally MS Access was the unloved basket case of the Office suite. However - I totally agree with your Excel 2016 observation. Excel 2016 is less stable and more bothersome than XL2010 - although just how bothersome seems to vary between PC's. On some units it is fairly stable (although still troublesome) and on others it crashes with alarming regularity. What is odd is these units (and users) are all similarly specced - using the same tools and skills. I suspect some of the issues is due to the change to how the UI is handled - especially if you are using code to do things (I also suspect that they didn't beta test the VBA side of thing much either). On the upside, at least updates are regularly pushed out - often with bug fixes. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, 30 November 2016 7:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Nov 30 16:25:57 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 30 Nov 2016 22:25:57 +0000 Subject: [AccessD] Error: Your network access was interrupted In-Reply-To: References: <72bdf92a098842f88568fc5e78cc776b@dalyn.co.nz> <000f01d24415$f8b74cd0$ea25e670$@winhaven.net> <001b01d24a82$e03d8de0$a0b8a9a0$@dalyn.co.nz> Message-ID: I think you are absolutely spot on with that comment Jim. Even at home I have the similar issues. Some W10 updates install fine and on others they fail and cause continual reboots. Whilst I appreciate it must be fiendishly complex to write and test this stuff, these screw ups must also be pissing a lot of folks off. I am ok as I have enough tech / google know-how to block / avoid / fix these issues, but if it happened to your average Jo/Joanne PCUser than I cannot imagine the hassle they would go through. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, 1 December 2016 12:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted <> A recent trend in the office suite and with software in general is that the runtime environment is becoming increasingly complex. Just look at the recent problem with network interruptions that we were discussing; something as innocuous as a group policy with "Replace" instead of "Update" causes a problem. Or the move to Win 7 when a lot of Access apps failed, only to realize that Microsoft added a timeout on mapped drives of ten minutes (and that's not just Access - had a client with UPS's World Ship software where that caused a problem). And with Office specifically, you now have the MSI/Installed version vs Click to Run/Office 365 builds. That seems like it will become more of a hassle as time goes on as I'm seeing more and more questions/problems related to the mixing of the two. I'm not so sure it's the products themselves that are the problem, but the environment that they run in. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, November 29, 2016 05:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted "I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible." We run Access 2016 under windows 10 and it has been the best and most stable version of Access I have used to date. Surprisingly so, as traditionally MS Access was the unloved basket case of the Office suite. However - I totally agree with your Excel 2016 observation. Excel 2016 is less stable and more bothersome than XL2010 - although just how bothersome seems to vary between PC's. On some units it is fairly stable (although still troublesome) and on others it crashes with alarming regularity. What is odd is these units (and users) are all similarly specced - using the same tools and skills. I suspect some of the issues is due to the change to how the UI is handled - especially if you are using code to do things (I also suspect that they didn't beta test the VBA side of thing much either). On the upside, at least updates are regularly pushed out - often with bug fixes. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, 30 November 2016 7:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Hi team, The IT guy says that it seems to have been caused by the way mapped drives were being refreshed by a group policy. The setting was Replace when it should have been Update. Problem solved and not Access's fault :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Tuesday, 22 November 2016 5:40 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted Importance: High I don't have anyone running Access 2016 on Windows 10 but I do seem to have a more support issues with Excel 2016 crashing/locking, etc. on Windows 10 than on Windows 7. So it is possible. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of newsgrps at dalyn.co.nz Sent: Saturday, November 19, 2016 1:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error: Your network access was interrupted Further update to this problem from the IT guy: "New Switch has been put in and cabling checked, users like Cam have been taken off wireless. Av has been modified to remove scanning of DB. I am pretty confident at this point that from a networking perspective there is no issues here. We have not had any other issues with the system and there is other network related task occurring all the time. I think we have a compatibility issue with possibly Windows 10 and Access 2016 which is the common element here. One of the other guys in the office is Win 7 with Office 2016 and he doesn't have any issues at all. The only difference is he doesn't do quoting to the same level as the other two though. I think these difference need to be investigated further as it will probably narrow down where the issues are." Could the Windows 10/Access 2016 combination be a problem (grasping at straws). Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, 11 November 2016 1:51 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error: Your network access was interrupted The problem with this error is that so many things can cause it, and yes, it's the network in some way. JET works fine over a solid LAN with little issue (and note LAN, not a WAN - can't tell you how many people try to run it over a WAN, which it was never designed for). Problem is, JET will complain loudly long before other apps do, so it usually gets blamed for the problem. Besides the wireless issue (high latency), also look for NIC cards that have power management (go to sleep) and disable that. Also disable any diagnostic protocol they might have (card disconnects from the network, runs its tests, then re-connects, which will drive JET nuts). If your using mapped drives, be aware that windows has a built-in timeout which needs to be disabled. Also have them check that DB's are not being virus scanned on the stations or servers. And unlike the others, I don't believe going unbound is really a solution. If your going to bother to do that, then you might as well not use Access. And for most apps it would be a total re-write anyway. A SQL Server backend though to replace JET is certainly an option and usually not too much of a hill to climb. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Wednesday, November 09, 2016 08:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error: Your network access was interrupted Hi Listers, One of my clients is getting the following error: "The expression After Update you entered as the event property setting produced the following error: Your network access was interrupted" Does anyone have any experience with this. Surfing indicates that it is a network issue rather than an Access one but I am working with another company in charge of the hardware and am trying to give them leads. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -- 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 -- 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