From newsgrps at dalyn.co.nz Sat Jul 4 16:51:21 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sun, 5 Jul 2015 09:51:21 +1200 Subject: [AccessD] Sub Subform not showing Message-ID: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> Hi Listers, I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) that has a tab control with a number of tabs and subforms in each tab. Most of the subforms have subforms of their own. Record sources for all the forms and subforms are set by assigning a ADODB.Recordset when a record is selected from the main form (these filter the records according to the main record selected). All is working well except for one subform (sfrSurvey) which has its own subform (sfrResults). All of the other subforms are set so that records can be added but sfrSurvey has its Allow Additions property set to no (records are added through a different process). When I open frmClient the first record happens to have a record in sfrSurvey and this in turn shows records for sfrResults. If I move to another record in frmClient which has records in sfrSurvey then records also show in sfrResults. If I move to a record in frmClient which does not have records in sfrSurvey then sfrSurvey shows no records and the details section is blank (which is expected). Because sfrSurvey is blank then sfrResults is not shown as well (as expected). Here is the problem: If I now move to a record in frmClient which does have records in sfrSurvey the records are showing in sfrSurvey but where the sfrResults subform should be is a white box. It looks like the sfrResults control doesn't have the Source Object property but using VBA I can display the SourceObject property just before the recordset is updated and it appears fine. The line of code where the problem appears is: Set Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset = rstTemp The error number is 2467 "The expression you entered refers to an object that is closed or doesn't exist.". There is nothing in my code that purposely changes the SourceObject property - the only changes are to the recordsource of the subforms. None of the other subforms have this problem. I have tested by changing one of the other subforms to not allow additions and it showed the same problem. Changing it back to allowing additions solved the problem. However, for this particular subform I don't want to allow additions and would prefer not to have the screen indicate that additions can be made only to have the user told they can't if they try (by using code). Has anyone come across anything like this before? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From newsgrps at dalyn.co.nz Sun Jul 5 17:50:56 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 6 Jul 2015 10:50:56 +1200 Subject: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) Message-ID: <004c01d0b775$0e456570$2ad03050$@dalyn.co.nz> Hi Listers, (I have also sent this to Access-L but have not found a solution yet) I have a Access 2010 database with many reports that are previewed with their Popup value set to Yes and Modal = No. They are popup so that users can move them around to see other open screens. How can I show the print preview ribbon when the reports are Popup (the ribbon shows ok if the reports are not Popup but that doesn't meet the users requirements of being able to see multiple windows at once)? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From charlotte.foust at gmail.com Tue Jul 7 12:38:24 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 7 Jul 2015 10:38:24 -0700 Subject: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) In-Reply-To: <004c01d0b775$0e456570$2ad03050$@dalyn.co.nz> References: <004c01d0b775$0e456570$2ad03050$@dalyn.co.nz> Message-ID: What happens if you set the Allow Default Shortcut Menus option to true under Current Database? You should be able to then access the print preview commands from the shortcut menu for the report. Or is this a runtime version, which changes the rules. Charlotte Foust (916) 206-4336 On Sun, Jul 5, 2015 at 3:50 PM, David Emerson wrote: > Hi Listers, > > > > (I have also sent this to Access-L but have not found a solution yet) > > > > I have a Access 2010 database with many reports that are previewed with > their Popup value set to Yes and Modal = No. They are popup so that users > can move them around to see other open screens. > > > > How can I show the print preview ribbon when the reports are Popup (the > ribbon shows ok if the reports are not Popup but that doesn't meet the > users > requirements of being able to see multiple windows at once)? > > > > 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 charlotte.foust at gmail.com Tue Jul 7 12:42:23 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 7 Jul 2015 10:42:23 -0700 Subject: [AccessD] Sub Subform not showing In-Reply-To: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> Message-ID: First off, if a parent object has no records, then its subform will have no records. It's always been that way, and if the Allow additions is set off, you won't see either the parent or subform. The simplest way I can think of to handle this is to set Allow Additions on by default in the form/subform and then use code on the Enter event to disable additions. Charlotte Foust (916) 206-4336 On Sat, Jul 4, 2015 at 2:51 PM, David Emerson wrote: > Hi Listers, > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) that > has a tab control with a number of tabs and subforms in each tab. Most of > the subforms have subforms of their own. Record sources for all the forms > and subforms are set by assigning a ADODB.Recordset when a record is > selected from the main form (these filter the records according to the main > record selected). > > All is working well except for one subform (sfrSurvey) which has its own > subform (sfrResults). All of the other subforms are set so that records > can > be added but sfrSurvey has its Allow Additions property set to no (records > are added through a different process). > > When I open frmClient the first record happens to have a record in > sfrSurvey > and this in turn shows records for sfrResults. If I move to another record > in frmClient which has records in sfrSurvey then records also show in > sfrResults. > > If I move to a record in frmClient which does not have records in sfrSurvey > then sfrSurvey shows no records and the details section is blank (which is > expected). Because sfrSurvey is blank then sfrResults is not shown as well > (as expected). > > Here is the problem: If I now move to a record in frmClient which does have > records in sfrSurvey the records are showing in sfrSurvey but where the > sfrResults subform should be is a white box. It looks like the sfrResults > control doesn't have the Source Object property but using VBA I can display > the SourceObject property just before the recordset is updated and it > appears fine. > > The line of code where the problem appears is: > > Set Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > = > rstTemp > > The error number is 2467 "The expression you entered refers to an object > that is closed or doesn't exist.". > > There is nothing in my code that purposely changes the SourceObject > property > - the only changes are to the recordsource of the subforms. None of the > other subforms have this problem. I have tested by changing one of the > other subforms to not allow additions and it showed the same problem. > Changing it back to allowing additions solved the problem. However, for > this particular subform I don't want to allow additions and would prefer > not > to have the screen indicate that additions can be made only to have the > user > told they can't if they try (by using code). > > Has anyone come across anything like this before? > > 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 Tue Jul 7 14:39:28 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 07:39:28 +1200 Subject: [AccessD] Sub Subform not showing In-Reply-To: References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> Message-ID: <001201d0b8ec$a484e5b0$ed8eb110$@dalyn.co.nz> Hi Charlotte, The problem is not when there are no records but when there are records. The forms work as expected when there are no records in the parent object. To quote from my original post: "If I move to a record in frmClient which does not have records in sfrSurvey then sfrSurvey shows no records and the details section is blank (which is expected). Because sfrSurvey is blank then sfrResults is not shown as well (as expected). Here is the problem: If I now move to a record in frmClient which does have records in sfrSurvey the records are showing in sfrSurvey but where the sfrResults subform should be is a white box. It looks like the sfrResults control doesn't have the Source Object property but using VBA I can display the SourceObject property just before the recordset is updated and it appears fine." As noted in my original email it seems to be related to the AllowAdditions property. If I change this to true then the subforms show (but in this case I don't want the user to be able to add records) Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:42 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing First off, if a parent object has no records, then its subform will have no records. It's always been that way, and if the Allow additions is set off, you won't see either the parent or subform. The simplest way I can think of to handle this is to set Allow Additions on by default in the form/subform and then use code on the Enter event to disable additions. Charlotte Foust (916) 206-4336 On Sat, Jul 4, 2015 at 2:51 PM, David Emerson wrote: > Hi Listers, > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) > that has a tab control with a number of tabs and subforms in each tab. > Most of the subforms have subforms of their own. Record sources for > all the forms and subforms are set by assigning a ADODB.Recordset when > a record is selected from the main form (these filter the records > according to the main record selected). > > All is working well except for one subform (sfrSurvey) which has its > own subform (sfrResults). All of the other subforms are set so that > records can be added but sfrSurvey has its Allow Additions property > set to no (records are added through a different process). > > When I open frmClient the first record happens to have a record in > sfrSurvey and this in turn shows records for sfrResults. If I move to > another record in frmClient which has records in sfrSurvey then > records also show in sfrResults. > > If I move to a record in frmClient which does not have records in > sfrSurvey then sfrSurvey shows no records and the details section is > blank (which is expected). Because sfrSurvey is blank then sfrResults > is not shown as well (as expected). > > Here is the problem: If I now move to a record in frmClient which does > have records in sfrSurvey the records are showing in sfrSurvey but > where the sfrResults subform should be is a white box. It looks like > the sfrResults control doesn't have the Source Object property but > using VBA I can display the SourceObject property just before the > recordset is updated and it appears fine. > > The line of code where the problem appears is: > > Set > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > = > rstTemp > > The error number is 2467 "The expression you entered refers to an > object that is closed or doesn't exist.". > > There is nothing in my code that purposely changes the SourceObject > property > - the only changes are to the recordsource of the subforms. None of > the other subforms have this problem. I have tested by changing one > of the other subforms to not allow additions and it showed the same problem. > Changing it back to allowing additions solved the problem. However, > for this particular subform I don't want to allow additions and would > prefer not to have the screen indicate that additions can be made only > to have the user told they can't if they try (by using code). > > Has anyone come across anything like this before? > > 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 Tue Jul 7 14:42:16 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 07:42:16 +1200 Subject: [AccessD] Sub Subform not showing In-Reply-To: References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> Message-ID: <001301d0b8ed$07712580$16537080$@dalyn.co.nz> Charoltte, Following up on your suggestion, at what stage do you suggest disabling additions - Since I wouldn't want the user to see the form in an "Allow Additions" state therefore it would need to be when the form opens. I will try this but I am not sure how this differs from having the property set on the form to start with. David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:42 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing First off, if a parent object has no records, then its subform will have no records. It's always been that way, and if the Allow additions is set off, you won't see either the parent or subform. The simplest way I can think of to handle this is to set Allow Additions on by default in the form/subform and then use code on the Enter event to disable additions. Charlotte Foust (916) 206-4336 On Sat, Jul 4, 2015 at 2:51 PM, David Emerson wrote: > Hi Listers, > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) > that has a tab control with a number of tabs and subforms in each tab. > Most of the subforms have subforms of their own. Record sources for > all the forms and subforms are set by assigning a ADODB.Recordset when > a record is selected from the main form (these filter the records > according to the main record selected). > > All is working well except for one subform (sfrSurvey) which has its > own subform (sfrResults). All of the other subforms are set so that > records can be added but sfrSurvey has its Allow Additions property > set to no (records are added through a different process). > > When I open frmClient the first record happens to have a record in > sfrSurvey and this in turn shows records for sfrResults. If I move to > another record in frmClient which has records in sfrSurvey then > records also show in sfrResults. > > If I move to a record in frmClient which does not have records in > sfrSurvey then sfrSurvey shows no records and the details section is > blank (which is expected). Because sfrSurvey is blank then sfrResults > is not shown as well (as expected). > > Here is the problem: If I now move to a record in frmClient which does > have records in sfrSurvey the records are showing in sfrSurvey but > where the sfrResults subform should be is a white box. It looks like > the sfrResults control doesn't have the Source Object property but > using VBA I can display the SourceObject property just before the > recordset is updated and it appears fine. > > The line of code where the problem appears is: > > Set > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > = > rstTemp > > The error number is 2467 "The expression you entered refers to an > object that is closed or doesn't exist.". > > There is nothing in my code that purposely changes the SourceObject > property > - the only changes are to the recordsource of the subforms. None of > the other subforms have this problem. I have tested by changing one > of the other subforms to not allow additions and it showed the same problem. > Changing it back to allowing additions solved the problem. However, > for this particular subform I don't want to allow additions and would > prefer not to have the screen indicate that additions can be made only > to have the user told they can't if they try (by using code). > > Has anyone come across anything like this before? > > 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 Tue Jul 7 15:00:50 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 08:00:50 +1200 Subject: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) In-Reply-To: References: <004c01d0b775$0e456570$2ad03050$@dalyn.co.nz> Message-ID: <001401d0b8ef$9fe90f10$dfbb2d30$@dalyn.co.nz> Hi Charlotte, Thanks for your responses. The version is not a runtime but is an accde. I will do tests for shortcuts and report back. Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:38 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) What happens if you set the Allow Default Shortcut Menus option to true under Current Database? You should be able to then access the print preview commands from the shortcut menu for the report. Or is this a runtime version, which changes the rules. Charlotte Foust (916) 206-4336 On Sun, Jul 5, 2015 at 3:50 PM, David Emerson wrote: > Hi Listers, > > (I have also sent this to Access-L but have not found a solution yet) > > I have a Access 2010 database with many reports that are previewed with > their Popup value set to Yes and Modal = No. They are popup so that users > can move them around to see other open screens. > > How can I show the print preview ribbon when the reports are Popup > (the ribbon shows ok if the reports are not Popup but that doesn't > meet the users requirements of being able to see multiple windows at > once)? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From dw-murphy at cox.net Tue Jul 7 15:16:24 2015 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 7 Jul 2015 13:16:24 -0700 Subject: [AccessD] Sub Subform not showing In-Reply-To: References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> Message-ID: <009f01d0b8f1$cc61b950$65252bf0$@cox.net> David, I think you can set the form in the subform control to allow additions but set the subform control locked property to true. This will allow your users to see the records but not change them. Don't have Access open at this time but memory seems to recall that is what I have done. Doug -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, July 07, 2015 12:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sub Subform not showing Hi Charlotte, The problem is not when there are no records but when there are records. The forms work as expected when there are no records in the parent object. To quote from my original post: "If I move to a record in frmClient which does not have records in sfrSurvey then sfrSurvey shows no records and the details section is blank (which is expected). Because sfrSurvey is blank then sfrResults is not shown as well (as expected). Here is the problem: If I now move to a record in frmClient which does have records in sfrSurvey the records are showing in sfrSurvey but where the sfrResults subform should be is a white box. It looks like the sfrResults control doesn't have the Source Object property but using VBA I can display the SourceObject property just before the recordset is updated and it appears fine." As noted in my original email it seems to be related to the AllowAdditions property. If I change this to true then the subforms show (but in this case I don't want the user to be able to add records) Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:42 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing First off, if a parent object has no records, then its subform will have no records. It's always been that way, and if the Allow additions is set off, you won't see either the parent or subform. The simplest way I can think of to handle this is to set Allow Additions on by default in the form/subform and then use code on the Enter event to disable additions. Charlotte Foust (916) 206-4336 On Sat, Jul 4, 2015 at 2:51 PM, David Emerson wrote: > Hi Listers, > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) > that has a tab control with a number of tabs and subforms in each tab. > Most of the subforms have subforms of their own. Record sources for > all the forms and subforms are set by assigning a ADODB.Recordset when > a record is selected from the main form (these filter the records > according to the main record selected). > > All is working well except for one subform (sfrSurvey) which has its > own subform (sfrResults). All of the other subforms are set so that > records can be added but sfrSurvey has its Allow Additions property > set to no (records are added through a different process). > > When I open frmClient the first record happens to have a record in > sfrSurvey and this in turn shows records for sfrResults. If I move to > another record in frmClient which has records in sfrSurvey then > records also show in sfrResults. > > If I move to a record in frmClient which does not have records in > sfrSurvey then sfrSurvey shows no records and the details section is > blank (which is expected). Because sfrSurvey is blank then sfrResults > is not shown as well (as expected). > > Here is the problem: If I now move to a record in frmClient which does > have records in sfrSurvey the records are showing in sfrSurvey but > where the sfrResults subform should be is a white box. It looks like > the sfrResults control doesn't have the Source Object property but > using VBA I can display the SourceObject property just before the > recordset is updated and it appears fine. > > The line of code where the problem appears is: > > Set > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > = > rstTemp > > The error number is 2467 "The expression you entered refers to an > object that is closed or doesn't exist.". > > There is nothing in my code that purposely changes the SourceObject > property > - the only changes are to the recordsource of the subforms. None of > the other subforms have this problem. I have tested by changing one > of the other subforms to not allow additions and it showed the same problem. > Changing it back to allowing additions solved the problem. However, > for this particular subform I don't want to allow additions and would > prefer not to have the screen indicate that additions can be made only > to have the user told they can't if they try (by using code). > > Has anyone come across anything like this before? > > 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 Tue Jul 7 16:14:50 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 09:14:50 +1200 Subject: [AccessD] Sub Subform not showing In-Reply-To: <009f01d0b8f1$cc61b950$65252bf0$@cox.net> References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> <009f01d0b8f1$cc61b950$65252bf0$@cox.net> Message-ID: <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> Hi Doug, We want the users to be able to edit existing records - just not add new ones. David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, 8 July 2015 8:16 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sub Subform not showing David, I think you can set the form in the subform control to allow additions but set the subform control locked property to true. This will allow your users to see the records but not change them. Don't have Access open at this time but memory seems to recall that is what I have done. Doug -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, July 07, 2015 12:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sub Subform not showing Hi Charlotte, The problem is not when there are no records but when there are records. The forms work as expected when there are no records in the parent object. To quote from my original post: "If I move to a record in frmClient which does not have records in sfrSurvey then sfrSurvey shows no records and the details section is blank (which is expected). Because sfrSurvey is blank then sfrResults is not shown as well (as expected). Here is the problem: If I now move to a record in frmClient which does have records in sfrSurvey the records are showing in sfrSurvey but where the sfrResults subform should be is a white box. It looks like the sfrResults control doesn't have the Source Object property but using VBA I can display the SourceObject property just before the recordset is updated and it appears fine." As noted in my original email it seems to be related to the AllowAdditions property. If I change this to true then the subforms show (but in this case I don't want the user to be able to add records) Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:42 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing First off, if a parent object has no records, then its subform will have no records. It's always been that way, and if the Allow additions is set off, you won't see either the parent or subform. The simplest way I can think of to handle this is to set Allow Additions on by default in the form/subform and then use code on the Enter event to disable additions. Charlotte Foust (916) 206-4336 On Sat, Jul 4, 2015 at 2:51 PM, David Emerson wrote: > Hi Listers, > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) > that has a tab control with a number of tabs and subforms in each tab. > Most of the subforms have subforms of their own. Record sources for > all the forms and subforms are set by assigning a ADODB.Recordset when > a record is selected from the main form (these filter the records > according to the main record selected). > > All is working well except for one subform (sfrSurvey) which has its > own subform (sfrResults). All of the other subforms are set so that > records can be added but sfrSurvey has its Allow Additions property > set to no (records are added through a different process). > > When I open frmClient the first record happens to have a record in > sfrSurvey and this in turn shows records for sfrResults. If I move to > another record in frmClient which has records in sfrSurvey then > records also show in sfrResults. > > If I move to a record in frmClient which does not have records in > sfrSurvey then sfrSurvey shows no records and the details section is > blank (which is expected). Because sfrSurvey is blank then sfrResults > is not shown as well (as expected). > > Here is the problem: If I now move to a record in frmClient which does > have records in sfrSurvey the records are showing in sfrSurvey but > where the sfrResults subform should be is a white box. It looks like > the sfrResults control doesn't have the Source Object property but > using VBA I can display the SourceObject property just before the > recordset is updated and it appears fine. > > The line of code where the problem appears is: > > Set > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > = > rstTemp > > The error number is 2467 "The expression you entered refers to an > object that is closed or doesn't exist.". > > There is nothing in my code that purposely changes the SourceObject > property > - the only changes are to the recordsource of the subforms. None of > the other subforms have this problem. I have tested by changing one > of the other subforms to not allow additions and it showed the same problem. > Changing it back to allowing additions solved the problem. However, > for this particular subform I don't want to allow additions and would > prefer not to have the screen indicate that additions can be made only > to have the user told they can't if they try (by using code). > > Has anyone come across anything like this before? > > 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 bensonforums at gmail.com Tue Jul 7 16:51:18 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 7 Jul 2015 17:51:18 -0400 Subject: [AccessD] Sub Subform not showing In-Reply-To: <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> <009f01d0b8f1$cc61b950$65252bf0$@cox.net> <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> Message-ID: Could you do as doug suggests, lock down the controls on that form, but with a command button, take them to another (popup?) form, set to the same record, to do edits? Then the popup won't be a subform and won't be exhibiting the same behaviour (admittedly odd) you are seeing with the present subform. and maybe on unloading of the popup, trigger a refresh of the subform which is already open. On Tue, Jul 7, 2015 at 5:14 PM, David Emerson wrote: > Hi Doug, > > We want the users to be able to edit existing records - just not add new > ones. > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Doug Murphy > Sent: Wednesday, 8 July 2015 8:16 a.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Sub Subform not showing > > David, > > I think you can set the form in the subform control to allow additions but > set the subform control locked property to true. This will allow your users > to see the records but not change them. Don't have Access open at this time > but memory seems to recall that is what I have done. > > Doug > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Tuesday, July 07, 2015 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Sub Subform not showing > > Hi Charlotte, > > The problem is not when there are no records but when there are records. > The forms work as expected when there are no records in the parent object. > To quote from my original post: > > "If I move to a record in frmClient which does not have records in > sfrSurvey > then sfrSurvey shows no records and the details section is blank (which is > expected). Because sfrSurvey is blank then sfrResults is not shown as well > (as expected). > > Here is the problem: If I now move to a record in frmClient which does have > records in sfrSurvey the records are showing in sfrSurvey but where the > sfrResults subform should be is a white box. It looks like the sfrResults > control doesn't have the Source Object property but using VBA I can display > the SourceObject property just before the recordset is updated and it > appears fine." > > As noted in my original email it seems to be related to the AllowAdditions > property. If I change this to true then the subforms show (but in this > case > I don't want the user to be able to add records) > > Regards > > David > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, 8 July 2015 5:42 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sub Subform not showing > > First off, if a parent object has no records, then its subform will have no > records. It's always been that way, and if the Allow additions is set off, > you won't see either the parent or subform. The simplest way I can think > of > to handle this is to set Allow Additions on by default in the form/subform > and then use code on the Enter event to disable additions. > > Charlotte Foust > (916) 206-4336 > > On Sat, Jul 4, 2015 at 2:51 PM, David Emerson > wrote: > > > Hi Listers, > > > > I have an Access 2010 FE and SQL 2008 BE. I have a form (frmClients) > > that has a tab control with a number of tabs and subforms in each tab. > > Most of the subforms have subforms of their own. Record sources for > > all the forms and subforms are set by assigning a ADODB.Recordset when > > a record is selected from the main form (these filter the records > > according to the main record selected). > > > > All is working well except for one subform (sfrSurvey) which has its > > own subform (sfrResults). All of the other subforms are set so that > > records can be added but sfrSurvey has its Allow Additions property > > set to no (records are added through a different process). > > > > When I open frmClient the first record happens to have a record in > > sfrSurvey and this in turn shows records for sfrResults. If I move to > > another record in frmClient which has records in sfrSurvey then > > records also show in sfrResults. > > > > If I move to a record in frmClient which does not have records in > > sfrSurvey then sfrSurvey shows no records and the details section is > > blank (which is expected). Because sfrSurvey is blank then sfrResults > > is not shown as well (as expected). > > > > Here is the problem: If I now move to a record in frmClient which does > > have records in sfrSurvey the records are showing in sfrSurvey but > > where the sfrResults subform should be is a white box. It looks like > > the sfrResults control doesn't have the Source Object property but > > using VBA I can display the SourceObject property just before the > > recordset is updated and it appears fine. > > > > The line of code where the problem appears is: > > > > Set > > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > > = > > rstTemp > > > > The error number is 2467 "The expression you entered refers to an > > object that is closed or doesn't exist.". > > > > There is nothing in my code that purposely changes the SourceObject > > property > > - the only changes are to the recordsource of the subforms. None of > > the other subforms have this problem. I have tested by changing one > > of the other subforms to not allow additions and it showed the same > problem. > > Changing it back to allowing additions solved the problem. However, > > for this particular subform I don't want to allow additions and would > > prefer not to have the screen indicate that additions can be made only > > to have the user told they can't if they try (by using code). > > > > Has anyone come across anything like this before? > > > > 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 newsgrps at dalyn.co.nz Tue Jul 7 16:53:52 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 09:53:52 +1200 Subject: [AccessD] Sub Subform not showing In-Reply-To: References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> <009f01d0b8f1$cc61b950$65252bf0$@cox.net> <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> Message-ID: <002a01d0b8ff$6a06b4a0$3e141de0$@dalyn.co.nz> Ahhgggggg :) -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, 8 July 2015 9:51 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing Could you do as doug suggests, lock down the controls on that form, but with a command button, take them to another (popup?) form, set to the same record, to do edits? Then the popup won't be a subform and won't be exhibiting the same behaviour (admittedly odd) you are seeing with the present subform. and maybe on unloading of the popup, trigger a refresh of the subform which is already open. On Tue, Jul 7, 2015 at 5:14 PM, David Emerson wrote: > Hi Doug, > > We want the users to be able to edit existing records - just not add > new ones. > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Doug Murphy > Sent: Wednesday, 8 July 2015 8:16 a.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Sub Subform not showing > > David, > > I think you can set the form in the subform control to allow additions > but set the subform control locked property to true. This will allow > your users to see the records but not change them. Don't have Access > open at this time but memory seems to recall that is what I have done. > > Doug > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of David Emerson > Sent: Tuesday, July 07, 2015 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Sub Subform not showing > > Hi Charlotte, > > The problem is not when there are no records but when there are records. > The forms work as expected when there are no records in the parent object. > To quote from my original post: > > "If I move to a record in frmClient which does not have records in > sfrSurvey then sfrSurvey shows no records and the details section is > blank (which is expected). Because sfrSurvey is blank then sfrResults > is not shown as well (as expected). > > Here is the problem: If I now move to a record in frmClient which does > have records in sfrSurvey the records are showing in sfrSurvey but > where the sfrResults subform should be is a white box. It looks like > the sfrResults control doesn't have the Source Object property but > using VBA I can display the SourceObject property just before the > recordset is updated and it appears fine." > > As noted in my original email it seems to be related to the > AllowAdditions property. If I change this to true then the subforms > show (but in this case I don't want the user to be able to add > records) > > Regards > > David > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Charlotte Foust > Sent: Wednesday, 8 July 2015 5:42 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sub Subform not showing > > First off, if a parent object has no records, then its subform will > have no records. It's always been that way, and if the Allow > additions is set off, you won't see either the parent or subform. The > simplest way I can think of to handle this is to set Allow Additions > on by default in the form/subform and then use code on the Enter event > to disable additions. > > Charlotte Foust > (916) 206-4336 > > On Sat, Jul 4, 2015 at 2:51 PM, David Emerson > wrote: > > > Hi Listers, > > > > I have an Access 2010 FE and SQL 2008 BE. I have a form > > (frmClients) that has a tab control with a number of tabs and subforms in each tab. > > Most of the subforms have subforms of their own. Record sources for > > all the forms and subforms are set by assigning a ADODB.Recordset > > when a record is selected from the main form (these filter the > > records according to the main record selected). > > > > All is working well except for one subform (sfrSurvey) which has its > > own subform (sfrResults). All of the other subforms are set so that > > records can be added but sfrSurvey has its Allow Additions property > > set to no (records are added through a different process). > > > > When I open frmClient the first record happens to have a record in > > sfrSurvey and this in turn shows records for sfrResults. If I move > > to another record in frmClient which has records in sfrSurvey then > > records also show in sfrResults. > > > > If I move to a record in frmClient which does not have records in > > sfrSurvey then sfrSurvey shows no records and the details section is > > blank (which is expected). Because sfrSurvey is blank then > > sfrResults is not shown as well (as expected). > > > > Here is the problem: If I now move to a record in frmClient which > > does have records in sfrSurvey the records are showing in sfrSurvey > > but where the sfrResults subform should be is a white box. It looks > > like the sfrResults control doesn't have the Source Object property > > but using VBA I can display the SourceObject property just before > > the recordset is updated and it appears fine. > > > > The line of code where the problem appears is: > > > > Set > > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > > = > > rstTemp > > > > The error number is 2467 "The expression you entered refers to an > > object that is closed or doesn't exist.". > > > > There is nothing in my code that purposely changes the SourceObject > > property > > - the only changes are to the recordsource of the subforms. None of > > the other subforms have this problem. I have tested by changing one > > of the other subforms to not allow additions and it showed the same > problem. > > Changing it back to allowing additions solved the problem. However, > > for this particular subform I don't want to allow additions and > > would prefer not to have the screen indicate that additions can be > > made only to have the user told they can't if they try (by using code). > > > > Has anyone come across anything like this before? > > > > 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 bensonforums at gmail.com Tue Jul 7 17:03:15 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 7 Jul 2015 18:03:15 -0400 Subject: [AccessD] Sub Subform not showing In-Reply-To: <002a01d0b8ff$6a06b4a0$3e141de0$@dalyn.co.nz> References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> <009f01d0b8f1$cc61b950$65252bf0$@cox.net> <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> <002a01d0b8ff$6a06b4a0$3e141de0$@dalyn.co.nz> Message-ID: The things we do for love! On Tue, Jul 7, 2015 at 5:53 PM, David Emerson wrote: > Ahhgggggg :) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Wednesday, 8 July 2015 9:51 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sub Subform not showing > > Could you do as doug suggests, lock down the controls on that form, but > with > a command button, take them to another (popup?) form, set to the same > record, to do edits? Then the popup won't be a subform and won't be > exhibiting the same behaviour (admittedly odd) you are seeing with the > present subform. and maybe on unloading of the popup, trigger a refresh of > the subform which is already open. > > On Tue, Jul 7, 2015 at 5:14 PM, David Emerson > wrote: > > > Hi Doug, > > > > We want the users to be able to edit existing records - just not add > > new ones. > > > > David > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Doug Murphy > > Sent: Wednesday, 8 July 2015 8:16 a.m. > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Sub Subform not showing > > > > David, > > > > I think you can set the form in the subform control to allow additions > > but set the subform control locked property to true. This will allow > > your users to see the records but not change them. Don't have Access > > open at this time but memory seems to recall that is what I have done. > > > > Doug > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of David Emerson > > Sent: Tuesday, July 07, 2015 12:39 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Sub Subform not showing > > > > Hi Charlotte, > > > > The problem is not when there are no records but when there are records. > > The forms work as expected when there are no records in the parent > object. > > To quote from my original post: > > > > "If I move to a record in frmClient which does not have records in > > sfrSurvey then sfrSurvey shows no records and the details section is > > blank (which is expected). Because sfrSurvey is blank then sfrResults > > is not shown as well (as expected). > > > > Here is the problem: If I now move to a record in frmClient which does > > have records in sfrSurvey the records are showing in sfrSurvey but > > where the sfrResults subform should be is a white box. It looks like > > the sfrResults control doesn't have the Source Object property but > > using VBA I can display the SourceObject property just before the > > recordset is updated and it appears fine." > > > > As noted in my original email it seems to be related to the > > AllowAdditions property. If I change this to true then the subforms > > show (but in this case I don't want the user to be able to add > > records) > > > > Regards > > > > David > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Charlotte Foust > > Sent: Wednesday, 8 July 2015 5:42 a.m. > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Sub Subform not showing > > > > First off, if a parent object has no records, then its subform will > > have no records. It's always been that way, and if the Allow > > additions is set off, you won't see either the parent or subform. The > > simplest way I can think of to handle this is to set Allow Additions > > on by default in the form/subform and then use code on the Enter event > > to disable additions. > > > > Charlotte Foust > > (916) 206-4336 > > > > On Sat, Jul 4, 2015 at 2:51 PM, David Emerson > > wrote: > > > > > Hi Listers, > > > > > > I have an Access 2010 FE and SQL 2008 BE. I have a form > > > (frmClients) that has a tab control with a number of tabs and subforms > in each tab. > > > Most of the subforms have subforms of their own. Record sources for > > > all the forms and subforms are set by assigning a ADODB.Recordset > > > when a record is selected from the main form (these filter the > > > records according to the main record selected). > > > > > > All is working well except for one subform (sfrSurvey) which has its > > > own subform (sfrResults). All of the other subforms are set so that > > > records can be added but sfrSurvey has its Allow Additions property > > > set to no (records are added through a different process). > > > > > > When I open frmClient the first record happens to have a record in > > > sfrSurvey and this in turn shows records for sfrResults. If I move > > > to another record in frmClient which has records in sfrSurvey then > > > records also show in sfrResults. > > > > > > If I move to a record in frmClient which does not have records in > > > sfrSurvey then sfrSurvey shows no records and the details section is > > > blank (which is expected). Because sfrSurvey is blank then > > > sfrResults is not shown as well (as expected). > > > > > > Here is the problem: If I now move to a record in frmClient which > > > does have records in sfrSurvey the records are showing in sfrSurvey > > > but where the sfrResults subform should be is a white box. It looks > > > like the sfrResults control doesn't have the Source Object property > > > but using VBA I can display the SourceObject property just before > > > the recordset is updated and it appears fine. > > > > > > The line of code where the problem appears is: > > > > > > Set > > > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > > > = > > > rstTemp > > > > > > The error number is 2467 "The expression you entered refers to an > > > object that is closed or doesn't exist.". > > > > > > There is nothing in my code that purposely changes the SourceObject > > > property > > > - the only changes are to the recordsource of the subforms. None of > > > the other subforms have this problem. I have tested by changing one > > > of the other subforms to not allow additions and it showed the same > > problem. > > > Changing it back to allowing additions solved the problem. However, > > > for this particular subform I don't want to allow additions and > > > would prefer not to have the screen indicate that additions can be > > > made only to have the user told they can't if they try (by using code). > > > > > > Has anyone come across anything like this before? > > > > > > 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Tue Jul 7 18:11:00 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 11:11:00 +1200 Subject: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) In-Reply-To: References: <004c01d0b775$0e456570$2ad03050$@dalyn.co.nz> Message-ID: <004901d0b90a$30d2d780$92788680$@dalyn.co.nz> Hi All, I have found some code that creates shortcut menus: http://www.experts-exchange.com/Database/MS_Access/Q_27707700.html I am able to set the Allow Default Shortcut Menus option to False under Current Database which prevents any default Shortcut menus from showing but still allows shortcuts entered into a form or report's Shortcut menu Bar property to be displayed. Problem solved :) Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 8 July 2015 5:38 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Show Print Preview Ribbon for Popup Reports (x posted) What happens if you set the Allow Default Shortcut Menus option to true under Current Database? You should be able to then access the print preview commands from the shortcut menu for the report. Or is this a runtime version, which changes the rules. Charlotte Foust (916) 206-4336 On Sun, Jul 5, 2015 at 3:50 PM, David Emerson wrote: > Hi Listers, > > (I have also sent this to Access-L but have not found a solution yet) > > I have a Access 2010 database with many reports that are previewed with > their Popup value set to Yes and Modal = No. They are popup so that users > can move them around to see other open screens. > > How can I show the print preview ribbon when the reports are Popup > (the ribbon shows ok if the reports are not Popup but that doesn't > meet the users requirements of being able to see multiple windows at > once)? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From newsgrps at dalyn.co.nz Wed Jul 8 03:12:31 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 8 Jul 2015 20:12:31 +1200 Subject: [AccessD] Sub Subform not showing In-Reply-To: References: <000901d0b6a3$9138d610$b3aa8230$@dalyn.co.nz> <009f01d0b8f1$cc61b950$65252bf0$@cox.net> <002301d0b8f9$f5f3d6b0$e1db8410$@dalyn.co.nz> <002a01d0b8ff$6a06b4a0$3e141de0$@dalyn.co.nz> Message-ID: <00f601d0b955$d7341da0$859c58e0$@dalyn.co.nz> Finally found a solution. Sorry Bill not as imaginative as your suggestion :) Added the following line just before resetting the sub subform Recordset: Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.SourceObject = "sfrClientQualitySurveyResult" Set Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset = rstTemp Not sure why it works because printing the value of the SourceObject property just before running the new line returns the same value. Thanks for all the suggestions everyone - we finally got it nailed. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, 8 July 2015 10:03 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Subform not showing The things we do for love! On Tue, Jul 7, 2015 at 5:53 PM, David Emerson wrote: > Ahhgggggg :) > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Wednesday, 8 July 2015 9:51 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sub Subform not showing > > Could you do as doug suggests, lock down the controls on that form, > but with a command button, take them to another (popup?) form, set to > the same record, to do edits? Then the popup won't be a subform and > won't be exhibiting the same behaviour (admittedly odd) you are seeing > with the present subform. and maybe on unloading of the popup, trigger > a refresh of the subform which is already open. > > On Tue, Jul 7, 2015 at 5:14 PM, David Emerson > wrote: > > > Hi Doug, > > > > We want the users to be able to edit existing records - just not add > > new ones. > > > > David > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Doug Murphy > > Sent: Wednesday, 8 July 2015 8:16 a.m. > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Sub Subform not showing > > > > David, > > > > I think you can set the form in the subform control to allow > > additions but set the subform control locked property to true. This > > will allow your users to see the records but not change them. Don't > > have Access open at this time but memory seems to recall that is what I have done. > > > > Doug > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of David Emerson > > Sent: Tuesday, July 07, 2015 12:39 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Sub Subform not showing > > > > Hi Charlotte, > > > > The problem is not when there are no records but when there are records. > > The forms work as expected when there are no records in the parent > object. > > To quote from my original post: > > > > "If I move to a record in frmClient which does not have records in > > sfrSurvey then sfrSurvey shows no records and the details section is > > blank (which is expected). Because sfrSurvey is blank then > > sfrResults is not shown as well (as expected). > > > > Here is the problem: If I now move to a record in frmClient which > > does have records in sfrSurvey the records are showing in sfrSurvey > > but where the sfrResults subform should be is a white box. It looks > > like the sfrResults control doesn't have the Source Object property > > but using VBA I can display the SourceObject property just before > > the recordset is updated and it appears fine." > > > > As noted in my original email it seems to be related to the > > AllowAdditions property. If I change this to true then the subforms > > show (but in this case I don't want the user to be able to add > > records) > > > > Regards > > > > David > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Charlotte Foust > > Sent: Wednesday, 8 July 2015 5:42 a.m. > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Sub Subform not showing > > > > First off, if a parent object has no records, then its subform will > > have no records. It's always been that way, and if the Allow > > additions is set off, you won't see either the parent or subform. > > The simplest way I can think of to handle this is to set Allow > > Additions on by default in the form/subform and then use code on the > > Enter event to disable additions. > > > > Charlotte Foust > > (916) 206-4336 > > > > On Sat, Jul 4, 2015 at 2:51 PM, David Emerson > > wrote: > > > > > Hi Listers, > > > > > > I have an Access 2010 FE and SQL 2008 BE. I have a form > > > (frmClients) that has a tab control with a number of tabs and > > > subforms > in each tab. > > > Most of the subforms have subforms of their own. Record sources > > > for all the forms and subforms are set by assigning a > > > ADODB.Recordset when a record is selected from the main form > > > (these filter the records according to the main record selected). > > > > > > All is working well except for one subform (sfrSurvey) which has > > > its own subform (sfrResults). All of the other subforms are set > > > so that records can be added but sfrSurvey has its Allow Additions > > > property set to no (records are added through a different process). > > > > > > When I open frmClient the first record happens to have a record in > > > sfrSurvey and this in turn shows records for sfrResults. If I > > > move to another record in frmClient which has records in sfrSurvey > > > then records also show in sfrResults. > > > > > > If I move to a record in frmClient which does not have records in > > > sfrSurvey then sfrSurvey shows no records and the details section > > > is blank (which is expected). Because sfrSurvey is blank then > > > sfrResults is not shown as well (as expected). > > > > > > Here is the problem: If I now move to a record in frmClient which > > > does have records in sfrSurvey the records are showing in > > > sfrSurvey but where the sfrResults subform should be is a white > > > box. It looks like the sfrResults control doesn't have the Source > > > Object property but using VBA I can display the SourceObject > > > property just before the recordset is updated and it appears fine. > > > > > > The line of code where the problem appears is: > > > > > > Set > > > Me!sfrQualitySurvey.Form!sfrQualitySurveyResult.Form.Recordset > > > = > > > rstTemp > > > > > > The error number is 2467 "The expression you entered refers to an > > > object that is closed or doesn't exist.". > > > > > > There is nothing in my code that purposely changes the > > > SourceObject property > > > - the only changes are to the recordsource of the subforms. None > > > of the other subforms have this problem. I have tested by > > > changing one of the other subforms to not allow additions and it > > > showed the same > > problem. > > > Changing it back to allowing additions solved the problem. > > > However, for this particular subform I don't want to allow > > > additions and would prefer not to have the screen indicate that > > > additions can be made only to have the user told they can't if they try (by using code). > > > > > > Has anyone come across anything like this before? > > > > > > Regards > > > > > > David Emerson > > > Dalyn Software Ltd > > > Wellington, New Zealand From gustav at cactus.dk Fri Jul 10 03:49:06 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jul 2015 08:49:06 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA Message-ID: Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behaving-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav From jimdettman at verizon.net Fri Jul 10 07:00:20 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Jul 2015 08:00:20 -0400 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: References: Message-ID: <1BD84685A9DE44CBAEEF0E1D84D1E723@XPS> Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Jul 10 07:23:15 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Jul 2015 08:23:15 -0400 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: <1BD84685A9DE44CBAEEF0E1D84D1E723@XPS> References: <1BD84685A9DE44CBAEEF0E1D84D1E723@XPS> Message-ID: <1B90F2874FFE4A659D82BE87577C6320@XPS> Found it: http://rdsrc.us/Nmczv0 Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, July 10, 2015 08:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDec behaviour in SQL and VBA Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav -- 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 Fri Jul 10 07:59:53 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jul 2015 12:59:53 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA Message-ID: Hi Jim Thanks, but the link to the MS source seems to be broken. Still, I cannot imagine what a second parameter of CDec could specify? Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 10. juli 2015 14:23 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] CDec behaviour in SQL and VBA Found it: http://rdsrc.us/Nmczv0 Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, July 10, 2015 08:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDec behaviour in SQL and VBA Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav From gustav at cactus.dk Fri Jul 10 09:42:33 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jul 2015 14:42:33 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA Message-ID: Perhaps I could address the issue here: Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! Download the .ics and full details here. We look forward to seeing you there! Warm regards, Office Pre-Release Programs Team Beth, Linda, Renee, Steve, Tom, Wendy and Wynne The link is (requires Microsoft login): http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 10. juli 2015 15:00 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA Hi Jim Thanks, but the link to the MS source seems to be broken. Still, I cannot imagine what a second parameter of CDec could specify? Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 10. juli 2015 14:23 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] CDec behaviour in SQL and VBA Found it: http://rdsrc.us/Nmczv0 Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, July 10, 2015 08:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDec behaviour in SQL and VBA Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav From mcp2004 at mail.ru Fri Jul 10 15:35:22 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 10 Jul 2015 23:35:22 +0300 Subject: [AccessD] =?utf-8?q?CDec_behaviour_in_SQL_and_VBA?= In-Reply-To: References: Message-ID: <1436560522.861122415@f433.i.mail.ru> HI Gustav -- I have logged in to MS Live but the link you posted ( http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 ) didn't work for me: <<< Page Not Found ? The content that you requested cannot be found or you do not have permission to view it. ? If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include this ID in your e-mail: 9c9f1b64-3817-48ce-bb13-e64b65c2f026 ? Microsoft Connect welcome page. >>> Does it need any special privileged MS Live login? Thank you. -- Shamil >Friday, July 10, 2015 2:42 PM UTC from Gustav Brock : > >Perhaps I could address the issue here: > > >Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. > >On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. > >We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! > >The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. > >And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! > >Download the .ics and full details here. We look forward to seeing you there! > >Warm regards, >Office Pre-Release Programs Team >Beth, Linda, Renee, Steve, Tom, Wendy and Wynne > > >The link is (requires Microsoft login): >http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 > >/gustav > >-----Oprindelig meddelelse----- >Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock >Sendt: 10. juli 2015 15:00 >Til: Access Developers discussion and problem solving >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > >Hi Jim > >Thanks, but the link to the MS source seems to be broken. > >Still, I cannot imagine what a second parameter of CDec could specify? >Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. > >/gustav > >-----Oprindelig meddelelse----- >Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman >Sendt: 10. juli 2015 14:23 >Til: 'Access Developers discussion and problem solving' >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > > >?Found it: > >http://rdsrc.us/Nmczv0 > >Jim. > >-----Original Message----- >From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, July 10, 2015 08:00 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDec behaviour in SQL and VBA > > >?Yes and no. When your using SQL, it runs through an expression service >while VBA does not. The procedure calls in the expression service can be >different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). > >?I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. > >Jim. > >-----Original Message----- >From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, July 10, 2015 04:49 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] CDec behaviour in SQL and VBA > >Hi all > >Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I >think: > >http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi >ng-the-same-as-when-used-from-access-vba > >I can reproduce the described behaviour in Access 2013. > >/gustav > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jul 10 15:44:32 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jul 2015 20:44:32 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: <1436560522.861122415@f433.i.mail.ru> References: , <1436560522.861122415@f433.i.mail.ru> Message-ID: Hi Shamil That could be the case. The link is from an e-mail. Would this work for you: https://connect.microsoft.com/office/Downloads/ A login to Microsoft Connect seems to be needed. /gustav ________________________________________ Fra: AccessD p? vegne af Salakhetdinov Shamil Sendt: 10. juli 2015 22:35 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA HI Gustav -- I have logged in to MS Live but the link you posted ( http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 ) didn't work for me: <<< Page Not Found The content that you requested cannot be found or you do not have permission to view it. If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include this ID in your e-mail: 9c9f1b64-3817-48ce-bb13-e64b65c2f026 Microsoft Connect welcome page. >>> Does it need any special privileged MS Live login? Thank you. -- Shamil >Friday, July 10, 2015 2:42 PM UTC from Gustav Brock : > >Perhaps I could address the issue here: > > >Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. > >On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. > >We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! > >The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. > >And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! > >Download the .ics and full details here. We look forward to seeing you there! > >Warm regards, >Office Pre-Release Programs Team >Beth, Linda, Renee, Steve, Tom, Wendy and Wynne > > >The link is (requires Microsoft login): >http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 > >/gustav > >-----Oprindelig meddelelse----- >Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock >Sendt: 10. juli 2015 15:00 >Til: Access Developers discussion and problem solving >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > >Hi Jim > >Thanks, but the link to the MS source seems to be broken. > >Still, I cannot imagine what a second parameter of CDec could specify? >Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. > >/gustav > >-----Oprindelig meddelelse----- >Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman >Sendt: 10. juli 2015 14:23 >Til: 'Access Developers discussion and problem solving' >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > > >?Found it: > >http://rdsrc.us/Nmczv0 > >Jim. > >-----Original Message----- >From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Friday, July 10, 2015 08:00 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] CDec behaviour in SQL and VBA > > >?Yes and no. When your using SQL, it runs through an expression service >while VBA does not. The procedure calls in the expression service can be >different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). > >?I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. > >Jim. > >-----Original Message----- >From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, July 10, 2015 04:49 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] CDec behaviour in SQL and VBA > >Hi all > >Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: > >http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behaving-the-same-as-when-used-from-access-vba > >I can reproduce the described behaviour in Access 2013. > >/gustav From mcp2004 at mail.ru Fri Jul 10 15:53:28 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 10 Jul 2015 23:53:28 +0300 Subject: [AccessD] =?utf-8?q?CDec_behaviour_in_SQL_and_VBA?= In-Reply-To: References: <1436560522.861122415@f433.i.mail.ru> Message-ID: <1436561608.458652674@f433.i.mail.ru> Hi Gustav -- Yes, I'm logged-in.?I do see Product Directory items here? https://connect.microsoft.com/directory/ ?and for MS Office, here? https://connect.microsoft.com/directory/office/ ?, - I do see just one entry "Migration for SharePoint Online". Do you see more? Thank you. -- Shamil >Friday, July 10, 2015 8:44 PM UTC from Gustav Brock : > >Hi Shamil > >That could be the case. The link is from an e-mail. > >Would this work for you: > >???? https://connect.microsoft.com/office/Downloads/ > >A login to Microsoft Connect seems to be needed. > >/gustav > >________________________________________ >Fra: AccessD < accessd-bounces at databaseadvisors.com > p? vegne af Salakhetdinov Shamil < mcp2004 at mail.ru > >Sendt: 10. juli 2015 22:35 >Til: Access Developers discussion and problem solving >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > >?HI Gustav -- > >I have logged in to MS Live but the link you posted ( http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 ) didn't work for me: > ><<< >Page Not Found > >The content that you requested cannot be found or you do not have permission to view it. > >If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include this ID in your e-mail: 9c9f1b64-3817-48ce-bb13-e64b65c2f026 > >Microsoft Connect welcome page. >>>> > >Does it need any special privileged MS Live login? > >Thank you. > >-- Shamil > >>Friday, July 10, 2015 2:42 PM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Perhaps I could address the issue here: >> >> >>Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. >> >>On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. >> >>We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! >> >>The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. >> >>And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! >> >>Download the .ics and full details here. We look forward to seeing you there! >> >>Warm regards, >>Office Pre-Release Programs Team >>Beth, Linda, Renee, Steve, Tom, Wendy and Wynne >> >> >>The link is (requires Microsoft login): >> http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock >>Sendt: 10. juli 2015 15:00 >>Til: Access Developers discussion and problem solving >>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >> >>Hi Jim >> >>Thanks, but the link to the MS source seems to be broken. >> >>Still, I cannot imagine what a second parameter of CDec could specify? >>Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman >>Sendt: 10. juli 2015 14:23 >>Til: 'Access Developers discussion and problem solving' >>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >> >> >>?Found it: >> >> http://rdsrc.us/Nmczv0 >> >>Jim. >> >>-----Original Message----- >>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >>Sent: Friday, July 10, 2015 08:00 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDec behaviour in SQL and VBA >> >> >>?Yes and no. When your using SQL, it runs through an expression service >>while VBA does not. The procedure calls in the expression service can be >>different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). >> >>?I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. >> >>Jim. >> >>-----Original Message----- >>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, July 10, 2015 04:49 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] CDec behaviour in SQL and VBA >> >>Hi all >> >>Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: >> >> http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behaving-the-same-as-when-used-from-access-vba >> >>I can reproduce the described behaviour in Access 2013. >> >>/gustav >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jul 10 16:27:48 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jul 2015 21:27:48 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: <1436561608.458652674@f433.i.mail.ru> References: <1436560522.861122415@f433.i.mail.ru> , <1436561608.458652674@f433.i.mail.ru> Message-ID: Hi Shamil Oh - it may require both another sign-up and an Office 365 subscription: http://connect.microsoft.com/office/program8819 or try here: https://community.office365.com/en-us/office_2016_preview/f/ /gustav ________________________________________ Fra: AccessD p? vegne af Salakhetdinov Shamil Sendt: 10. juli 2015 22:53 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA Hi Gustav -- Yes, I'm logged-in. I do see Product Directory items here https://connect.microsoft.com/directory/ and for MS Office, here https://connect.microsoft.com/directory/office/ , - I do see just one entry "Migration for SharePoint Online". Do you see more? Thank you. -- Shamil >Friday, July 10, 2015 8:44 PM UTC from Gustav Brock : > >Hi Shamil > >That could be the case. The link is from an e-mail. > >Would this work for you: > >???? https://connect.microsoft.com/office/Downloads/ > >A login to Microsoft Connect seems to be needed. > >/gustav > >________________________________________ >Fra: AccessD < accessd-bounces at databaseadvisors.com > p? vegne af Salakhetdinov Shamil < mcp2004 at mail.ru > >Sendt: 10. juli 2015 22:35 >Til: Access Developers discussion and problem solving >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > >?HI Gustav -- > >I have logged in to MS Live but the link you posted ( http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 ) didn't work for me: > ><<< >Page Not Found > >The content that you requested cannot be found or you do not have permission to view it. > >If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include this ID in your e-mail: 9c9f1b64-3817-48ce-bb13-e64b65c2f026 > >Microsoft Connect welcome page. >>>> > >Does it need any special privileged MS Live login? > >Thank you. > >-- Shamil > >>Friday, July 10, 2015 2:42 PM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Perhaps I could address the issue here: >> >> >>Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. >> >>On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. >> >>We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! >> >>The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. >> >>And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! >> >>Download the .ics and full details here. We look forward to seeing you there! >> >>Warm regards, >>Office Pre-Release Programs Team >>Beth, Linda, Renee, Steve, Tom, Wendy and Wynne >> >> >>The link is (requires Microsoft login): >> http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock >>Sendt: 10. juli 2015 15:00 >>Til: Access Developers discussion and problem solving >>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >> >>Hi Jim >> >>Thanks, but the link to the MS source seems to be broken. >> >>Still, I cannot imagine what a second parameter of CDec could specify? >>Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. >> >>/gustav >> >>-----Oprindelig meddelelse----- >>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman >>Sendt: 10. juli 2015 14:23 >>Til: 'Access Developers discussion and problem solving' >>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >> >> >>?Found it: >> >> http://rdsrc.us/Nmczv0 >> >>Jim. >> >>-----Original Message----- >>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >>Sent: Friday, July 10, 2015 08:00 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] CDec behaviour in SQL and VBA >> >> >>?Yes and no. When your using SQL, it runs through an expression service >>while VBA does not. The procedure calls in the expression service can be >>different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). >> >>?I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. >> >>Jim. >> >>-----Original Message----- >>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, July 10, 2015 04:49 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] CDec behaviour in SQL and VBA >> >>Hi all >> >>Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: >> >> http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behaving-the-same-as-when-used-from-access-vba >> >>I can reproduce the described behaviour in Access 2013. >> >>/gustav From mcp2004 at mail.ru Fri Jul 10 17:04:09 2015 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 11 Jul 2015 01:04:09 +0300 Subject: [AccessD] =?utf-8?q?CDec_behaviour_in_SQL_and_VBA?= In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> Message-ID: <1436565849.143472639@f184.i.mail.ru> Hi Gustav -- OK, I'll leave it go without my participation :) (I have MS Live login for quite some time and I believe I have MS Office 365 Dev subscription.) ' -- Shamil >Friday, July 10, 2015 9:27 PM UTC from Gustav Brock : > >Hi Shamil > >Oh - it may require both another sign-up and an Office 365 subscription: > >???? http://connect.microsoft.com/office/program8819 > >or try here: > >???? https://community.office365.com/en-us/office_2016_preview/f/ > >/gustav > >________________________________________ >Fra: AccessD < accessd-bounces at databaseadvisors.com > p? vegne af Salakhetdinov Shamil < mcp2004 at mail.ru > >Sendt: 10. juli 2015 22:53 >Til: Access Developers discussion and problem solving >Emne: Re: [AccessD] CDec behaviour in SQL and VBA > >?Hi Gustav -- > >Yes, I'm logged-in. I do see Product Directory items here https://connect.microsoft.com/directory/ and for MS Office, here https://connect.microsoft.com/directory/office/ , - I do see just one entry "Migration for SharePoint Online". Do you see more? > >Thank you. > >-- Shamil > > >>Friday, July 10, 2015 8:44 PM UTC from Gustav Brock < gustav at cactus.dk >: >> >>Hi Shamil >> >>That could be the case. The link is from an e-mail. >> >>Would this work for you: >> >>???? https://connect.microsoft.com/office/Downloads/ >> >>A login to Microsoft Connect seems to be needed. >> >>/gustav >> >>________________________________________ >>Fra: AccessD < accessd-bounces at databaseadvisors.com > p? vegne af Salakhetdinov Shamil < mcp2004 at mail.ru > >>Sendt: 10. juli 2015 22:35 >>Til: Access Developers discussion and problem solving >>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >> >>?HI Gustav -- >> >>I have logged in to MS Live but the link you posted ( http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 ) didn't work for me: >> >><<< >>Page Not Found >> >>The content that you requested cannot be found or you do not have permission to view it. >> >>If you believe you have reached this page in error, click the Help link at the top of the page to report the issue and include this ID in your e-mail: 9c9f1b64-3817-48ce-bb13-e64b65c2f026 >> >>Microsoft Connect welcome page. >>>>> >> >>Does it need any special privileged MS Live login? >> >>Thank you. >> >>-- Shamil >> >>>Friday, July 10, 2015 2:42 PM UTC from Gustav Brock < gustav at cactus.dk >: >>> >>>Perhaps I could address the issue here: >>> >>> >>>Call us crazy (we are!) but we're excited to announce that we're going to attempt what has really never been done before - a live Customer Bug Bash. >>> >>>On July 15th, join us in the new (temporary) public Yammer group and file your issues on Office 16 desktop apps on Yammer and see your bugs triaged in real time! We're getting to the end game and want to ensure that we've got good coverage on all aspects of the product. >>> >>>We'll also be doing load testing in an attempting to bring down the new real-time co-authoring functionality by getting as many sessions going at a single time as we can! >>> >>>The localization team in Ireland will also be present and are specifically looking for localization feedback especially in East Asian languages. >>> >>>And, of course, there will be all kinds of SWAG to give away! We'll also share pics from the big room where we'll all be gathered! >>> >>>Download the .ics and full details here. We look forward to seeing you there! >>> >>>Warm regards, >>>Office Pre-Release Programs Team >>>Beth, Linda, Renee, Steve, Tom, Wendy and Wynne >>> >>> >>>The link is (requires Microsoft login): >>> http://connect.microsoft.com/office/Downloads/DownloadDetails.aspx?DownloadID=58503 >>> >>>/gustav >>> >>>-----Oprindelig meddelelse----- >>>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock >>>Sendt: 10. juli 2015 15:00 >>>Til: Access Developers discussion and problem solving >>>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >>> >>>Hi Jim >>> >>>Thanks, but the link to the MS source seems to be broken. >>> >>>Still, I cannot imagine what a second parameter of CDec could specify? >>>Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. >>> >>>/gustav >>> >>>-----Oprindelig meddelelse----- >>>Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman >>>Sendt: 10. juli 2015 14:23 >>>Til: 'Access Developers discussion and problem solving' >>>Emne: Re: [AccessD] CDec behaviour in SQL and VBA >>> >>> >>>?Found it: >>> >>> http://rdsrc.us/Nmczv0 >>> >>>Jim. >>> >>>-----Original Message----- >>>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >>>Sent: Friday, July 10, 2015 08:00 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] CDec behaviour in SQL and VBA >>> >>> >>>?Yes and no. When your using SQL, it runs through an expression service >>>while VBA does not. The procedure calls in the expression service can be >>>different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). >>> >>>?I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. >>> >>>Jim. >>> >>>-----Original Message----- >>>From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>>Sent: Friday, July 10, 2015 04:49 AM >>>To: Access Developers discussion and problem solving >>>Subject: [AccessD] CDec behaviour in SQL and VBA >>> >>>Hi all >>> >>>Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: >>> >>> http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behaving-the-same-as-when-used-from-access-vba >>> >>>I can reproduce the described behaviour in Access 2013. >>> >>>/gustav >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jul 13 19:22:45 2015 From: robert at servicexp.com (Robert) Date: Mon, 13 Jul 2015 20:22:45 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <1436565849.143472639@f184.i.mail.ru> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> Message-ID: <004501d0bdcb$36e89f90$a4b9deb0$@com> Ok so I'm at my wits-end here; for some reason I have a customer that is intermittently getting the above error. 1) There is no corrupted records, I can add and or delete records, I can delete all records, etc. 2) There are no primary keys on memo fields. 3) I can compact and repair both back end db's with no problem 4) I have run both db's through JetCOMP. I simply cannot find any problems with the data or structure of these databases. MS Access 2007 .mde front end Ms Access 2002 .mdb back end (both) One is secured and the other is not. Here is the code (I know it's not very efficient but...:-) ) that is generating the error maybe 2 to 3 times a day. (this function is called every 5-10 minutes during a 10 hour day) *********************************************************************************************** '--------------------------------------------------------------------------------------- '. Procedure : SyncroniseEventTbl '. DateTime : 11/15/2006 19:57 '. Author : Robert '. Revision : ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 different db's) '--------------------------------------------------------------------------------------- ' Public Function SyncroniseEventTbl() As Boolean Dim db As DAO.Database Dim rstSCTbl As DAO.Recordset Dim rstEvents As DAO.Recordset Dim lRN As Long Dim dOldDate As Date Dim dNewDate As Date Dim dSchTimeStart As Date Dim dSchTimeEnd As Date 'Let do a quick orphan kill run before we start 10 On Error GoTo HandleErr 20 DeleteScheduleEventOrphan 30 Set db = CurrentDb 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", dbOpenForwardOnly) 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) ''Debug.Print "Syncing Tbls" 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." 80 With rstSCTbl 90 If .RecordCount > 0 Then 100 DoEvents 110 Do Until .EOF 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." 130 CalendarLocked = False 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) 150 If rstEvents.NoMatch = True Then 'Lets add the event to the table 160 If IsNull(!DateScheduled) = True Then 'We don't want to add any none scheduled items GoTo MoveHere: 170 End If 180 rstEvents.AddNew 190 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) 200 rstEvents!StartDateTime = DateFromString(!DateScheduled, Nz(!TimeScheduledIn, TimeValue(Now()))) 'dSchTimeStart 210 rstEvents!EndDateTime = DateFromString(!DateScheduled, Nz(!TimeScheduledout, TimeValue(Now()))) 'dSchTimeEnd 220 rstEvents!Subject = GetHeader(rstSCTbl) 230 rstEvents!Location = !Address & "; " & !City & "; Contact # " & Format(!CPhone, "@@@-@@@-@@@@") 240 rstEvents!Body = Left(!CustomerComplaints, 254) 250 rstEvents!Created = Now 260 rstEvents!BusyStatus = Nz(!EventBusyStatus, 2) 270 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) 280 rstEvents!CustomPropertiesXMLData = "" 290 rstEvents!ReminderMinutesBeforeStart = 15 300 rstEvents!RemainderSoundFile = "" 310 rstEvents!RepairNumber = !RepairNumber 320 rstEvents.Update 330 Else ' We will Synchronize below 'Make sure we delete any unscheduled work orders 340 If IsNull(!DateScheduled) = True Then 350 rstEvents.Delete GoTo MoveHere: 360 End If 370 rstEvents.Edit 380 If CalendarSyncTech = True Then 390 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) 400 End If 'added 07/08/08 'Need to check for any discrepancies between graphic schedule date and system date 410 If DateValue(rstEvents!StartDateTime) <> DateValue(!DateScheduled) Then 420 dOldDate = DateValue(rstEvents!StartDateTime) 430 rstEvents!StartDateTime = DateFromString(!DateScheduled, TimeValue(rstEvents!StartDateTime)) 440 dNewDate = DateValue(!DateScheduled) 450 rstEvents!EndDateTime = DateFromString(!DateScheduled, TimeValue(rstEvents!EndDateTime)) 460 WriteSysNotes !RepairNumber, " Auto Schedule Sync. System: From " & dOldDate & " To: " & dNewDate, , True 470 End If 480 If m_bCalendarSyncTimes = True Then 490 rstEvents!StartDateTime = DateFromString(!DateScheduled, !TimeScheduledIn) 500 rstEvents!EndDateTime = DateFromString(!DateScheduled, !TimeScheduledout) 510 End If 520 If CalendarUpdateHeaderInfo = True Then 530 rstEvents!Subject = GetHeader(rstSCTbl) 540 End If 550 rstEvents!Location = !Address & "; " & !City & "; Contact # " & Format(!CPhone, "@@@-@@@-@@@@") 560 rstEvents!Modified = Now 570 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) 580 rstEvents!ReminderMinutesBeforeStart = 15 590 rstEvents!RemainderSoundFile = "" 600 rstEvents.Update MoveHere: 610 End If 620 .MoveNext ' DoEvents 'This was slowing down the above code BIG TIME 11/05/11 630 Loop 640 End If 650 End With 'Let do a quick orphan kill run again 660 DeleteScheduleEventOrphan 670 PMIncrement 1, "Opening and Retrieving Schedule data ... Complete" 680 PM True ExitHere: 690 On Error Resume Next 700 rstSCTbl.Close 710 Set rstSCTbl = Nothing 720 rstEvents.Close 730 Set rstEvents = Nothing 740 rstZones.Close 750 Set rstZones = Nothing 760 db.Close 770 Set db = Nothing 780 Exit Function HandleErr: 790 Select Case Err.Number Case 3167, 94 ' A record was deleted and Null value found 800 Resume Next 810 Case 3218, 3624, 3197, 3260, 3187 820 frm.Caption = "Schedule Navigator..." & " Last Graphic Refresh On: " & Now & " Failed : A User Has Records Locked, Please Wait " 830 CalendarLocked = True 840 SendGlobalRefresh 850 Case 3420, 3021, 91 860 MsgBox "Sorry, The Graphic Calendar System has encountered a problem, and must close.", , "Error: " & Err.Number 870 rstSCTbl.Close 880 Set rstSCTbl = Nothing 890 rstEvents.Close 900 Set rstEvents = Nothing 910 rstZones.Close 920 Set rstZones = Nothing 930 db.Close 940 Set db = Nothing 950 frm.Err.Raise 159753 'This causes a Application-defined or object-defined error that moves to the starting proc 960 CloseScheduleAndReOpen 970 Case -2147352567 ' Deleted record 980 Resume Next 990 Case Else 'MsgBox Err.BuildError("clsCalendar:SyncroniseEventTbl"), vbCritical, "Un-Expected Error" 1000 MsgBox "There has been an error in Procedure: clsCalendar:SyncroniseEventTbl " & vbCrLf & _ "Error Number: " & Err.Number & vbCrLf & "Error Description: " & Err.Description & " On Line: " & Erl() & vbCrLf & _ " Please Contact " & "The SoftwareVendor" & " for more help regarding this error. ", vbCritical, "Un-Expected Error" 1010 Call ErrorRecordSystem(Err.Number, Err.Description & " On Line: " & Erl(), Now, "Un-Expected Error In Proc; " & "clsCalendar:SyncroniseEventTbl", CurrentUser, Err) 1020 Resume ExitHere 1030 End Select End Function ************************************************************************************************** From bensonforums at gmail.com Mon Jul 13 19:56:55 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 13 Jul 2015 20:56:55 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> Message-ID: On Mon, Jul 13, 2015 at 8:45 PM, Bill Benson wrote: > Will you get the error no matter how many times the routine is run in a > session? You might succeed in trapping for it, then waiting a couple > seconds, before repeating the operation that received the error. Not ideal, > but a coping mechanism... if it works. > > > From robert at servicexp.com Mon Jul 13 20:01:16 2015 From: robert at servicexp.com (Robert) Date: Mon, 13 Jul 2015 21:01:16 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> Message-ID: <000301d0bdd0$989b5bb0$c9d21310$@com> Some days there are no reports of errors (not sure if they are just not sending them or if they just are not happening), but most days I get at least 1 error report. WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 13, 2015 8:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" On Mon, Jul 13, 2015 at 8:45 PM, Bill Benson wrote: > Will you get the error no matter how many times the routine is run in > a session? You might succeed in trapping for it, then waiting a couple > seconds, before repeating the operation that received the error. Not > ideal, but a coping mechanism... if it works. > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Jul 14 03:08:54 2015 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Jul 2015 08:08:54 +0000 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" Message-ID: Hi Robert It's not easy to see what can be wrong here (I haven't met that error), but as a side note this doesn't look nice: rstEvents!StartDateTime = DateFromString(!DateScheduled, TimeValue(rstEvents!StartDateTime)) If you are adding a date and a time, you can simply do that: rstEvents!StartDateTime = !DateScheduled + TimeValue(rstEvents!StartDateTime) Also, TimeValue(Now()) can replaced with Time(). /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Robert Sendt: 14. juli 2015 02:23 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Error #: 3709 "The search key was not found in any record" Ok so I'm at my wits-end here; for some reason I have a customer that is intermittently getting the above error. 1) There is no corrupted records, I can add and or delete records, I can delete all records, etc. 2) There are no primary keys on memo fields. 3) I can compact and repair both back end db's with no problem 4) I have run both db's through JetCOMP. I simply cannot find any problems with the data or structure of these databases. MS Access 2007 .mde front end Ms Access 2002 .mdb back end (both) One is secured and the other is not. Here is the code (I know it's not very efficient but...:-) ) that is generating the error maybe 2 to 3 times a day. (this function is called every 5-10 minutes during a 10 hour day) *********************************************************************************************** '--------------------------------------------------------------------------------------- '. Procedure : SyncroniseEventTbl '. DateTime : 11/15/2006 19:57 '. Author : Robert '. Revision : ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 different db's) '--------------------------------------------------------------------------------------- ' Public Function SyncroniseEventTbl() As Boolean Dim db As DAO.Database Dim rstSCTbl As DAO.Recordset Dim rstEvents As DAO.Recordset Dim lRN As Long Dim dOldDate As Date Dim dNewDate As Date Dim dSchTimeStart As Date Dim dSchTimeEnd As Date 'Let do a quick orphan kill run before we start 10 On Error GoTo HandleErr 20 DeleteScheduleEventOrphan 30 Set db = CurrentDb 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", dbOpenForwardOnly) 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) ''Debug.Print "Syncing Tbls" 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." 80 With rstSCTbl 90 If .RecordCount > 0 Then 100 DoEvents 110 Do Until .EOF 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." 130 CalendarLocked = False 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) 150 If rstEvents.NoMatch = True Then 'Lets add the event to the table 160 If IsNull(!DateScheduled) = True Then 'We don't want to add any none scheduled items GoTo MoveHere: 170 End If 180 rstEvents.AddNew 190 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) 200 rstEvents!StartDateTime = DateFromString(!DateScheduled, Nz(!TimeScheduledIn, TimeValue(Now()))) 'dSchTimeStart 210 rstEvents!EndDateTime = DateFromString(!DateScheduled, Nz(!TimeScheduledout, TimeValue(Now()))) 'dSchTimeEnd 220 rstEvents!Subject = GetHeader(rstSCTbl) 230 rstEvents!Location = !Address & "; " & !City & "; Contact # " & Format(!CPhone, "@@@-@@@-@@@@") 240 rstEvents!Body = Left(!CustomerComplaints, 254) 250 rstEvents!Created = Now 260 rstEvents!BusyStatus = Nz(!EventBusyStatus, 2) 270 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) 280 rstEvents!CustomPropertiesXMLData = "" 290 rstEvents!ReminderMinutesBeforeStart = 15 300 rstEvents!RemainderSoundFile = "" 310 rstEvents!RepairNumber = !RepairNumber 320 rstEvents.Update 330 Else ' We will Synchronize below 'Make sure we delete any unscheduled work orders 340 If IsNull(!DateScheduled) = True Then 350 rstEvents.Delete GoTo MoveHere: 360 End If 370 rstEvents.Edit 380 If CalendarSyncTech = True Then 390 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) 400 End If 'added 07/08/08 'Need to check for any discrepancies between graphic schedule date and system date 410 If DateValue(rstEvents!StartDateTime) <> DateValue(!DateScheduled) Then 420 dOldDate = DateValue(rstEvents!StartDateTime) 430 rstEvents!StartDateTime = DateFromString(!DateScheduled, TimeValue(rstEvents!StartDateTime)) 440 dNewDate = DateValue(!DateScheduled) 450 rstEvents!EndDateTime = DateFromString(!DateScheduled, TimeValue(rstEvents!EndDateTime)) 460 WriteSysNotes !RepairNumber, " Auto Schedule Sync. System: From " & dOldDate & " To: " & dNewDate, , True 470 End If 480 If m_bCalendarSyncTimes = True Then 490 rstEvents!StartDateTime = DateFromString(!DateScheduled, !TimeScheduledIn) 500 rstEvents!EndDateTime = DateFromString(!DateScheduled, !TimeScheduledout) 510 End If 520 If CalendarUpdateHeaderInfo = True Then 530 rstEvents!Subject = GetHeader(rstSCTbl) 540 End If 550 rstEvents!Location = !Address & "; " & !City & "; Contact # " & Format(!CPhone, "@@@-@@@-@@@@") 560 rstEvents!Modified = Now 570 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) 580 rstEvents!ReminderMinutesBeforeStart = 15 590 rstEvents!RemainderSoundFile = "" 600 rstEvents.Update MoveHere: 610 End If 620 .MoveNext ' DoEvents 'This was slowing down the above code BIG TIME 11/05/11 630 Loop 640 End If 650 End With 'Let do a quick orphan kill run again 660 DeleteScheduleEventOrphan 670 PMIncrement 1, "Opening and Retrieving Schedule data ... Complete" 680 PM True ExitHere: 690 On Error Resume Next 700 rstSCTbl.Close 710 Set rstSCTbl = Nothing 720 rstEvents.Close 730 Set rstEvents = Nothing 740 rstZones.Close 750 Set rstZones = Nothing 760 db.Close 770 Set db = Nothing 780 Exit Function HandleErr: 790 Select Case Err.Number Case 3167, 94 ' A record was deleted and Null value found 800 Resume Next 810 Case 3218, 3624, 3197, 3260, 3187 820 frm.Caption = "Schedule Navigator..." & " Last Graphic Refresh On: " & Now & " Failed : A User Has Records Locked, Please Wait " 830 CalendarLocked = True 840 SendGlobalRefresh 850 Case 3420, 3021, 91 860 MsgBox "Sorry, The Graphic Calendar System has encountered a problem, and must close.", , "Error: " & Err.Number 870 rstSCTbl.Close 880 Set rstSCTbl = Nothing 890 rstEvents.Close 900 Set rstEvents = Nothing 910 rstZones.Close 920 Set rstZones = Nothing 930 db.Close 940 Set db = Nothing 950 frm.Err.Raise 159753 'This causes a Application-defined or object-defined error that moves to the starting proc 960 CloseScheduleAndReOpen 970 Case -2147352567 ' Deleted record 980 Resume Next 990 Case Else 'MsgBox Err.BuildError("clsCalendar:SyncroniseEventTbl"), vbCritical, "Un-Expected Error" 1000 MsgBox "There has been an error in Procedure: clsCalendar:SyncroniseEventTbl " & vbCrLf & _ "Error Number: " & Err.Number & vbCrLf & "Error Description: " & Err.Description & " On Line: " & Erl() & vbCrLf & _ " Please Contact " & "The SoftwareVendor" & " for more help regarding this error. ", vbCritical, "Un-Expected Error" 1010 Call ErrorRecordSystem(Err.Number, Err.Description & " On Line: " & Erl(), Now, "Un-Expected Error In Proc; " & "clsCalendar:SyncroniseEventTbl", CurrentUser, Err) 1020 Resume ExitHere 1030 End Select End Function ************************************************************************************************** From bensonforums at gmail.com Tue Jul 14 04:59:05 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 14 Jul 2015 05:59:05 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <000301d0bdd0$989b5bb0$c9d21310$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <000301d0bdd0$989b5bb0$c9d21310$@com> Message-ID: That did not answer my question, so I guess neither of us have profited from my suggestion. ;) On Jul 13, 2015 9:02 PM, "Robert" wrote: > Some days there are no reports of errors (not sure if they are just not > sending them or if they just are not happening), but most days I get at > least 1 error report. > > WBR > Robert > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 13, 2015 8:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any > record" > > On Mon, Jul 13, 2015 at 8:45 PM, Bill Benson > wrote: > > > Will you get the error no matter how many times the routine is run in > > a session? You might succeed in trapping for it, then waiting a couple > > seconds, before repeating the operation that received the error. Not > > ideal, but a coping mechanism... if it works. > > > > > > > -- > 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 Tue Jul 14 13:14:48 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 14 Jul 2015 11:14:48 -0700 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <004501d0bdcb$36e89f90$a4b9deb0$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> Message-ID: I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that is > intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I can > delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is called > every 5-10 minutes during a 10 hour day) > > > > > *********************************************************************************************** > > > '--------------------------------------------------------------------------------------- > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------------------------- > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ************************************************************************************************** > > > From marksimms at verizon.net Tue Jul 14 20:34:44 2015 From: marksimms at verizon.net (Mark Simms) Date: Tue, 14 Jul 2015 21:34:44 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <004501d0bdcb$36e89f90$a4b9deb0$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> Message-ID: <002b01d0be9e$6e1451c0$4a3cf540$@net> Nice code !! But why use line numbers ? > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Robert > Sent: Monday, July 13, 2015 8:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Error #: 3709 "The search key was not found in any > record" > > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is > not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is called > every 5-10 minutes during a 10 hour day) > > > > *********************************************************************** > ************************ > > '---------------------------------------------------------------------- > ----------------- > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > '---------------------------------------------------------------------- > ----------------- > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to > add any none scheduled items > GoTo MoveHere: > 170 End If > > 180 rstEvents.AddNew > 190 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) > 200 rstEvents!StartDateTime = DateFromString(!DateScheduled, > Nz(!TimeScheduledIn, TimeValue(Now()))) 'dSchTimeStart > 210 rstEvents!EndDateTime = DateFromString(!DateScheduled, > Nz(!TimeScheduledout, TimeValue(Now()))) 'dSchTimeEnd > 220 rstEvents!Subject = GetHeader(rstSCTbl) > 230 rstEvents!Location = !Address & "; " & !City & "; Contact > # " & Format(!CPhone, "@@@-@@@-@@@@") > 240 rstEvents!Body = Left(!CustomerComplaints, 254) > 250 rstEvents!Created = Now > 260 rstEvents!BusyStatus = Nz(!EventBusyStatus, 2) > 270 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) > 280 rstEvents!CustomPropertiesXMLData = "" > 290 rstEvents!ReminderMinutesBeforeStart = 15 > 300 rstEvents!RemainderSoundFile = "" > 310 rstEvents!RepairNumber = !RepairNumber > 320 rstEvents.Update > > 330 Else ' We will Synchronize below > > 'Make sure we delete any unscheduled work orders > 340 If IsNull(!DateScheduled) = True Then > 350 rstEvents.Delete > GoTo MoveHere: > 360 End If > > > 370 rstEvents.Edit > 380 If CalendarSyncTech = True Then > 390 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) > 400 End If > > 'added 07/08/08 > 'Need to check for any discrepancies between graphic > schedule date and system date > 410 If DateValue(rstEvents!StartDateTime) <> > DateValue(!DateScheduled) Then > 420 dOldDate = DateValue(rstEvents!StartDateTime) > 430 rstEvents!StartDateTime = > DateFromString(!DateScheduled, TimeValue(rstEvents!StartDateTime)) > 440 dNewDate = DateValue(!DateScheduled) > 450 rstEvents!EndDateTime = DateFromString(!DateScheduled, > TimeValue(rstEvents!EndDateTime)) > 460 WriteSysNotes !RepairNumber, " Auto Schedule Sync. > System: From " & dOldDate & " To: " & dNewDate, , True > 470 End If > > 480 If m_bCalendarSyncTimes = True Then > 490 rstEvents!StartDateTime = > DateFromString(!DateScheduled, !TimeScheduledIn) > 500 rstEvents!EndDateTime = DateFromString(!DateScheduled, > !TimeScheduledout) > 510 End If > > 520 If CalendarUpdateHeaderInfo = True Then > 530 rstEvents!Subject = GetHeader(rstSCTbl) > 540 End If > > 550 rstEvents!Location = !Address & "; " & !City & "; > Contact # " & Format(!CPhone, "@@@-@@@-@@@@") > 560 rstEvents!Modified = Now > 570 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) > 580 rstEvents!ReminderMinutesBeforeStart = 15 > 590 rstEvents!RemainderSoundFile = "" > 600 rstEvents.Update > MoveHere: > 610 End If > 620 .MoveNext > ' DoEvents 'This was slowing down the above code BIG TIME > 11/05/11 > 630 Loop > 640 End If > 650 End With > > 'Let do a quick orphan kill run again > 660 DeleteScheduleEventOrphan > > 670 PMIncrement 1, "Opening and Retrieving Schedule data ... > Complete" > 680 PM True > > ExitHere: > 690 On Error Resume Next > 700 rstSCTbl.Close > 710 Set rstSCTbl = Nothing > 720 rstEvents.Close > 730 Set rstEvents = Nothing > 740 rstZones.Close > 750 Set rstZones = Nothing > 760 db.Close > 770 Set db = Nothing > 780 Exit Function > HandleErr: > 790 Select Case Err.Number > Case 3167, 94 ' A record was deleted and Null value found > 800 Resume Next > 810 Case 3218, 3624, 3197, 3260, 3187 > 820 frm.Caption = "Schedule Navigator..." & " Last Graphic > Refresh On: " & Now & " Failed : A User Has Records Locked, Please Wait > " > 830 CalendarLocked = True > 840 SendGlobalRefresh > 850 Case 3420, 3021, 91 > 860 MsgBox "Sorry, The Graphic Calendar System has encountered a > problem, and must close.", , "Error: " & Err.Number > 870 rstSCTbl.Close > 880 Set rstSCTbl = Nothing > 890 rstEvents.Close > 900 Set rstEvents = Nothing > 910 rstZones.Close > 920 Set rstZones = Nothing > 930 db.Close > 940 Set db = Nothing > 950 frm.Err.Raise 159753 'This causes a Application-defined > or object-defined error that moves to the starting proc > 960 CloseScheduleAndReOpen > 970 Case -2147352567 ' Deleted record > 980 Resume Next > 990 Case Else > 'MsgBox Err.BuildError("clsCalendar:SyncroniseEventTbl"), > vbCritical, "Un-Expected Error" > 1000 MsgBox "There has been an error in Procedure: > clsCalendar:SyncroniseEventTbl " & vbCrLf & _ > "Error Number: " & Err.Number & vbCrLf & "Error > Description: " & Err.Description & " On Line: " & Erl() & vbCrLf & _ > " Please Contact " & "The SoftwareVendor" & " for more > help regarding this error. ", vbCritical, "Un-Expected Error" > 1010 Call ErrorRecordSystem(Err.Number, Err.Description & " On > Line: " & Erl(), Now, "Un-Expected Error In Proc; " & > "clsCalendar:SyncroniseEventTbl", CurrentUser, Err) > 1020 Resume ExitHere > 1030 End Select > End Function > *********************************************************************** > *************************** > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Jul 14 22:45:00 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 14 Jul 2015 20:45:00 -0700 Subject: [AccessD] takk.space Message-ID: <4634082CD89C486996E179685D539185@HAL9007> Dear Lists: Please forgive the OT. But my son Noah (will be a sophomore Physics major at Cal Poly this fall - but a pretty good code jockey in his own right) and two colleagues - one in Vancouver and one in Phoenix - are putting together a content aggregator site to compete with reddit and like sites. But they have what they think are some competitive advantages. The site is under development - Noah's doing a lot of the programming using GoLang - Google's Go language. Summer's a good time for this project - he doesn't really need to eat and sleep. :) They've got big plans. Incorporate soon and make it a real company. Get advertisers and make some dough. Anyway, I'm trying to generate some early sign ups - there's nothing on the site at the moment but I've subscribed and will get notifications as they make progress. You can sign up at http://takk.space So if you're curious, sign up. Maybe...who knows...could be another reddit... r _____ From: Noah Sutton-Smolin [mailto:noahsutsmo at gmail.com] Sent: Tuesday, July 14, 2015 8:23 PM To: Rocky Smolin Subject: takk.space http://takk.space/ https://www.reddit.com/r/Blackout2015/comments/3dc6if/were_launching_a_new_s ite_takkspace_and_we_want/ https://www.reddit.com/r/takk_space/comments/3dby9m/goodbye_reddit_hello_tak kspace/ From robert at servicexp.com Wed Jul 15 05:41:45 2015 From: robert at servicexp.com (Robert) Date: Wed, 15 Jul 2015 06:41:45 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> Message-ID: <004601d0beea$d9e45930$8dad0b90$@com> All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Wed Jul 15 05:45:35 2015 From: robert at servicexp.com (Robert) Date: Wed, 15 Jul 2015 06:45:35 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <002b01d0be9e$6e1451c0$4a3cf540$@net> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <002b01d0be9e$6e1451c0$4a3cf540$@net> Message-ID: <004701d0beeb$61f40b40$25dc21c0$@com> Trying to narrow down which line is actually throwing the error (there are 2 tables involved), so the line number is passed to the error function via Erl(), which is included in the error report. WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, July 14, 2015 9:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" Nice code !! But why use line numbers ? > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Robert > Sent: Monday, July 13, 2015 8:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Error #: 3709 "The search key was not found in any > record" > > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is > not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > ********************************************************************** > * > ************************ > > '--------------------------------------------------------------------- > - > ----------------- > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > '--------------------------------------------------------------------- > - > ----------------- > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to > add any none scheduled items > GoTo MoveHere: > 170 End If > > 180 rstEvents.AddNew > 190 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) > 200 rstEvents!StartDateTime = DateFromString(!DateScheduled, > Nz(!TimeScheduledIn, TimeValue(Now()))) 'dSchTimeStart > 210 rstEvents!EndDateTime = DateFromString(!DateScheduled, > Nz(!TimeScheduledout, TimeValue(Now()))) 'dSchTimeEnd > 220 rstEvents!Subject = GetHeader(rstSCTbl) > 230 rstEvents!Location = !Address & "; " & !City & "; Contact > # " & Format(!CPhone, "@@@-@@@-@@@@") > 240 rstEvents!Body = Left(!CustomerComplaints, 254) > 250 rstEvents!Created = Now > 260 rstEvents!BusyStatus = Nz(!EventBusyStatus, 2) > 270 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) > 280 rstEvents!CustomPropertiesXMLData = "" > 290 rstEvents!ReminderMinutesBeforeStart = 15 > 300 rstEvents!RemainderSoundFile = "" > 310 rstEvents!RepairNumber = !RepairNumber > 320 rstEvents.Update > > 330 Else ' We will Synchronize below > > 'Make sure we delete any unscheduled work orders > 340 If IsNull(!DateScheduled) = True Then > 350 rstEvents.Delete > GoTo MoveHere: > 360 End If > > > 370 rstEvents.Edit > 380 If CalendarSyncTech = True Then > 390 rstEvents!ScheduleID = MatchScheduleID(!PreferredName) > 400 End If > > 'added 07/08/08 > 'Need to check for any discrepancies between graphic > schedule date and system date > 410 If DateValue(rstEvents!StartDateTime) <> > DateValue(!DateScheduled) Then > 420 dOldDate = DateValue(rstEvents!StartDateTime) > 430 rstEvents!StartDateTime = > DateFromString(!DateScheduled, TimeValue(rstEvents!StartDateTime)) > 440 dNewDate = DateValue(!DateScheduled) > 450 rstEvents!EndDateTime = DateFromString(!DateScheduled, > TimeValue(rstEvents!EndDateTime)) > 460 WriteSysNotes !RepairNumber, " Auto Schedule Sync. > System: From " & dOldDate & " To: " & dNewDate, , True > 470 End If > > 480 If m_bCalendarSyncTimes = True Then > 490 rstEvents!StartDateTime = > DateFromString(!DateScheduled, !TimeScheduledIn) > 500 rstEvents!EndDateTime = DateFromString(!DateScheduled, > !TimeScheduledout) > 510 End If > > 520 If CalendarUpdateHeaderInfo = True Then > 530 rstEvents!Subject = GetHeader(rstSCTbl) > 540 End If > > 550 rstEvents!Location = !Address & "; " & !City & "; > Contact # " & Format(!CPhone, "@@@-@@@-@@@@") > 560 rstEvents!Modified = Now > 570 rstEvents!ImportanceLevel = Nz(!EventImportanceLevel, 2) > 580 rstEvents!ReminderMinutesBeforeStart = 15 > 590 rstEvents!RemainderSoundFile = "" > 600 rstEvents.Update > MoveHere: > 610 End If > 620 .MoveNext > ' DoEvents 'This was slowing down the above code BIG TIME > 11/05/11 > 630 Loop > 640 End If > 650 End With > > 'Let do a quick orphan kill run again > 660 DeleteScheduleEventOrphan > > 670 PMIncrement 1, "Opening and Retrieving Schedule data ... > Complete" > 680 PM True > > ExitHere: > 690 On Error Resume Next > 700 rstSCTbl.Close > 710 Set rstSCTbl = Nothing > 720 rstEvents.Close > 730 Set rstEvents = Nothing > 740 rstZones.Close > 750 Set rstZones = Nothing > 760 db.Close > 770 Set db = Nothing > 780 Exit Function > HandleErr: > 790 Select Case Err.Number > Case 3167, 94 ' A record was deleted and Null value found > 800 Resume Next > 810 Case 3218, 3624, 3197, 3260, 3187 > 820 frm.Caption = "Schedule Navigator..." & " Last Graphic > Refresh On: " & Now & " Failed : A User Has Records Locked, Please > Wait " > 830 CalendarLocked = True > 840 SendGlobalRefresh > 850 Case 3420, 3021, 91 > 860 MsgBox "Sorry, The Graphic Calendar System has encountered a > problem, and must close.", , "Error: " & Err.Number > 870 rstSCTbl.Close > 880 Set rstSCTbl = Nothing > 890 rstEvents.Close > 900 Set rstEvents = Nothing > 910 rstZones.Close > 920 Set rstZones = Nothing > 930 db.Close > 940 Set db = Nothing > 950 frm.Err.Raise 159753 'This causes a Application-defined > or object-defined error that moves to the starting proc > 960 CloseScheduleAndReOpen > 970 Case -2147352567 ' Deleted record > 980 Resume Next > 990 Case Else > 'MsgBox Err.BuildError("clsCalendar:SyncroniseEventTbl"), > vbCritical, "Un-Expected Error" > 1000 MsgBox "There has been an error in Procedure: > clsCalendar:SyncroniseEventTbl " & vbCrLf & _ > "Error Number: " & Err.Number & vbCrLf & "Error > Description: " & Err.Description & " On Line: " & Erl() & vbCrLf & _ > " Please Contact " & "The SoftwareVendor" & " for more > help regarding this error. ", vbCritical, "Un-Expected Error" > 1010 Call ErrorRecordSystem(Err.Number, Err.Description & " On > Line: " & Erl(), Now, "Un-Expected Error In Proc; " & > "clsCalendar:SyncroniseEventTbl", CurrentUser, Err) > 1020 Resume ExitHere > 1030 End Select > End Function > ********************************************************************** > * > *************************** > > > > -- > 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 robert at servicexp.com Wed Jul 15 06:03:45 2015 From: robert at servicexp.com (Robert) Date: Wed, 15 Jul 2015 07:03:45 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <004601d0beea$d9e45930$8dad0b90$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> Message-ID: <004d01d0beed$ec5f0080$c51d0180$@com> I looked at the code, and there is no MoveLast only MoveNext as the recordset is dbOpenForwardOnly. Is it not good to use dbOpenForwardOnly? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 15, 2015 6:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- 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 bensonforums at gmail.com Wed Jul 15 06:05:19 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 15 Jul 2015 07:05:19 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <004601d0beea$d9e45930$8dad0b90$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> Message-ID: I've never seen it be a gotcha. But i did note you don't test if rstevents! Startdatetime before usingbit in a comparison. The only thung i see that relates to a search item bot being found is rstEvents.FindFirst Are you sure something is not null there? All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- 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 bensonforums at gmail.com Wed Jul 15 06:07:16 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 15 Jul 2015 07:07:16 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> Message-ID: Gmail cut me off. Sentence Meant To Be i did note you don't test if rstevents! Startdatetime is null before using it in a comparison. On Jul 15, 2015 7:06 AM, "Bill Benson" wrote: > I've never seen it be a gotcha. > > But i did note you don't test if rstevents! Startdatetime before usingbit > in a comparison. > > The only thung i see that relates to a search item bot being found is > > rstEvents.FindFirst > > Are you sure something is not null there? > All this time I didn't know about the MoveFirst "gotcha", and I don't think > I've ever run into that, but I will make the necessary changes. I did know > about the moving through the record set (MoveLast then MoveFirst) before > retrieving RecoundCount for an accurate Record Count. > > All that said, do you think the omission would cause a 3709 error, and not > just a No Record error? > > > WBR > Robert > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Tuesday, July 14, 2015 2:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any > record" > > I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can > potentially be true when you don't start on the first record, and Record > Count in a DAO recordset can return -1 if you don't movelast then > movefirst > before calling it. > > Charlotte Foust > (916) 206-4336 > > On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > > > Ok so I'm at my wits-end here; for some reason I have a customer that > > is intermittently getting the above error. > > > > 1) There is no corrupted records, I can add and or delete records, I > > can delete all records, etc. > > 2) There are no primary keys on memo fields. > > 3) I can compact and repair both back end db's with no problem > > 4) I have run both db's through JetCOMP. > > > > I simply cannot find any problems with the data or structure of these > > databases. > > > > MS Access 2007 .mde front end > > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > > > Here is the code (I know it's not very efficient but...:-) ) that is > > generating the error maybe 2 to 3 times a day. (this function is > > called every 5-10 minutes during a 10 hour day) > > > > > > > > > > ********************************************************************** > > ************************* > > > > > > '--------------------------------------------------------------------- > > ------------------ > > '. Procedure : SyncroniseEventTbl > > '. DateTime : 11/15/2006 19:57 > > '. Author : Robert > > '. Revision : > > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > > different db's) > > > > '--------------------------------------------------------------------- > > ------------------ > > ' > > Public Function SyncroniseEventTbl() As Boolean > > Dim db As DAO.Database > > Dim rstSCTbl As DAO.Recordset > > Dim rstEvents As DAO.Recordset > > Dim lRN As Long > > Dim dOldDate As Date > > Dim dNewDate As Date > > > > Dim dSchTimeStart As Date > > Dim dSchTimeEnd As Date > > > > 'Let do a quick orphan kill run before we start > > 10 On Error GoTo HandleErr > > 20 DeleteScheduleEventOrphan > > > > 30 Set db = CurrentDb > > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > > dbOpenForwardOnly) > > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > > ''Debug.Print "Syncing Tbls" > > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > > 80 With rstSCTbl > > 90 If .RecordCount > 0 Then > > 100 DoEvents > > 110 Do Until .EOF > > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > > 130 CalendarLocked = False > > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > > table > > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > > any none scheduled items > > GoTo MoveHere: > > 170 End If > > > > > > > > > > ********************************************************************** > > **************************** > > > > > > > -- > 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 df.waters at outlook.com Wed Jul 15 09:26:00 2015 From: df.waters at outlook.com (Dan Waters) Date: Wed, 15 Jul 2015 09:26:00 -0500 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: <004d01d0beed$ec5f0080$c51d0180$@com> References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> <004d01d0beed$ec5f0080$c51d0180$@com> Message-ID: Hi Robert, I haven't been following this too closely, but I do want to suggest that you not walk through a recordset using dbOpenForwardOnly. After much experience with problems I just couldn't solve, I gave up on dbOpenForwardOnly except to look for a yes or no answer in a large recordset. Now, if I need to walk through a recordset, I use dbOpenSnapshot (or dbOpenDynaset). So I would say that you should replace all instances of dbOpenForwardOnly with dbOpenSnapshot if you need to walk through a read-only recordset. Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 15, 2015 6:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I looked at the code, and there is no MoveLast only MoveNext as the recordset is dbOpenForwardOnly. Is it not good to use dbOpenForwardOnly? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 15, 2015 6:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- 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 Wed Jul 15 13:38:34 2015 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jul 2015 18:38:34 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: References: Message-ID: Hi Jim et al I reported this as a bug for Access 2016 in the "Office 16 Bug Bash": https://www.yammer.com/itpronetwork/#/threads/show?threadId=560365704 A free login may be required. /gustav ________________________________________ Fra: AccessD p? vegne af Gustav Brock Sendt: 10. juli 2015 14:59 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA Hi Jim Thanks, but the link to the MS source seems to be broken. Still, I cannot imagine what a second parameter of CDec could specify? Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 10. juli 2015 14:23 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] CDec behaviour in SQL and VBA Found it: http://rdsrc.us/Nmczv0 Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, July 10, 2015 08:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDec behaviour in SQL and VBA Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav From gustav at cactus.dk Wed Jul 15 13:57:56 2015 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jul 2015 18:57:56 +0000 Subject: [AccessD] CDec behaviour in SQL and VBA In-Reply-To: References: , Message-ID: Hi all Dennis Wilmar of MS tells, that this is a confirmed bug - not up to be removed: https://support.microsoft.com/en-us/kb/225931 /gustav ________________________________________ Fra: AccessD p? vegne af Gustav Brock Sendt: 15. juli 2015 20:38 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA Hi Jim et al I reported this as a bug for Access 2016 in the "Office 16 Bug Bash": https://www.yammer.com/itpronetwork/#/threads/show?threadId=560365704 A free login may be required. /gustav ________________________________________ Fra: AccessD p? vegne af Gustav Brock Sendt: 10. juli 2015 14:59 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] CDec behaviour in SQL and VBA Hi Jim Thanks, but the link to the MS source seems to be broken. Still, I cannot imagine what a second parameter of CDec could specify? Setting the count of decimals seems not to be the purpose as the result of the conversion always is zero. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 10. juli 2015 14:23 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] CDec behaviour in SQL and VBA Found it: http://rdsrc.us/Nmczv0 Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, July 10, 2015 08:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CDec behaviour in SQL and VBA Yes and no. When your using SQL, it runs through an expression service while VBA does not. The procedure calls in the expression service can be different than what's in VBA and there have been minor differences over the years in that area (SQL vs VBA). I had a long drawn out thread with Bret Spalding on EE at one time. I'll see if I can't dig it out. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, July 10, 2015 04:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] CDec behaviour in SQL and VBA Hi all Weird. I know Decimal is claimed to be buggy, but this is beyond "buggy", I think: http://stackoverflow.com/questions/31327402/cdec-in-access-sql-is-not-behavi ng-the-same-as-when-used-from-access-vba I can reproduce the described behaviour in Access 2013. /gustav From robert at servicexp.com Wed Jul 15 18:53:00 2015 From: robert at servicexp.com (Robert) Date: Wed, 15 Jul 2015 19:53:00 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> Message-ID: <005201d0bf59$6280ff00$2782fd00$@com> Thanks, I have added some checks there. WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Wednesday, July 15, 2015 7:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I've never seen it be a gotcha. But i did note you don't test if rstevents! Startdatetime before usingbit in a comparison. The only thung i see that relates to a search item bot being found is rstEvents.FindFirst Are you sure something is not null there? All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- 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 robert at servicexp.com Wed Jul 15 18:54:07 2015 From: robert at servicexp.com (Robert) Date: Wed, 15 Jul 2015 19:54:07 -0400 Subject: [AccessD] Error #: 3709 "The search key was not found in any record" In-Reply-To: References: <1436561608.458652674@f433.i.mail.ru> <1436565849.143472639@f184.i.mail.ru> <004501d0bdcb$36e89f90$a4b9deb0$@com> <004601d0beea$d9e45930$8dad0b90$@com> <004d01d0beed$ec5f0080$c51d0180$@com> Message-ID: <005301d0bf59$8a1682b0$9e438810$@com> I will take your advice and switch the record to dbOpenDynaset and all others to dbOpenSnapshot. WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 15, 2015 10:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" Hi Robert, I haven't been following this too closely, but I do want to suggest that you not walk through a recordset using dbOpenForwardOnly. After much experience with problems I just couldn't solve, I gave up on dbOpenForwardOnly except to look for a yes or no answer in a large recordset. Now, if I need to walk through a recordset, I use dbOpenSnapshot (or dbOpenDynaset). So I would say that you should replace all instances of dbOpenForwardOnly with dbOpenSnapshot if you need to walk through a read-only recordset. Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 15, 2015 6:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I looked at the code, and there is no MoveLast only MoveNext as the recordset is dbOpenForwardOnly. Is it not good to use dbOpenForwardOnly? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Wednesday, July 15, 2015 6:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" All this time I didn't know about the MoveFirst "gotcha", and I don't think I've ever run into that, but I will make the necessary changes. I did know about the moving through the record set (MoveLast then MoveFirst) before retrieving RecoundCount for an accurate Record Count. All that said, do you think the omission would cause a 3709 error, and not just a No Record error? WBR Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, July 14, 2015 2:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error #: 3709 "The search key was not found in any record" I don't see MoveFirst in there anywhere, just a MoveLast. EOF and BOF can potentially be true when you don't start on the first record, and Record Count in a DAO recordset can return -1 if you don't movelast then movefirst before calling it. Charlotte Foust (916) 206-4336 On Mon, Jul 13, 2015 at 5:22 PM, Robert wrote: > Ok so I'm at my wits-end here; for some reason I have a customer that > is intermittently getting the above error. > > 1) There is no corrupted records, I can add and or delete records, I > can delete all records, etc. > 2) There are no primary keys on memo fields. > 3) I can compact and repair both back end db's with no problem > 4) I have run both db's through JetCOMP. > > I simply cannot find any problems with the data or structure of these > databases. > > MS Access 2007 .mde front end > Ms Access 2002 .mdb back end (both) One is secured and the other is not. > > Here is the code (I know it's not very efficient but...:-) ) that is > generating the error maybe 2 to 3 times a day. (this function is > called every 5-10 minutes during a 10 hour day) > > > > > ********************************************************************** > ************************* > > > '--------------------------------------------------------------------- > ------------------ > '. Procedure : SyncroniseEventTbl > '. DateTime : 11/15/2006 19:57 > '. Author : Robert > '. Revision : > ' Purpose : Synchronize The ServiceCall Table and The Event Table (2 > different db's) > > '--------------------------------------------------------------------- > ------------------ > ' > Public Function SyncroniseEventTbl() As Boolean > Dim db As DAO.Database > Dim rstSCTbl As DAO.Recordset > Dim rstEvents As DAO.Recordset > Dim lRN As Long > Dim dOldDate As Date > Dim dNewDate As Date > > Dim dSchTimeStart As Date > Dim dSchTimeEnd As Date > > 'Let do a quick orphan kill run before we start > 10 On Error GoTo HandleErr > 20 DeleteScheduleEventOrphan > > 30 Set db = CurrentDb > 40 Set rstSCTbl = db.OpenRecordset("qryselShedulerViewCal", > dbOpenForwardOnly) > 50 Set rstZones = db.OpenRecordset("qrySelZones", dbOpenDynaset) > 60 Set rstEvents = db.OpenRecordset("Event", dbOpenDynaset) > ''Debug.Print "Syncing Tbls" > 70 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 80 With rstSCTbl > 90 If .RecordCount > 0 Then > 100 DoEvents > 110 Do Until .EOF > 120 PMIncrement 1, "Opening and Retrieving Schedule data ..." > 130 CalendarLocked = False > 140 rstEvents.FindFirst "RepairNumber= " & CLng(!RepairNumber) > > 150 If rstEvents.NoMatch = True Then 'Lets add the event to the > table > 160 If IsNull(!DateScheduled) = True Then 'We don't want to add > any none scheduled items > GoTo MoveHere: > 170 End If > > > > > ********************************************************************** > **************************** > > > -- 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 bensonforums at gmail.com Thu Jul 16 18:17:01 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 16 Jul 2015 19:17:01 -0400 Subject: [AccessD] takk.space In-Reply-To: <4634082CD89C486996E179685D539185@HAL9007> References: <4634082CD89C486996E179685D539185@HAL9007> Message-ID: Seems neat Rocky. Now sure I liked the mixture of "new horizon" and "dawn". Seems cliche-ish and a misquote at the same time. Dawns appear on a horizon, but do horizons really dawn? But who cares what I think, there is a nice poem that leads with the expression. https://goo.gl/sjmDyu And here is a hard hitting heavy metal tune with the title Dawning of a new horizon. https://youtu.be/9TnfyHxnNqc Rock on Noah! On Jul 14, 2015 11:46 PM, "Rocky Smolin" wrote: > Dear Lists: > > Please forgive the OT. But my son Noah (will be a sophomore Physics major > at Cal Poly this fall - but a pretty good code jockey in his own right) and > two colleagues - one in Vancouver and one in Phoenix - are putting together > a content aggregator site to compete with reddit and like sites. But they > have what they think are some competitive advantages. > > The site is under development - Noah's doing a lot of the programming using > GoLang - Google's Go language. Summer's a good time for this project - he > doesn't really need to eat and sleep. :) > > They've got big plans. Incorporate soon and make it a real company. Get > advertisers and make some dough. > > Anyway, I'm trying to generate some early sign ups - there's nothing on the > site at the moment but I've subscribed and will get notifications as they > make progress. You can sign up at http://takk.space > > So if you're curious, sign up. Maybe...who knows...could be another > reddit... > > r > > > > > _____ > > From: Noah Sutton-Smolin [mailto:noahsutsmo at gmail.com] > Sent: Tuesday, July 14, 2015 8:23 PM > To: Rocky Smolin > Subject: takk.space > > > http://takk.space/ > > > > https://www.reddit.com/r/Blackout2015/comments/3dc6if/were_launching_a_new_s > ite_takkspace_and_we_want/ > > > > https://www.reddit.com/r/takk_space/comments/3dby9m/goodbye_reddit_hello_tak > kspace/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Jul 16 22:56:20 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 16 Jul 2015 20:56:20 -0700 Subject: [AccessD] takk.space In-Reply-To: References: <4634082CD89C486996E179685D539185@HAL9007> Message-ID: <5AC07EF0F0984656BD9B71FA56D1C6E4@HAL9007> Nice poem. Dreadful music. :) But then I just did a two hour gig this afternoon with my Afro-Cuban band covering mostly Buena Vista Social Club tunes. Now THAT's music! R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Thursday, July 16, 2015 4:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] takk.space Seems neat Rocky. Now sure I liked the mixture of "new horizon" and "dawn". Seems cliche-ish and a misquote at the same time. Dawns appear on a horizon, but do horizons really dawn? But who cares what I think, there is a nice poem that leads with the expression. https://goo.gl/sjmDyu And here is a hard hitting heavy metal tune with the title Dawning of a new horizon. https://youtu.be/9TnfyHxnNqc Rock on Noah! On Jul 14, 2015 11:46 PM, "Rocky Smolin" wrote: > Dear Lists: > > Please forgive the OT. But my son Noah (will be a sophomore Physics > major at Cal Poly this fall - but a pretty good code jockey in his own > right) and two colleagues - one in Vancouver and one in Phoenix - are > putting together a content aggregator site to compete with reddit and > like sites. But they have what they think are some competitive advantages. > > The site is under development - Noah's doing a lot of the programming > using GoLang - Google's Go language. Summer's a good time for this > project - he doesn't really need to eat and sleep. :) > > They've got big plans. Incorporate soon and make it a real company. > Get advertisers and make some dough. > > Anyway, I'm trying to generate some early sign ups - there's nothing > on the site at the moment but I've subscribed and will get > notifications as they make progress. You can sign up at > http://takk.space > > So if you're curious, sign up. Maybe...who knows...could be another > reddit... > > r > > > > > _____ > > From: Noah Sutton-Smolin [mailto:noahsutsmo at gmail.com] > Sent: Tuesday, July 14, 2015 8:23 PM > To: Rocky Smolin > Subject: takk.space > > > http://takk.space/ > > > > https://www.reddit.com/r/Blackout2015/comments/3dc6if/were_launching_a > _new_s > ite_takkspace_and_we_want/ > > > > https://www.reddit.com/r/takk_space/comments/3dby9m/goodbye_reddit_hel > lo_tak > kspace/ > > -- > 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 Jul 17 10:26:22 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 17 Jul 2015 15:26:22 +0000 Subject: [AccessD] How to Split a Text Field into Smaller Segments In-Reply-To: <5AC07EF0F0984656BD9B71FA56D1C6E4@HAL9007> References: <4634082CD89C486996E179685D539185@HAL9007> , <5AC07EF0F0984656BD9B71FA56D1C6E4@HAL9007> Message-ID: All, In order to analyze the data that is contained in a text field, I need to break the data in the field into smaller segments. There is a vertical bar "|" separating each smaller segment. Example - AA | BBB | CDFDFF | XFEDD I would like to extract each smaller segment of the string and end up with four fields (for this example) AA BBB CDFDFF XFEDD If there an easy way to do this with VBA? Thanks, Brad From DMcGillivray at ctc.ca.gov Fri Jul 17 10:50:42 2015 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Fri, 17 Jul 2015 15:50:42 +0000 Subject: [AccessD] How to Split a Text Field into Smaller Segments In-Reply-To: References: <4634082CD89C486996E179685D539185@HAL9007> , <5AC07EF0F0984656BD9B71FA56D1C6E4@HAL9007> Message-ID: Hi Brad, Use the Split() function. It populates an array with the elements of your delimited string: MyArrayVariable = Split("","") MyArrayVariable = Split("AA|BBB|CDFF|XFEDD","|") Then you can iterate through the array as necessary. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, July 17, 2015 8:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] How to Split a Text Field into Smaller Segments All, In order to analyze the data that is contained in a text field, I need to break the data in the field into smaller segments. There is a vertical bar "|" separating each smaller segment. Example - AA | BBB | CDFDFF | XFEDD I would like to extract each smaller segment of the string and end up with four fields (for this example) AA BBB CDFDFF XFEDD If there an easy way to do this with VBA? 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 Jul 17 11:34:16 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 17 Jul 2015 16:34:16 +0000 Subject: [AccessD] How to Split a Text Field into Smaller Segments In-Reply-To: References: <4634082CD89C486996E179685D539185@HAL9007> , <5AC07EF0F0984656BD9B71FA56D1C6E4@HAL9007> , Message-ID: Don, Works GREAT! Thanks for the help. Brad ________________________________________ From: AccessD on behalf of McGillivray, Don Sent: Friday, July 17, 2015 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to Split a Text Field into Smaller Segments Hi Brad, Use the Split() function. It populates an array with the elements of your delimited string: MyArrayVariable = Split("","") MyArrayVariable = Split("AA|BBB|CDFF|XFEDD","|") Then you can iterate through the array as necessary. Don -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, July 17, 2015 8:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] How to Split a Text Field into Smaller Segments All, In order to analyze the data that is contained in a text field, I need to break the data in the field into smaller segments. There is a vertical bar "|" separating each smaller segment. Example - AA | BBB | CDFDFF | XFEDD I would like to extract each smaller segment of the string and end up with four fields (for this example) AA BBB CDFDFF XFEDD If there an easy way to do this with VBA? 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 rockysmolin at bchacc.com Sat Jul 18 09:53:43 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Jul 2015 07:53:43 -0700 Subject: [AccessD] Fields Not Displayed in Datasheet Message-ID: <193E56466B144B019D28012278E5A7EA@HAL9007> Dear List: I have a legacy application that's using Datasheet as its default view. There are about 15 fields and I need to add four more. I added the fields to the back end table, added the four new fields to the query that's the row source of the form, then copied 4 of the existing fields, and changed their labels and Control Source but they don't show up on the datasheet form view. In form view when I select all the fields (upper left select box) and click Format-->Unhide Columns, those four are not in the column list. I don't customarily develop forms in datasheet view so I'm obviously unfamiliar with something about them that's causing these four new fields not to be included on the form. Any ideas greatly appreciated. MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From paul.hartland at googlemail.com Sat Jul 18 10:03:50 2015 From: paul.hartland at googlemail.com (Paul Hartland) Date: Sat, 18 Jul 2015 16:03:50 +0100 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: <193E56466B144B019D28012278E5A7EA@HAL9007> References: <193E56466B144B019D28012278E5A7EA@HAL9007> Message-ID: As its only a datasheet view, have you tried deleting the additonal four columns from the form then dragging the four fields from the field list On 18 Jul 2015 15:54, "Rocky Smolin" wrote: > Dear List: > > I have a legacy application that's using Datasheet as its default view. > There are about 15 fields and I need to add four more. I added the fields > to the back end table, added the four new fields to the query that's the > row > source of the form, then copied 4 of the existing fields, and changed > their > labels and Control Source but they don't show up on the datasheet form > view. > > In form view when I select all the fields (upper left select box) and click > Format-->Unhide Columns, those four are not in the column list. > > I don't customarily develop forms in datasheet view so I'm obviously > unfamiliar with something about them that's causing these four new fields > not to be included on the form. > > Any ideas greatly appreciated. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > 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 Sat Jul 18 10:16:02 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Jul 2015 08:16:02 -0700 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: References: <193E56466B144B019D28012278E5A7EA@HAL9007> Message-ID: <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Paul: Hadn't tried that but did just now and no luck. :( Any WAGs on what else it might be? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Saturday, July 18, 2015 8:04 AM To: Access List Subject: Re: [AccessD] Fields Not Displayed in Datasheet As its only a datasheet view, have you tried deleting the additonal four columns from the form then dragging the four fields from the field list On 18 Jul 2015 15:54, "Rocky Smolin" wrote: > Dear List: > > I have a legacy application that's using Datasheet as its default view. > There are about 15 fields and I need to add four more. I added the > fields to the back end table, added the four new fields to the query > that's the row source of the form, then copied 4 of the existing > fields, and changed their labels and Control Source but they don't > show up on the datasheet form view. > > In form view when I select all the fields (upper left select box) and > click > Format-->Unhide Columns, those four are not in the column list. > > I don't customarily develop forms in datasheet view so I'm obviously > unfamiliar with something about them that's causing these four new > fields not to be included on the form. > > Any ideas greatly appreciated. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > 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 paul.hartland at googlemail.com Sat Jul 18 10:27:09 2015 From: paul.hartland at googlemail.com (Paul Hartland) Date: Sat, 18 Jul 2015 16:27:09 +0100 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> References: <193E56466B144B019D28012278E5A7EA@HAL9007> <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Message-ID: Ok, dont tend to bother with datasheet view myself, if you run the query on its own i assume you can see these fields, if so and this is a long shot, try removing all the fields from the form, saving it, closing access, open access, open the form and drag all the fields back on to it, i only say this as seen some strange behaviour in the past with datasheet views which is why i try to avoid it On 18 Jul 2015 16:17, "Rocky Smolin" wrote: > Paul: > > Hadn't tried that but did just now and no luck. :( > > Any WAGs on what else it might be? > > TIA > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland > Sent: Saturday, July 18, 2015 8:04 AM > To: Access List > Subject: Re: [AccessD] Fields Not Displayed in Datasheet > > As its only a datasheet view, have you tried deleting the additonal four > columns from the form then dragging the four fields from the field list On > 18 Jul 2015 15:54, "Rocky Smolin" wrote: > > > Dear List: > > > > I have a legacy application that's using Datasheet as its default view. > > There are about 15 fields and I need to add four more. I added the > > fields to the back end table, added the four new fields to the query > > that's the row source of the form, then copied 4 of the existing > > fields, and changed their labels and Control Source but they don't > > show up on the datasheet form view. > > > > In form view when I select all the fields (upper left select box) and > > click > > Format-->Unhide Columns, those four are not in the column list. > > > > I don't customarily develop forms in datasheet view so I'm obviously > > unfamiliar with something about them that's causing these four new > > fields not to be included on the form. > > > > Any ideas greatly appreciated. > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > 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 jackandpat.d at gmail.com Sat Jul 18 10:27:10 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sat, 18 Jul 2015 11:27:10 -0400 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> References: <193E56466B144B019D28012278E5A7EA@HAL9007> <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Message-ID: Rocky, Just to confirm the obvious -- you did relink the table, right? On Sat, Jul 18, 2015 at 11:16 AM, Rocky Smolin wrote: > Paul: > > Hadn't tried that but did just now and no luck. :( > > Any WAGs on what else it might be? > > TIA > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland > Sent: Saturday, July 18, 2015 8:04 AM > To: Access List > Subject: Re: [AccessD] Fields Not Displayed in Datasheet > > As its only a datasheet view, have you tried deleting the additonal four > columns from the form then dragging the four fields from the field list On > 18 Jul 2015 15:54, "Rocky Smolin" wrote: > > > Dear List: > > > > I have a legacy application that's using Datasheet as its default view. > > There are about 15 fields and I need to add four more. I added the > > fields to the back end table, added the four new fields to the query > > that's the row source of the form, then copied 4 of the existing > > fields, and changed their labels and Control Source but they don't > > show up on the datasheet form view. > > > > In form view when I select all the fields (upper left select box) and > > click > > Format-->Unhide Columns, those four are not in the column list. > > > > I don't customarily develop forms in datasheet view so I'm obviously > > unfamiliar with something about them that's causing these four new > > fields not to be included on the form. > > > > Any ideas greatly appreciated. > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > 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 gustav at cactus.dk Sat Jul 18 10:29:33 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 18 Jul 2015 15:29:33 +0000 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> References: <193E56466B144B019D28012278E5A7EA@HAL9007> , <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Message-ID: Hi Rocky The drag-and-drop method has to work. In fact, it's the only reliable method I've found. /gustav ________________________________________ Fra: AccessD p? vegne af Rocky Smolin Sendt: 18. juli 2015 17:16 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Fields Not Displayed in Datasheet Paul: Hadn't tried that but did just now and no luck. :( Any WAGs on what else it might be? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Saturday, July 18, 2015 8:04 AM To: Access List Subject: Re: [AccessD] Fields Not Displayed in Datasheet As its only a datasheet view, have you tried deleting the additonal four columns from the form then dragging the four fields from the field list On 18 Jul 2015 15:54, "Rocky Smolin" wrote: > Dear List: > > I have a legacy application that's using Datasheet as its default view. > There are about 15 fields and I need to add four more. I added the > fields to the back end table, added the four new fields to the query > that's the row source of the form, then copied 4 of the existing > fields, and changed their labels and Control Source but they don't > show up on the datasheet form view. > > In form view when I select all the fields (upper left select box) and > click > Format-->Unhide Columns, those four are not in the column list. > > I don't customarily develop forms in datasheet view so I'm obviously > unfamiliar with something about them that's causing these four new > fields not to be included on the form. > > Any ideas greatly appreciated. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin From rockysmolin at bchacc.com Sat Jul 18 10:31:20 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Jul 2015 08:31:20 -0700 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: References: <193E56466B144B019D28012278E5A7EA@HAL9007><0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Message-ID: Actually the table was already linked and when I open the table from the front end I can see the new fields. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Saturday, July 18, 2015 8:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fields Not Displayed in Datasheet Rocky, Just to confirm the obvious -- you did relink the table, right? On Sat, Jul 18, 2015 at 11:16 AM, Rocky Smolin wrote: > Paul: > > Hadn't tried that but did just now and no luck. :( > > Any WAGs on what else it might be? > > TIA > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Paul Hartland > Sent: Saturday, July 18, 2015 8:04 AM > To: Access List > Subject: Re: [AccessD] Fields Not Displayed in Datasheet > > As its only a datasheet view, have you tried deleting the additonal > four columns from the form then dragging the four fields from the > field list On > 18 Jul 2015 15:54, "Rocky Smolin" wrote: > > > Dear List: > > > > I have a legacy application that's using Datasheet as its default view. > > There are about 15 fields and I need to add four more. I added the > > fields to the back end table, added the four new fields to the query > > that's the row source of the form, then copied 4 of the existing > > fields, and changed their labels and Control Source but they don't > > show up on the datasheet form view. > > > > In form view when I select all the fields (upper left select box) > > and click > > Format-->Unhide Columns, those four are not in the column list. > > > > I don't customarily develop forms in datasheet view so I'm obviously > > unfamiliar with something about them that's causing these four new > > fields not to be included on the form. > > > > Any ideas greatly appreciated. > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > 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 Sat Jul 18 10:44:18 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 18 Jul 2015 08:44:18 -0700 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: References: <193E56466B144B019D28012278E5A7EA@HAL9007>, <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> Message-ID: Aw crap. Stupid legacy code. There are three versions of the sub form which has the four new fields. The code of the parent form changes from one to the other depending on certain conditions. I added the new fields to all three subforms and walla! the fields show up. You're right Gustav. Always worked. Always will. :) Sorry for the false alarm. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, July 18, 2015 8:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fields Not Displayed in Datasheet Hi Rocky The drag-and-drop method has to work. In fact, it's the only reliable method I've found. /gustav ________________________________________ Fra: AccessD p? vegne af Rocky Smolin Sendt: 18. juli 2015 17:16 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Fields Not Displayed in Datasheet Paul: Hadn't tried that but did just now and no luck. :( Any WAGs on what else it might be? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Saturday, July 18, 2015 8:04 AM To: Access List Subject: Re: [AccessD] Fields Not Displayed in Datasheet As its only a datasheet view, have you tried deleting the additonal four columns from the form then dragging the four fields from the field list On 18 Jul 2015 15:54, "Rocky Smolin" wrote: > Dear List: > > I have a legacy application that's using Datasheet as its default view. > There are about 15 fields and I need to add four more. I added the > fields to the back end table, added the four new fields to the query > that's the row source of the form, then copied 4 of the existing > fields, and changed their labels and Control Source but they don't > show up on the datasheet form view. > > In form view when I select all the fields (upper left select box) and > click > Format-->Unhide Columns, those four are not in the column list. > > I don't customarily develop forms in datasheet view so I'm obviously > unfamiliar with something about them that's causing these four new > fields not to be included on the form. > > Any ideas greatly appreciated. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > 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 gustav at cactus.dk Sat Jul 18 10:58:59 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 18 Jul 2015 15:58:59 +0000 Subject: [AccessD] Fields Not Displayed in Datasheet In-Reply-To: References: <193E56466B144B019D28012278E5A7EA@HAL9007>, <0447D3C5A1E64D129EA1B40F14D87834@HAL9007> , Message-ID: Hi Rocky Ah. Fooled again. Have a nice weekend! Gustav ________________________________________ Fra: AccessD p? vegne af Rocky Smolin Sendt: 18. juli 2015 17:44 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Fields Not Displayed in Datasheet Aw crap. Stupid legacy code. There are three versions of the sub form which has the four new fields. The code of the parent form changes from one to the other depending on certain conditions. I added the new fields to all three subforms and walla! the fields show up. You're right Gustav. Always worked. Always will. :) Sorry for the false alarm. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, July 18, 2015 8:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fields Not Displayed in Datasheet Hi Rocky The drag-and-drop method has to work. In fact, it's the only reliable method I've found. /gustav ________________________________________ Fra: AccessD p? vegne af Rocky Smolin Sendt: 18. juli 2015 17:16 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] Fields Not Displayed in Datasheet Paul: Hadn't tried that but did just now and no luck. :( Any WAGs on what else it might be? TIA Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Saturday, July 18, 2015 8:04 AM To: Access List Subject: Re: [AccessD] Fields Not Displayed in Datasheet As its only a datasheet view, have you tried deleting the additonal four columns from the form then dragging the four fields from the field list On 18 Jul 2015 15:54, "Rocky Smolin" wrote: > Dear List: > > I have a legacy application that's using Datasheet as its default view. > There are about 15 fields and I need to add four more. I added the > fields to the back end table, added the four new fields to the query > that's the row source of the form, then copied 4 of the existing > fields, and changed their labels and Control Source but they don't > show up on the datasheet form view. > > In form view when I select all the fields (upper left select box) and > click > Format-->Unhide Columns, those four are not in the column list. > > I don't customarily develop forms in datasheet view so I'm obviously > unfamiliar with something about them that's causing these four new > fields not to be included on the form. > > Any ideas greatly appreciated. > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin From darren at activebilling.com.au Sun Jul 19 23:49:53 2015 From: darren at activebilling.com.au (Darren - Active Billing) Date: Mon, 20 Jul 2015 14:49:53 +1000 Subject: [AccessD] takk.space In-Reply-To: References: <4634082CD89C486996E179685D539185@HAL9007> Message-ID: <05C3E82B-5A47-47ED-A02D-FBC167DAA7EF@activebilling.com.au> Hope it ?goes off? Rocky I?ve signed up How about a ?New Horizons? :-) https://www.youtube.com/watch?v=1bZY45hIrPM Darren > On 17 Jul 2015, at 9:17 am, Bill Benson wrote: > > Seems neat Rocky. > > Now sure I liked the mixture of "new horizon" and "dawn". Seems cliche-ish > and a misquote at the same time. > > Dawns appear on a horizon, but do horizons really dawn? > > But who cares what I think, there is a nice poem that leads with the > expression. > > https://goo.gl/sjmDyu > > And here is a hard hitting heavy metal tune with the title Dawning of a new > horizon. > > https://youtu.be/9TnfyHxnNqc > > Rock on Noah! > On Jul 14, 2015 11:46 PM, "Rocky Smolin" wrote: > >> Dear Lists: >> >> Please forgive the OT. But my son Noah (will be a sophomore Physics major >> at Cal Poly this fall - but a pretty good code jockey in his own right) and >> two colleagues - one in Vancouver and one in Phoenix - are putting together >> a content aggregator site to compete with reddit and like sites. But they >> have what they think are some competitive advantages. >> >> The site is under development - Noah's doing a lot of the programming using >> GoLang - Google's Go language. Summer's a good time for this project - he >> doesn't really need to eat and sleep. :) >> >> They've got big plans. Incorporate soon and make it a real company. Get >> advertisers and make some dough. >> >> Anyway, I'm trying to generate some early sign ups - there's nothing on the >> site at the moment but I've subscribed and will get notifications as they >> make progress. You can sign up at http://takk.space >> >> So if you're curious, sign up. Maybe...who knows...could be another >> reddit... >> >> r >> >> >> >> >> _____ >> >> From: Noah Sutton-Smolin [mailto:noahsutsmo at gmail.com] >> Sent: Tuesday, July 14, 2015 8:23 PM >> To: Rocky Smolin >> Subject: takk.space >> >> >> http://takk.space/ >> >> >> >> https://www.reddit.com/r/Blackout2015/comments/3dc6if/were_launching_a_new_s >> ite_takkspace_and_we_want/ >> >> >> >> https://www.reddit.com/r/takk_space/comments/3dby9m/goodbye_reddit_hello_tak >> kspace/ >> >> -- >> 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 davidmcafee at gmail.com Tue Jul 21 15:25:44 2015 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 21 Jul 2015 13:25:44 -0700 Subject: [AccessD] WHERE Clause Message-ID: So I have to create a bunch of similar reports, that really only differ in the where clause. I took an existing query such as: SELECT * FROM SomeQuery WHERE [EligStatus] = 'OHC' OR [PrevEligStatus] = 'OHC' And turned it into SELECT * FROM SomeQuery WHERE 'OHC' IN ([EligStatus], [PrevEligStatus]) This made it easy to loop through a recordset of WHERE clauses and run the same report and only having to change the first part of the WHERE clause I likewise turned the following from: SELECT * FROM SomeQuery WHERE (PrevEligStatus='MCE' AND Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) OR (EligStatus='MCE' AND PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) to: SELECT * FROM SomeQuery WHERE 'MCE' IN (EligStatus, PrevEligStatus) AND (Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig') OR PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) is there a shorter/more efficient way of writing this? Something like: (Yes, I know the following doesn't work) SELECT * FROM SomeQuery WHERE 'MCE' IN (EligStatus, PrevEligStatus) AND ((Eligstatus OR PrevEligstatus) IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) From Lambert.Heenan at aig.com Tue Jul 21 15:41:14 2015 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 21 Jul 2015 20:41:14 +0000 Subject: [AccessD] WHERE Clause In-Reply-To: References: Message-ID: My short and useless answer to your question is 'probably not', but thanks for this curious tip. I've always used IN() in the form... [Some Field] In(1,2,3,4) - i.e. in a list of possible values. Never know you could do... Some Field Value In(F1,F2,F3) - i.e. find the value in a list of fields Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Tuesday, July 21, 2015 4:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] WHERE Clause So I have to create a bunch of similar reports, that really only differ in the where clause. I took an existing query such as: SELECT * FROM SomeQuery WHERE [EligStatus] = 'OHC' OR [PrevEligStatus] = 'OHC' And turned it into SELECT * FROM SomeQuery WHERE 'OHC' IN ([EligStatus], [PrevEligStatus]) This made it easy to loop through a recordset of WHERE clauses and run the same report and only having to change the first part of the WHERE clause I likewise turned the following from: SELECT * FROM SomeQuery WHERE (PrevEligStatus='MCE' AND Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) OR (EligStatus='MCE' AND PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) to: SELECT * FROM SomeQuery WHERE 'MCE' IN (EligStatus, PrevEligStatus) AND (Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig') OR PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) is there a shorter/more efficient way of writing this? Something like: (Yes, I know the following doesn't work) SELECT * FROM SomeQuery WHERE 'MCE' IN (EligStatus, PrevEligStatus) AND ((Eligstatus OR PrevEligstatus) IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Tue Jul 21 16:18:48 2015 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 21 Jul 2015 14:18:48 -0700 Subject: [AccessD] WHERE Clause In-Reply-To: References: Message-ID: Thanks Lambert. For some reason I was thinking there was some way using true or false. D On Jul 21, 2015 1:43 PM, "Heenan, Lambert" wrote: > My short and useless answer to your question is 'probably not', but thanks > for this curious tip. > > I've always used IN() in the form... > > [Some Field] In(1,2,3,4) - i.e. in a list of possible values. > > Never know you could do... > > Some Field Value In(F1,F2,F3) - i.e. find the value in a list of > fields > > > Lambert > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David McAfee > Sent: Tuesday, July 21, 2015 4:26 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] WHERE Clause > > So I have to create a bunch of similar reports, that really only differ in > the where clause. > > I took an existing query such as: > > SELECT * FROM SomeQuery WHERE [EligStatus] = 'OHC' OR [PrevEligStatus] = > 'OHC' > > And turned it into > > SELECT * FROM SomeQuery WHERE 'OHC' IN ([EligStatus], [PrevEligStatus]) > > This made it easy to loop through a recordset of WHERE clauses and run the > same report and only having to change the first part of the WHERE clause > > > > I likewise turned the following from: > SELECT * FROM SomeQuery > WHERE (PrevEligStatus='MCE' > AND Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) OR > (EligStatus='MCE' > AND PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > > to: > SELECT * FROM SomeQuery > WHERE 'MCE' IN (EligStatus, PrevEligStatus) AND (Eligstatus IN ('HF', > 'MCal', 'Blank', 'Limited', 'NoElig') OR PrevEligstatus IN ('HF', 'MCal', > 'Blank', 'Limited', 'NoElig')) > > is there a shorter/more efficient way of writing this? Something like: > (Yes, I know the following doesn't work) SELECT * FROM SomeQuery WHERE > 'MCE' IN (EligStatus, PrevEligStatus) AND ((Eligstatus OR PrevEligstatus) > IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > -- > 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 bensonforums at gmail.com Tue Jul 21 21:21:27 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 21 Jul 2015 22:21:27 -0400 Subject: [AccessD] WHERE Clause In-Reply-To: References: Message-ID: Sometimes I string all the values together pipe separated, and say where '|LONG|LIST|OF|FIELD|VALUES|' Like "*|" & [MyField] & "|* On Jul 21, 2015 4:27 PM, "David McAfee" wrote: > So I have to create a bunch of similar reports, that really only differ in > the where clause. > > I took an existing query such as: > > SELECT * FROM SomeQuery WHERE [EligStatus] = 'OHC' OR [PrevEligStatus] = > 'OHC' > > And turned it into > > SELECT * FROM SomeQuery WHERE 'OHC' IN ([EligStatus], [PrevEligStatus]) > > This made it easy to loop through a recordset of WHERE clauses and run the > same report and only having to change the first part of the WHERE clause > > > > I likewise turned the following from: > SELECT * FROM SomeQuery > WHERE (PrevEligStatus='MCE' > AND Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > OR (EligStatus='MCE' > AND PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > > to: > SELECT * FROM SomeQuery > WHERE 'MCE' IN (EligStatus, PrevEligStatus) > AND (Eligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig') > OR PrevEligstatus IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > > is there a shorter/more efficient way of writing this? Something like: > (Yes, I know the following doesn't work) > SELECT * FROM SomeQuery > WHERE 'MCE' IN (EligStatus, PrevEligStatus) > AND ((Eligstatus OR PrevEligstatus) > IN ('HF', 'MCal', 'Blank', 'Limited', 'NoElig')) > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Wed Jul 22 05:45:34 2015 From: marksimms at verizon.net (Mark Simms) Date: Wed, 22 Jul 2015 06:45:34 -0400 Subject: [AccessD] WHERE Clause In-Reply-To: References: Message-ID: <02d901d0c46b$8a44e4e0$9eceaea0$@net> Bill - I use this all of the time. It's a super-fast search technique....hugely beating looping. > > Sometimes I string all the values together pipe separated, and say > where > '|LONG|LIST|OF|FIELD|VALUES|' Like "*|" & [MyField] & "|* > From ssharkins at gmail.com Wed Jul 22 11:28:34 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 12:28:34 -0400 Subject: [AccessD] Dirty property Message-ID: I think I just realized, for the first time, that the Dirty property doesn't work with a new record. What I just read suggests that it checks since the record was last saved. Well, a new record has never been saved, so the Dirty property is useless for a new record. Is this correct? Susan H. From kost36 at otenet.gr Wed Jul 22 11:43:46 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 22 Jul 2015 19:43:46 +0300 Subject: [AccessD] barcode axtiveX In-Reply-To: <37A7A792B0C44894809975558FAC4DFE@kost36PC> References: , <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC>, <37A7A792B0C44894809975558FAC4DFE@kost36PC> Message-ID: <561A8C738A064275AA5F726E75E59846@kost36PC> Hi all, I am trying to find info about how to enable that activeX... There are a lot of references about how to display barcode into a form but I didn't manage to find any info about how to declare that. I work with ms access 2013 and can't find it in ActiveX Control or Tools/Reference... Could you please help? thank's /kostas From df.waters at outlook.com Wed Jul 22 11:49:59 2015 From: df.waters at outlook.com (Dan Waters) Date: Wed, 22 Jul 2015 11:49:59 -0500 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Hi Susan, I've been using Me.Dirty, where Me is a reference to the current form, not a record. So, I believe that if you open a form to create a new record, from the time you start entering information until the new record is saved, then the form's Dirty property will be True. HTH! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 22, 2015 11:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dirty property I think I just realized, for the first time, that the Dirty property doesn't work with a new record. What I just read suggests that it checks since the record was last saved. Well, a new record has never been saved, so the Dirty property is useless for a new record. Is this correct? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Wed Jul 22 12:02:21 2015 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 22 Jul 2015 17:02:21 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: That's confirmed. Dirty=True as soon as any column is changed. Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, July 22, 2015 12:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Dirty property Hi Susan, I've been using Me.Dirty, where Me is a reference to the current form, not a record. So, I believe that if you open a form to create a new record, from the time you start entering information until the new record is saved, then the form's Dirty property will be True. HTH! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 22, 2015 11:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dirty property I think I just realized, for the first time, that the Dirty property doesn't work with a new record. What I just read suggests that it checks since the record was last saved. Well, a new record has never been saved, so the Dirty property is useless for a new record. Is this correct? Susan H. -- 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.hartland at googlemail.com Wed Jul 22 12:07:53 2015 From: paul.hartland at googlemail.com (Paul Hartland) Date: Wed, 22 Jul 2015 18:07:53 +0100 Subject: [AccessD] barcode axtiveX In-Reply-To: <561A8C738A064275AA5F726E75E59846@kost36PC> References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC> <37A7A792B0C44894809975558FAC4DFE@kost36PC> <561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: I used to just download the 3 of 9 font (think it's only numerical values) and use that as the font where I wanted the barcode think you also have to start and finish the barcode with an * On 22 July 2015 at 17:43, Kostas Konstantinidis wrote: > Hi all, > I am trying to find info about how to enable that activeX... > There are a lot of references about how to display barcode into a form but > I didn't manage to find any info about how to declare that. > I work with ms access 2013 and can't find it in ActiveX Control or > Tools/Reference... > > Could you please help? > thank's > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From jimdettman at verizon.net Wed Jul 22 12:08:18 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Jul 2015 13:08:18 -0400 Subject: [AccessD] barcode axtiveX In-Reply-To: <561A8C738A064275AA5F726E75E59846@kost36PC> References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC> <37A7A792B0C44894809975558FAC4DFE@kost36PC> <561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: <8B4720A1-7CA9-4A56-A179-1E0C760B3FF0@verizon.net> There is no bar code activeX that comes with Access. You can find a free bar code font to display bar codes, but if you have an activeX reference, it came from somewhere else. Jim Sent from my iPhone > On Jul 22, 2015, at 12:43 PM, Kostas Konstantinidis wrote: > > Hi all, > I am trying to find info about how to enable that activeX... > There are a lot of references about how to display barcode into a form but I didn't manage to find any info about how to declare that. > I work with ms access 2013 and can't find it in ActiveX Control or Tools/Reference... > > Could you please help? > thank's > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Jul 22 12:41:54 2015 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 22 Jul 2015 10:41:54 -0700 Subject: [AccessD] barcode axtiveX In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC> <37A7A792B0C44894809975558FAC4DFE@kost36PC> <561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: I second the free 3 of 9 font, if that will work for you. The easiest barcode to use IMO. On Wed, Jul 22, 2015 at 10:07 AM, Paul Hartland < paul.hartland at googlemail.com> wrote: > I used to just download the 3 of 9 font (think it's only numerical values) > and use that as the font where I wanted the barcode think you also have to > start and finish the barcode with an * > > On 22 July 2015 at 17:43, Kostas Konstantinidis wrote: > > > Hi all, > > I am trying to find info about how to enable that activeX... > > There are a lot of references about how to display barcode into a form > but > > I didn't manage to find any info about how to declare that. > > I work with ms access 2013 and can't find it in ActiveX Control or > > Tools/Reference... > > > > Could you please help? > > thank's > > /kostas > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Wed Jul 22 13:18:36 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 14:18:36 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: I open the form. I enter a value in a new record. I close the form via the Close button. The code behind that event uses Me.Dirty to check for any new values. Dirty is returning False. Susan H. On Wed, Jul 22, 2015 at 1:02 PM, Heenan, Lambert wrote: > That's confirmed. Dirty=True as soon as any column is changed. > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Dan Waters > Sent: Wednesday, July 22, 2015 12:50 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dirty property > > Hi Susan, > > I've been using Me.Dirty, where Me is a reference to the current form, not > a record. So, I believe that if you open a form to create a new record, > from the time you start entering information until the new record is saved, > then the form's Dirty property will be True. > > HTH! > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, July 22, 2015 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Dirty property > > I think I just realized, for the first time, that the Dirty property > doesn't work with a new record. What I just read suggests that it checks > since the record was last saved. Well, a new record has never been saved, > so the Dirty property is useless for a new record. Is this correct? > > Susan H. > -- > 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 Wed Jul 22 13:23:42 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 22 Jul 2015 21:23:42 +0300 Subject: [AccessD] barcode axtiveX In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: <5C1AD26E21B54B138E3998AACAE0BA60@kost36PC> Paul, Jim and David thank's I had the impression that it was embedded as controlX into ms access thank's /kostas -----?????? ??????----- From: Paul Hartland Sent: Wednesday, July 22, 2015 8:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] barcode axtiveX I used to just download the 3 of 9 font (think it's only numerical values) and use that as the font where I wanted the barcode think you also have to start and finish the barcode with an * On 22 July 2015 at 17:43, Kostas Konstantinidis wrote: > Hi all, > I am trying to find info about how to enable that activeX... > There are a lot of references about how to display barcode into a form but > I didn't manage to find any info about how to declare that. > I work with ms access 2013 and can't find it in ActiveX Control or > Tools/Reference... > > Could you please help? > thank's > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.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 Jul 22 13:43:32 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 22 Jul 2015 14:43:32 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> Susan, Couple things to watch out for: 1. Doesn't work on unbound forms 2. Record won't be dirty on a main / sub form setup if you have entered the subform control and made no changes since you did. Entering subform control commits the main record. Jim Sent from my iPhone > On Jul 22, 2015, at 2:18 PM, Susan Harkins wrote: > > I open the form. > I enter a value in a new record. > I close the form via the Close button. > The code behind that event uses Me.Dirty to check for any new values. > Dirty is returning False. > > Susan H. > > On Wed, Jul 22, 2015 at 1:02 PM, Heenan, Lambert > wrote: > >> That's confirmed. Dirty=True as soon as any column is changed. >> >> Lambert >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Dan Waters >> Sent: Wednesday, July 22, 2015 12:50 PM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Dirty property >> >> Hi Susan, >> >> I've been using Me.Dirty, where Me is a reference to the current form, not >> a record. So, I believe that if you open a form to create a new record, >> from the time you start entering information until the new record is saved, >> then the form's Dirty property will be True. >> >> HTH! >> Dan >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Susan Harkins >> Sent: Wednesday, July 22, 2015 11:29 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Dirty property >> >> I think I just realized, for the first time, that the Dirty property >> doesn't work with a new record. What I just read suggests that it checks >> since the record was last saved. Well, a new record has never been saved, >> so the Dirty property is useless for a new record. Is this correct? >> >> Susan H. >> -- >> 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 ssharkins at gmail.com Wed Jul 22 14:11:53 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 15:11:53 -0400 Subject: [AccessD] Dirty property In-Reply-To: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> References: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> Message-ID: Form uses a query. Susan H. On Wed, Jul 22, 2015 at 2:43 PM, Jim Dettman wrote: > Susan, > > Couple things to watch out for: > > 1. Doesn't work on unbound forms > > 2. Record won't be dirty on a main / sub form setup if you have entered > the subform control and made no changes since you did. Entering subform > control commits the main record. > > Jim > > Sent from my iPhone > > > On Jul 22, 2015, at 2:18 PM, Susan Harkins wrote: > > > > I open the form. > > I enter a value in a new record. > > I close the form via the Close button. > > The code behind that event uses Me.Dirty to check for any new values. > > Dirty is returning False. > > > > Susan H. > > > > On Wed, Jul 22, 2015 at 1:02 PM, Heenan, Lambert > > > wrote: > > > >> That's confirmed. Dirty=True as soon as any column is changed. > >> > >> Lambert > >> > >> > >> > >> -----Original Message----- > >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of > >> Dan Waters > >> Sent: Wednesday, July 22, 2015 12:50 PM > >> To: 'Access Developers discussion and problem solving' > >> Subject: Re: [AccessD] Dirty property > >> > >> Hi Susan, > >> > >> I've been using Me.Dirty, where Me is a reference to the current form, > not > >> a record. So, I believe that if you open a form to create a new record, > >> from the time you start entering information until the new record is > saved, > >> then the form's Dirty property will be True. > >> > >> HTH! > >> Dan > >> > >> -----Original Message----- > >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of > >> Susan Harkins > >> Sent: Wednesday, July 22, 2015 11:29 AM > >> To: Access Developers discussion and problem solving > >> Subject: [AccessD] Dirty property > >> > >> I think I just realized, for the first time, that the Dirty property > >> doesn't work with a new record. What I just read suggests that it checks > >> since the record was last saved. Well, a new record has never been > saved, > >> so the Dirty property is useless for a new record. Is this correct? > >> > >> Susan H. > >> -- > >> 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 bensonforums at gmail.com Wed Jul 22 14:36:29 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 22 Jul 2015 15:36:29 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> Message-ID: I believe he meant bound controls... Me.Dirty is false until a bound control changes, is until the record is committed unless Escape is pressed, which undoes all unsaved changes (and makes the form's dirty property false again). Easy to test this without closing the form, just open the VBE to the right (or left) of you MS Access UI window, enter this in the VBE, and test at various points. ?screen.ActiveForm.dirty On Wed, Jul 22, 2015 at 3:11 PM, Susan Harkins wrote: > Form uses a query. > > Susan H. > > On Wed, Jul 22, 2015 at 2:43 PM, Jim Dettman > wrote: > > > Susan, > > > > Couple things to watch out for: > > > > 1. Doesn't work on unbound forms > > > > 2. Record won't be dirty on a main / sub form setup if you have entered > > the subform control and made no changes since you did. Entering subform > > control commits the main record. > > > > Jim > > > > Sent from my iPhone > > > > > On Jul 22, 2015, at 2:18 PM, Susan Harkins > wrote: > > > > > > I open the form. > > > I enter a value in a new record. > > > I close the form via the Close button. > > > The code behind that event uses Me.Dirty to check for any new values. > > > Dirty is returning False. > > > > > > Susan H. > > > > > > On Wed, Jul 22, 2015 at 1:02 PM, Heenan, Lambert < > Lambert.Heenan at aig.com > > > > > > wrote: > > > > > >> That's confirmed. Dirty=True as soon as any column is changed. > > >> > > >> Lambert > > >> > > >> > > >> > > >> -----Original Message----- > > >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of > > >> Dan Waters > > >> Sent: Wednesday, July 22, 2015 12:50 PM > > >> To: 'Access Developers discussion and problem solving' > > >> Subject: Re: [AccessD] Dirty property > > >> > > >> Hi Susan, > > >> > > >> I've been using Me.Dirty, where Me is a reference to the current form, > > not > > >> a record. So, I believe that if you open a form to create a new > record, > > >> from the time you start entering information until the new record is > > saved, > > >> then the form's Dirty property will be True. > > >> > > >> HTH! > > >> Dan > > >> > > >> -----Original Message----- > > >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of > > >> Susan Harkins > > >> Sent: Wednesday, July 22, 2015 11:29 AM > > >> To: Access Developers discussion and problem solving > > >> Subject: [AccessD] Dirty property > > >> > > >> I think I just realized, for the first time, that the Dirty property > > >> doesn't work with a new record. What I just read suggests that it > checks > > >> since the record was last saved. Well, a new record has never been > > saved, > > >> so the Dirty property is useless for a new record. Is this correct? > > >> > > >> Susan H. > > >> -- > > >> 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 steve at datamanagementsolutions.biz Wed Jul 22 15:28:49 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Thu, 23 Jul 2015 08:28:49 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Hi Susan "The code behind that event uses Me.Dirty to check for any new values." What event are you referring to? Do you have a command button on the form, and you are looking at the Click event of the button? Or do you mean the form's built-in [x] close button, and you are looking at the form's Close event? Or something else? Regards Steve -----Original Message----- From: Susan Harkins Sent: Thursday, July 23, 2015 6:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property I open the form. I enter a value in a new record. I close the form via the Close button. The code behind that event uses Me.Dirty to check for any new values. Dirty is returning False. Susan H. On Wed, Jul 22, 2015 at 1:02 PM, Heenan, Lambert wrote: > That's confirmed. Dirty=True as soon as any column is changed. > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Dan Waters > Sent: Wednesday, July 22, 2015 12:50 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Dirty property > > Hi Susan, > > I've been using Me.Dirty, where Me is a reference to the current form, not > a record. So, I believe that if you open a form to create a new record, > from the time you start entering information until the new record is > saved, > then the form's Dirty property will be True. > > HTH! > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Wednesday, July 22, 2015 11:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Dirty property > > I think I just realized, for the first time, that the Dirty property > doesn't work with a new record. What I just read suggests that it checks > since the record was last saved. Well, a new record has never been saved, > so the Dirty property is useless for a new record. Is this correct? > > Susan H. > -- > 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 ssharkins at gmail.com Wed Jul 22 16:54:56 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 17:54:56 -0400 Subject: [AccessD] Dirty property Message-ID: > > Both, but specifically in this case, I'm talking about the Close button at > the top-right of the form. It seems easier to just remove those. :) > Susan H. > > "The code behind that event uses Me.Dirty to check for any new values." > > What event are you referring to? Do you have a command button on the > form, and you are looking at the Click event of the button? Or do you mean > the form's built-in [x] close button, and you are looking at the form's > Close event? Or something else? > > Regards > Steve > > From steve at datamanagementsolutions.biz Wed Jul 22 17:23:15 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Thu, 23 Jul 2015 10:23:15 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Well, if you are testing for the value of the Dirty property, the new record will have already been saved/committed by the time you get to the form's Close event, so yes, I would expect it to be False at that point. Regards Steve -----Original Message----- From: Susan Harkins Sent: Thursday, July 23, 2015 9:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property > > Both, but specifically in this case, I'm talking about the Close button at > the top-right of the form. It seems easier to just remove those. :) > Susan H. > > "The code behind that event uses Me.Dirty to check for any new values." > > What event are you referring to? Do you have a command button on the > form, and you are looking at the Click event of the button? Or do you > mean > the form's built-in [x] close button, and you are looking at the form's > Close event? Or something else? > > Regards > Steve > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Jul 22 17:51:43 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 18:51:43 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: So, usurping the form's Close event doesn't keep it from saving -- that's confusing to me. What am I missing? Why would the Close button save the record? I expect it to prompt me, not automatically save. Susan H. On Wed, Jul 22, 2015 at 6:23 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Well, if you are testing for the value of the Dirty property, the new > record will have already been saved/committed by the time you get to the > form's Close event, so yes, I would expect it to be False at that point. > > Regards > Steve > > -----Original Message----- From: Susan Harkins > Sent: Thursday, July 23, 2015 9:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > >> Both, but specifically in this case, I'm talking about the Close button at >> the top-right of the form. It seems easier to just remove those. :) >> >> > Susan H. > > >> "The code behind that event uses Me.Dirty to check for any new values." >> >> What event are you referring to? Do you have a command button on the >> form, and you are looking at the Click event of the button? Or do you >> mean >> the form's built-in [x] close button, and you are looking at the form's >> Close event? Or something else? >> >> Regards >> Steve >> >> >> -- > 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 Jul 22 18:46:56 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 22 Jul 2015 23:46:56 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: This is why you want to use unbound controls, as they behave as the user would expect - not as the database does. When a user 'cancels' a form they expect the record to be dropped. This is not the case when using a bound form. Naturally this topic (bound/unbound) often ignites a firefight - so sorry for bringing it up, but that is my experience and one of the many reasons I use unbound forms. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, 23 July 2015 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property So, usurping the form's Close event doesn't keep it from saving -- that's confusing to me. What am I missing? Why would the Close button save the record? I expect it to prompt me, not automatically save. Susan H. On Wed, Jul 22, 2015 at 6:23 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Well, if you are testing for the value of the Dirty property, the new > record will have already been saved/committed by the time you get to > the form's Close event, so yes, I would expect it to be False at that point. > > Regards > Steve > > -----Original Message----- From: Susan Harkins > Sent: Thursday, July 23, 2015 9:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > >> Both, but specifically in this case, I'm talking about the Close >> button at the top-right of the form. It seems easier to just remove >> those. :) >> >> > Susan H. > > >> "The code behind that event uses Me.Dirty to check for any new values." >> >> What event are you referring to? Do you have a command button on the >> form, and you are looking at the Click event of the button? Or do >> you mean the form's built-in [x] close button, and you are looking at >> the form's Close event? Or something else? >> >> Regards >> Steve >> >> >> -- > 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 ssharkins at gmail.com Wed Jul 22 19:34:32 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 20:34:32 -0400 Subject: [AccessD] Dirty property Message-ID: Well I don't mean to start anything, but I an willing to learn. What I think you're saying is... Access assumes when you click the Close button that you want to cancel the current state of the form... and thus... the Dirty property will also be False. If this is correct, I know how to proceed and I'm glad for the discussion. :) I'm just going to disable the Close button. :) Susan H. On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > This is why you want to use unbound controls, as they behave as the user > would expect - not as the database does. When a user 'cancels' a form they > expect the record to be dropped. This is not the case when using a bound > form. > > Naturally this topic (bound/unbound) often ignites a firefight - so sorry > for bringing it up, but that is my experience and one of the many reasons I > use unbound forms. > > Cheers > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Thursday, 23 July 2015 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > So, usurping the form's Close event doesn't keep it from saving -- that's > confusing to me. What am I missing? Why would the Close button save the > record? I expect it to prompt me, not automatically save. > > From marksimms at verizon.net Wed Jul 22 19:36:19 2015 From: marksimms at verizon.net (Mark Simms) Date: Wed, 22 Jul 2015 20:36:19 -0400 Subject: [AccessD] Dirty property In-Reply-To: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> References: <1D2B6545-CE84-4F31-A70E-44271FB02E4D@verizon.net> Message-ID: <03f001d0c4df$97ef2e10$c7cd8a30$@net> Oh my....I've learned not to rely upon it....and roll your own. Especially on Split forms. > > Susan, > > Couple things to watch out for: > > 1. Doesn't work on unbound forms > > 2. Record won't be dirty on a main / sub form setup if you have > entered the subform control and made no changes since you did. Entering > subform control commits the main record. > From bensonforums at gmail.com Wed Jul 22 20:54:40 2015 From: bensonforums at gmail.com (Bill Benson) Date: Wed, 22 Jul 2015 21:54:40 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: True Darryl, from my limited testing. When closing the form, the only chance you have to intercept the saving of any information which may have changed in a bound control is the form's Before_Update event. However, that is the same event you would use to validate changes were the user to click Save. and you don't really know, is the user Saving or are they Closing, because neither Form_Unload not Form_Close has yet fired, and Access does not have a QueryClose (and even if it did, Before_Update would probably fire first." Of course if you have a specific Save command button, you can set a flag UserSaving so bypass the message about losing changes from closing the form - but then the user could go ahead and click the Save icon on the menu, and then where are ya? There is no Form_BeingSaved event. It's a nightmare. SAVVVVEEEE MEEEEE from bound controls! On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > This is why you want to use unbound controls, as they behave as the user > would expect - not as the database does. When a user 'cancels' a form they > expect the record to be dropped. This is not the case when using a bound > form. > > Naturally this topic (bound/unbound) often ignites a firefight - so sorry > for bringing it up, but that is my experience and one of the many reasons I > use unbound forms. > > Cheers > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Thursday, 23 July 2015 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > So, usurping the form's Close event doesn't keep it from saving -- that's > confusing to me. What am I missing? Why would the Close button save the > record? I expect it to prompt me, not automatically save. > > Susan H. > > On Wed, Jul 22, 2015 at 6:23 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Well, if you are testing for the value of the Dirty property, the new > > record will have already been saved/committed by the time you get to > > the form's Close event, so yes, I would expect it to be False at that > point. > > > > Regards > > Steve > > > > -----Original Message----- From: Susan Harkins > > Sent: Thursday, July 23, 2015 9:54 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Dirty property > > > > > >> Both, but specifically in this case, I'm talking about the Close > >> button at the top-right of the form. It seems easier to just remove > >> those. :) > >> > >> > > Susan H. > > > > > >> "The code behind that event uses Me.Dirty to check for any new values." > >> > >> What event are you referring to? Do you have a command button on the > >> form, and you are looking at the Click event of the button? Or do > >> you mean the form's built-in [x] close button, and you are looking at > >> the form's Close event? Or something else? > >> > >> Regards > >> Steve > >> > >> > >> -- > > 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 ssharkins at gmail.com Wed Jul 22 20:58:10 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Jul 2015 21:58:10 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Well, the form has a Save button that works just fine. I was only trying to catch a specific business rule when using the Close button -- and I can eliminate the whole problem by disabling the Close button. I think, given the extra work, it's the best option. :) Thanks guys! Susan H. On Wed, Jul 22, 2015 at 9:54 PM, Bill Benson wrote: > True Darryl, from my limited testing. When closing the form, the only > chance you have to intercept the saving of any information which may have > changed in a bound control is the form's Before_Update event. However, that > is the same event you would use to validate changes were the user to click > Save. and you don't really know, is the user Saving or are they Closing, > because neither Form_Unload not Form_Close has yet fired, and Access does > not have a QueryClose (and even if it did, Before_Update would probably > fire first." Of course if you have a specific Save command button, you can > set a flag UserSaving so bypass the message about losing changes from > closing the form - but then the user could go ahead and click the Save icon > on the menu, and then where are ya? There is no Form_BeingSaved event. It's > a nightmare. SAVVVVEEEE MEEEEE from bound controls! > > On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > This is why you want to use unbound controls, as they behave as the user > > would expect - not as the database does. When a user 'cancels' a form > they > > expect the record to be dropped. This is not the case when using a bound > > form. > > > > Naturally this topic (bound/unbound) often ignites a firefight - so sorry > > for bringing it up, but that is my experience and one of the many > reasons I > > use unbound forms. > > > > Cheers > > Darryl. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Susan Harkins > > Sent: Thursday, 23 July 2015 8:52 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Dirty property > > > > So, usurping the form's Close event doesn't keep it from saving -- that's > > confusing to me. What am I missing? Why would the Close button save the > > record? I expect it to prompt me, not automatically save. > > > > Susan H. > > > > On Wed, Jul 22, 2015 at 6:23 PM, Steve Schapel < > > steve at datamanagementsolutions.biz> wrote: > > > > > Well, if you are testing for the value of the Dirty property, the new > > > record will have already been saved/committed by the time you get to > > > the form's Close event, so yes, I would expect it to be False at that > > point. > > > > > > Regards > > > Steve > > > > > > -----Original Message----- From: Susan Harkins > > > Sent: Thursday, July 23, 2015 9:54 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Dirty property > > > > > > > > >> Both, but specifically in this case, I'm talking about the Close > > >> button at the top-right of the form. It seems easier to just remove > > >> those. :) > > >> > > >> > > > Susan H. > > > > > > > > >> "The code behind that event uses Me.Dirty to check for any new > values." > > >> > > >> What event are you referring to? Do you have a command button on the > > >> form, and you are looking at the Click event of the button? Or do > > >> you mean the form's built-in [x] close button, and you are looking at > > >> the form's Close event? Or something else? > > >> > > >> Regards > > >> Steve > > >> > > >> > > >> -- > > > 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 darren at activebilling.com.au Thu Jul 23 01:52:30 2015 From: darren at activebilling.com.au (Darren- Active Billing) Date: Thu, 23 Jul 2015 16:52:30 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice Message-ID: <4DC5986AAB7F4C7099A43290DC347521@denzilnote> Hi Team, With the help of the very clever Mr. McLachlan, I have been able to build a nice tool that performs an API request and returns the relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - All very cool - Works a treat - On my local Windows 8 machine. When I tried to run this Access dB on our old Win 2003 Servers (there are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have no control over these servers BTW - not mine to manage and the last time I rebooted one it did not come "back up" and caused chaos) Anyway - after a week of googling and various attempts at resolution I have discovered the issue is because I am running my API request against is an HTTPS site and not an HTTP site.Turns out Older versions of IE are either incapable of accessing HTTPS sites or requests to them are not being processed. This really is an area I have absolutely no clue about. On each of our Win2003 Servers if I paste the API request URL into the Address field of Firefox or Chrome- I get results. Cool. It's just IE is the issue. IE won't load an HTTPS sites outside our domain (i.e. from the real world) IE will load our own internal HTTPS Sites hosted on our same server and domain. But nothing from the outside world. And yes, I have wasted hours and hours over this trying every conceivable suggestion by the Google world. But obviously not the one I need :-) Googling phrases and words such as "HTTPS not accessible IE7" or IE8 can't access https site" yields a whole world of pain for a great many folk. And the majority of suggestions I truly have tried - Maybe there is one more I haven't that will be the solution. Happy to try whatever you suggest. So...my question is - Anyone know of an alternative to CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access HTTPS sites in the outside world. Sorry for the long post - Many thanks in anticipation D From gustav at cactus.dk Thu Jul 23 04:33:43 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Jul 2015 09:33:43 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Bill et al > and then where are ya? Relax. I whining developer is not a nice picture. If you cancel the BeforeUpdate event of the form, you will be where you were before trying to save the record. It doesn't matter how you try to save the record - explicitly or implicitly - it will not save. So if you the user is able to save a record that shouldn't, the only reason is poor design of your validation routine. Whether the user tries to save the record, move to another record, or close the form should have no impact on the validation. If you feel strongly against this behaviour, Access is not for you, as the automatic saving is a basic core design feature of the bound form of Access. That said there may be good reasons for not using bound forms, but then don't waste your time playing with this in Access - move to Visual Studio and, say, Winforms where you are in absolute control. It takes a little (maybe some more) and will present a never ending learning experience for you; but it may be more fun, and you have the pleasure to work in an environment that is built from the ground up for developers. It even comes in the free Community Version and now in version 2015. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Bill Benson Sendt: 23. juli 2015 03:55 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property True Darryl, from my limited testing. When closing the form, the only chance you have to intercept the saving of any information which may have changed in a bound control is the form's Before_Update event. However, that is the same event you would use to validate changes were the user to click Save. and you don't really know, is the user Saving or are they Closing, because neither Form_Unload not Form_Close has yet fired, and Access does not have a QueryClose (and even if it did, Before_Update would probably fire first." Of course if you have a specific Save command button, you can set a flag UserSaving so bypass the message about losing changes from closing the form - but then the user could go ahead and click the Save icon on the menu, and then where are ya? There is no Form_BeingSaved event. It's a nightmare. SAVVVVEEEE MEEEEE from bound controls! From stuart at lexacorp.com.pg Thu Jul 23 05:00:36 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Jul 2015 20:00:36 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <4DC5986AAB7F4C7099A43290DC347521@denzilnote> References: <4DC5986AAB7F4C7099A43290DC347521@denzilnote> Message-ID: <55B0BB44.25158.1490669A@stuart.lexacorp.com.pg> From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx Note In Internet Explorer 7, the default settings for cross-domain data access are set to "deny" for all security zones. Can you get the server admins to modify IE's Security Manager to allow access to the site in question (or can you do that yourself?) On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > Hi Team, > With the help of the very clever Mr. McLachlan, I have been able to > build a nice tool that performs an API request and returns the > relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - > All very cool - Works a treat - On my local Windows 8 machine. > > When I tried to run this Access dB on our old Win 2003 Servers (there > are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have > no control over these servers BTW - not mine to manage and the last > time I rebooted one it did not come "back up" and caused chaos) > > Anyway - after a week of googling and various attempts at resolution I > have discovered the issue is because I am running my API request > against is an HTTPS site and not an HTTP site.Turns out Older versions > of IE are either incapable of accessing HTTPS sites or requests to > them are not being processed. This really is an area I have absolutely > no clue about. > > On each of our Win2003 Servers if I paste the API request URL into the > Address field of Firefox or Chrome- I get results. Cool. It's just IE > is the issue. IE won't load an HTTPS sites outside our domain (i.e. > from the real world) IE will load our own internal HTTPS Sites hosted > on our same server and domain. But nothing from the outside world. > > And yes, I have wasted hours and hours over this trying every > conceivable suggestion by the Google world. But obviously not the one > I need :-) Googling phrases and words such as "HTTPS not accessible > IE7" or IE8 can't access https site" yields a whole world of pain for > a great many folk. And the majority of suggestions I truly have tried > - Maybe there is one more I haven't that will be the solution. Happy > to try whatever you suggest. > > So...my question is - Anyone know of an alternative to > CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access > HTTPS sites in the outside world. > > Sorry for the long post - Many thanks in anticipation > > D > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Thu Jul 23 05:45:11 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 23 Jul 2015 10:45:11 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Thanks Gustav, I am always happy to listen to the experience and advice of those more talented than I. Appreciate your thoughts on this issue Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, 23 July 2015 7:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Hi Bill et al > and then where are ya? Relax. I whining developer is not a nice picture. If you cancel the BeforeUpdate event of the form, you will be where you were before trying to save the record. It doesn't matter how you try to save the record - explicitly or implicitly - it will not save. So if you the user is able to save a record that shouldn't, the only reason is poor design of your validation routine. Whether the user tries to save the record, move to another record, or close the form should have no impact on the validation. If you feel strongly against this behaviour, Access is not for you, as the automatic saving is a basic core design feature of the bound form of Access. That said there may be good reasons for not using bound forms, but then don't waste your time playing with this in Access - move to Visual Studio and, say, Winforms where you are in absolute control. It takes a little (maybe some more) and will present a never ending learning experience for you; but it may be more fun, and you have the pleasure to work in an environment that is built from the ground up for developers. It even comes in the free Community Version and now in version 2015. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Bill Benson Sendt: 23. juli 2015 03:55 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property True Darryl, from my limited testing. When closing the form, the only chance you have to intercept the saving of any information which may have changed in a bound control is the form's Before_Update event. However, that is the same event you would use to validate changes were the user to click Save. and you don't really know, is the user Saving or are they Closing, because neither Form_Unload not Form_Close has yet fired, and Access does not have a QueryClose (and even if it did, Before_Update would probably fire first." Of course if you have a specific Save command button, you can set a flag UserSaving so bypass the message about losing changes from closing the form - but then the user could go ahead and click the Save icon on the menu, and then where are ya? There is no Form_BeingSaved event. It's a nightmare. SAVVVVEEEE MEEEEE from bound controls! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Jul 23 05:46:12 2015 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 23 Jul 2015 10:46:12 +0000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <55B0BB44.25158.1490669A@stuart.lexacorp.com.pg> References: <4DC5986AAB7F4C7099A43290DC347521@denzilnote> <55B0BB44.25158.1490669A@stuart.lexacorp.com.pg> Message-ID: Yes... This was my thoughts too. Can you mod the default security zone settings in IE itself. Oddly you need to this for other permissions as well I have noted in the past. Hopefully MS Edge avoids this kind of SNAFUs.... -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 23 July 2015 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx Note In Internet Explorer 7, the default settings for cross-domain data access are set to "deny" for all security zones. Can you get the server admins to modify IE's Security Manager to allow access to the site in question (or can you do that yourself?) On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > Hi Team, > With the help of the very clever Mr. McLachlan, I have been able to > build a nice tool that performs an API request and returns the > relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - > All very cool - Works a treat - On my local Windows 8 machine. > > When I tried to run this Access dB on our old Win 2003 Servers (there > are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have > no control over these servers BTW - not mine to manage and the last > time I rebooted one it did not come "back up" and caused chaos) > > Anyway - after a week of googling and various attempts at resolution I > have discovered the issue is because I am running my API request > against is an HTTPS site and not an HTTP site.Turns out Older versions > of IE are either incapable of accessing HTTPS sites or requests to > them are not being processed. This really is an area I have absolutely > no clue about. > > On each of our Win2003 Servers if I paste the API request URL into the > Address field of Firefox or Chrome- I get results. Cool. It's just IE > is the issue. IE won't load an HTTPS sites outside our domain (i.e. > from the real world) IE will load our own internal HTTPS Sites hosted > on our same server and domain. But nothing from the outside world. > > And yes, I have wasted hours and hours over this trying every > conceivable suggestion by the Google world. But obviously not the one > I need :-) Googling phrases and words such as "HTTPS not accessible > IE7" or IE8 can't access https site" yields a whole world of pain for > a great many folk. And the majority of suggestions I truly have tried > - Maybe there is one more I haven't that will be the solution. Happy > to try whatever you suggest. > > So...my question is - Anyone know of an alternative to > CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access > HTTPS sites in the outside world. > > Sorry for the long post - Many thanks in anticipation > > D > > -- > 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 Thu Jul 23 06:44:29 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 07:44:29 -0400 Subject: [AccessD] Dirty property Message-ID: Well, in this particular form, I have a situation where one of either two fields is required, but not both. I'm not sure how I could've normalized it differently, but that's possible. I don't know of any way to validate an either/or requirement at the table level. I think it might be easily done in 2013 with the new data macro feature. I truly think the easiest course -- and I tend to take that road when possible -- is to just remove the Close button from the form and force users to close using the form's command buttons. To be consistent, I guess it's best to remove it from them all. I appreciate the conversation, because learning this business about the form close event and saving is great information. I almost never work in Access anymore though and I've forgotten so much, but I don't believe I ever knew that about Dirty and Form_Close. Susan H. On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Thanks Gustav, > > I am always happy to listen to the experience and advice of those more > talented than I. Appreciate your thoughts on this issue > > Cheers > Darryl. > From gustav at cactus.dk Thu Jul 23 07:00:53 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Jul 2015 12:00:53 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Susan > one of either two fields is required, but not both. That could easily be done in a form. I cannot imagine users are operating at the table level? /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 23. juli 2015 13:44 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Well, in this particular form, I have a situation where one of either two fields is required, but not both. I'm not sure how I could've normalized it differently, but that's possible. I don't know of any way to validate an either/or requirement at the table level. I think it might be easily done in 2013 with the new data macro feature. I truly think the easiest course -- and I tend to take that road when possible -- is to just remove the Close button from the form and force users to close using the form's command buttons. To be consistent, I guess it's best to remove it from them all. I appreciate the conversation, because learning this business about the form close event and saving is great information. I almost never work in Access anymore though and I've forgotten so much, but I don't believe I ever knew that about Dirty and Form_Close. Susan H. On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Thanks Gustav, > > I am always happy to listen to the experience and advice of those more > talented than I. Appreciate your thoughts on this issue > > Cheers > Darryl. From bensonforums at gmail.com Thu Jul 23 07:32:53 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 08:32:53 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: This advice I just found on the web might put this whole thing to bed and give a real solution - without getting rid of the close button. Option Compare Database Option Explicit Dim mbSaving As Boolean Private Sub Form_BeforeUpdate(Cancel As Integer) Dim Ctrl As Control If Not mbSaving Then Cancel = True End If End Sub Private Sub CmdSave_Click() mbSaving = True DoCmd.RunCommand acCmdSaveRecord mbSaving = False End Sub Private Sub Form_Error(DataErr As Integer, Response As Integer) If DataErr = 2169 Then Response = acDataErrContinue End If End Sub An even more robust version here: http://stackoverflow.com/questions/22360220/access-vba-run-time-error-2169-you-cant-save-this-record-at-this-time From ssharkins at gmail.com Thu Jul 23 08:04:49 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 09:04:49 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: No, I didn't mean the users, I meant the design. I'd like to hear how you would handle this -- I'd love to hear it. Would you mind sharing? Right now, I'm just handling it with a bit of simple code that checks for values and doesn't let the user save and continue without supplying one or the other. I could think of no way to do this at the table level, so went with code instead. Susan H. On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > Hi Susan > > > one of either two fields is required, but not both. > > That could easily be done in a form. I cannot imagine users are operating > at the table level? > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 13:44 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > Well, in this particular form, I have a situation where one of either two > fields is required, but not both. I'm not sure how I could've normalized it > differently, but that's possible. I don't know of any way to validate an > either/or requirement at the table level. I think it might be easily done > in 2013 with the new data macro feature. > > I truly think the easiest course -- and I tend to take that road when > possible -- is to just remove the Close button from the form and force > users to close using the form's command buttons. To be consistent, I guess > it's best to remove it from them all. > > I appreciate the conversation, because learning this business about the > form close event and saving is great information. I almost never work in > Access anymore though and I've forgotten so much, but I don't believe I > ever knew that about Dirty and Form_Close. > > Susan H. > > On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Thanks Gustav, > > > > I am always happy to listen to the experience and advice of those more > > talented than I. Appreciate your thoughts on this issue > > > > Cheers > > Darryl. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Thu Jul 23 08:05:33 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 09:05:33 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Thanks Bill. I'm glad to take a look at it. Susan H. On Thu, Jul 23, 2015 at 8:32 AM, Bill Benson wrote: > This advice I just found on the web might put this whole thing to bed and > give a real solution - without getting rid of the close button. > > Option Compare Database > Option Explicit > Dim mbSaving As Boolean > Private Sub Form_BeforeUpdate(Cancel As Integer) > Dim Ctrl As Control > If Not mbSaving Then > Cancel = True > End If > > End Sub > > > Private Sub CmdSave_Click() > mbSaving = True > DoCmd.RunCommand acCmdSaveRecord > mbSaving = False > End Sub > Private Sub Form_Error(DataErr As Integer, Response As Integer) > If DataErr = 2169 Then > Response = acDataErrContinue > End If > End Sub > > An even more robust version here: > > > http://stackoverflow.com/questions/22360220/access-vba-run-time-error-2169-you-cant-save-this-record-at-this-time > -- > 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 Jul 23 08:18:34 2015 From: df.waters at outlook.com (Dan Waters) Date: Thu, 23 Jul 2015 08:18:34 -0500 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) Message-ID: A while back I learned that I could call: Me.Dirty = False to save the current record in a bound form. This became a procedure in a module: ____________________________________ Public Sub DirtyFalse(frm As Form) '-- Purpose: This is called by any form to update all data to underlying tables If frm.RecordSource <> "" Then If frm.Dirty = True Then frm.Dirty = False End If End Sub ____________________________________ I typically call this in a form like this: Call DirtyFalse(Me) This gives me some control over saving data at desirable points in executing code. I use this frequently throughout my form's code. It also avoids an error if the form's recordset happens to not exist at the time, and only sends data to the table if the form is already Dirty. HTH, Dan From gustav at cactus.dk Thu Jul 23 09:15:35 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Jul 2015 14:15:35 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Susan Oh, you mean the schema design? I guess there is no black/white here. If you, for example, count upper and lower teeth, there would hopefully never be a third option. You could argue, that in such a case you should state 0 (zero) for not teeth at all in either or both (and yes, I know dentists operate with a quadrant system with left/right as well). So it depends. I checked with a validation rule of: Is Not Null Or [OtherField] Is Not Null But Access barks that other columns than the current cannot be used in the SQL. Data macros I have never used and probably never will. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 23. juli 2015 15:05 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property No, I didn't mean the users, I meant the design. I'd like to hear how you would handle this -- I'd love to hear it. Would you mind sharing? Right now, I'm just handling it with a bit of simple code that checks for values and doesn't let the user save and continue without supplying one or the other. I could think of no way to do this at the table level, so went with code instead. Susan H. On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > Hi Susan > > > one of either two fields is required, but not both. > > That could easily be done in a form. I cannot imagine users are > operating at the table level? > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 13:44 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > Well, in this particular form, I have a situation where one of either > two fields is required, but not both. I'm not sure how I could've > normalized it differently, but that's possible. I don't know of any > way to validate an either/or requirement at the table level. I think > it might be easily done in 2013 with the new data macro feature. > > I truly think the easiest course -- and I tend to take that road when > possible -- is to just remove the Close button from the form and force > users to close using the form's command buttons. To be consistent, I > guess it's best to remove it from them all. > > I appreciate the conversation, because learning this business about > the form close event and saving is great information. I almost never > work in Access anymore though and I've forgotten so much, but I don't > believe I ever knew that about Dirty and Form_Close. > > Susan H. > > On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Thanks Gustav, > > > > I am always happy to listen to the experience and advice of those > > more talented than I. Appreciate your thoughts on this issue > > > > Cheers > > Darryl. From RockySmolin at bchacc.com Thu Jul 23 09:54:55 2015 From: RockySmolin at bchacc.com (RockySmolin at bchacc.com) Date: Thu, 23 Jul 2015 07:54:55 -0700 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... Message-ID: <20150723075455.86c3debdd1c3983866efe200e2feb95f.d7f65ab843.wbe@email04.secureserver.net> http://www.designnews.com/author.asp?section_id=1386&doc_id=278219&cid=nl.dn14.20150723 I'll bet most of us had one of these. r From gustav at cactus.dk Thu Jul 23 10:22:41 2015 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Jul 2015 15:22:41 +0000 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... Message-ID: Hi Rocky Well, I didn't - and didn't even miss one. It may have been because I worked with the AVL Eagle computer (CB/M based) from 1978 and with the IBM PC from its launch. With the AVL Eagle as a serious tool of that time, and the respectful - not to say frightening - IBM branding of the PC, everything else seemed like toys. And with the Macintosh in 1984 the scene was set. Also, the IBM PC was a real pro design for heavy use, the Macintosh was neat in its own way and represented good engineering while Commodore 64, Amstrad, and Atari were of ugly design and seemed manufactured the cheapest way possible. Perhaps I'm just dull and boring. The only game I found really fascinating is Tetris from the "Microsoft Entertainment Pack for Windows." (notice the dot). Just checked: I still have the box. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 23. juli 2015 16:55 Til: Access Developers discussion and problem solving Emne: [AccessD] The Commodore 64 makes a comeback. Sort of... http://www.designnews.com/author.asp?section_id=1386&doc_id=278219&cid=nl.dn14.20150723 I'll bet most of us had one of these. r From RockySmolin at bchacc.com Thu Jul 23 10:43:16 2015 From: RockySmolin at bchacc.com (RockySmolin at bchacc.com) Date: Thu, 23 Jul 2015 08:43:16 -0700 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... Message-ID: <20150723084316.86c3debdd1c3983866efe200e2feb95f.2f53d25b99.wbe@email04.secureserver.net> -------- Original Message -------- Subject: RE: [AccessD] The Commodore 64 makes a comeback. Sort of... From: Date: Thu, July 23, 2015 8:42 am To: "Access Developers discussion and problem solving" The PC changed my business. Before that we had a machine developed by a local house that had tow 8 inch and two 5 1/4 inch floppies and software to create disks and support our products in any number (a big number) of proprietary formats. We were distributing our own project management system at the time and the PC changed all that by standardizing the formats. r -------- Original Message -------- Subject: Re: [AccessD] The Commodore 64 makes a comeback. Sort of... From: Gustav Brock Date: Thu, July 23, 2015 8:22 am To: Access Developers discussion and problem solving Hi Rocky Well, I didn't - and didn't even miss one. It may have been because I worked with the AVL Eagle computer (CB/M based) from 1978 and with the IBM PC from its launch. With the AVL Eagle as a serious tool of that time, and the respectful - not to say frightening - IBM branding of the PC, everything else seemed like toys. And with the Macintosh in 1984 the scene was set. Also, the IBM PC was a real pro design for heavy use, the Macintosh was neat in its own way and represented good engineering while Commodore 64, Amstrad, and Atari were of ugly design and seemed manufactured the cheapest way possible. Perhaps I'm just dull and boring. The only game I found really fascinating is Tetris from the "Microsoft Entertainment Pack for Windows." (notice the dot). Just checked: I still have the box. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 23. juli 2015 16:55 Til: Access Developers discussion and problem solving Emne: [AccessD] The Commodore 64 makes a comeback. Sort of... http://www.designnews.com/author.asp?section_id=1386&doc_id=278219&cid=nl.dn14.20150723 I'll bet most of us had one of these. r -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Jul 23 10:53:44 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 11:53:44 -0400 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) Message-ID: Thanks. :) For me, I think the question is knowing when to call it. :) When the place gets quiet this afternoon, I'll definitely try this. Susan H. A while back I learned that I could call: > > Me.Dirty = False > > to save the current record in a bound form. > > This became a procedure in a module: > > ____________________________________ > Public Sub DirtyFalse(frm As Form) > > '-- Purpose: This is called by any form to update all data to > underlying tables > > If frm.RecordSource <> "" Then > If frm.Dirty = True Then frm.Dirty = False > End If > > End Sub > ____________________________________ > > I typically call this in a form like this: > > Call DirtyFalse(Me) > > This gives me some control over saving data at desirable points in > executing > code. I use this frequently throughout my form's code. > > It also avoids an error if the form's recordset happens to not exist at the > time, and only sends data to the table if the form is already Dirty. > > HTH, > Dan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Thu Jul 23 12:51:41 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 13:51:41 -0400 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) In-Reply-To: References: Message-ID: Why would you want to do this when the issue was trying to *NOT* save the file (ie, update any records) - on closing? What am I missing friends? On Thu, Jul 23, 2015 at 11:53 AM, Susan Harkins wrote: > Thanks. :) For me, I think the question is knowing when to call it. :) When > the place gets quiet this afternoon, I'll definitely try this. > > Susan H. > > > A while back I learned that I could call: > > > > Me.Dirty = False > > > > to save the current record in a bound form. > > > > This became a procedure in a module: > > > > ____________________________________ > > Public Sub DirtyFalse(frm As Form) > > > > '-- Purpose: This is called by any form to update all data to > > underlying tables > > > > If frm.RecordSource <> "" Then > > If frm.Dirty = True Then frm.Dirty = False > > End If > > > > End Sub > > ____________________________________ > > > > I typically call this in a form like this: > > > > Call DirtyFalse(Me) > > > > This gives me some control over saving data at desirable points in > > executing > > code. I use this frequently throughout my form's code. > > > > It also avoids an error if the form's recordset happens to not exist at > the > > time, and only sends data to the table if the form is already Dirty. > > > > HTH, > > Dan > > > > > > -- > > 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 Thu Jul 23 13:47:36 2015 From: df.waters at outlook.com (Dan Waters) Date: Thu, 23 Jul 2015 13:47:36 -0500 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) Message-ID: This just a related subject. Dan Sent from my Windows Phone ________________________________ From: Bill Benson Sent: ?7/?23/?2015 12:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirtyFalse Procedure (was Dirty property) Why would you want to do this when the issue was trying to *NOT* save the file (ie, update any records) - on closing? What am I missing friends? On Thu, Jul 23, 2015 at 11:53 AM, Susan Harkins wrote: > Thanks. :) For me, I think the question is knowing when to call it. :) When > the place gets quiet this afternoon, I'll definitely try this. > > Susan H. > > > A while back I learned that I could call: > > > > Me.Dirty = False > > > > to save the current record in a bound form. > > > > This became a procedure in a module: > > > > ____________________________________ > > Public Sub DirtyFalse(frm As Form) > > > > '-- Purpose: This is called by any form to update all data to > > underlying tables > > > > If frm.RecordSource <> "" Then > > If frm.Dirty = True Then frm.Dirty = False > > End If > > > > End Sub > > ____________________________________ > > > > I typically call this in a form like this: > > > > Call DirtyFalse(Me) > > > > This gives me some control over saving data at desirable points in > > executing > > code. I use this frequently throughout my form's code. > > > > It also avoids an error if the form's recordset happens to not exist at > the > > time, and only sends data to the table if the form is already Dirty. > > > > HTH, > > Dan > > > > > > -- > > 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 Salato at ky.gov Thu Jul 23 14:40:03 2015 From: Salato at ky.gov (FW Salato Center) Date: Thu, 23 Jul 2015 19:40:03 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: I'm using an If with ISNULL and that part works fine with the Save button I've added to the form. Susan H. Hi Susan Oh, you mean the schema design? I guess there is no black/white here. If you, for example, count upper and lower teeth, there would hopefully never be a third option. You could argue, that in such a case you should state 0 (zero) for not teeth at all in either or both (and yes, I know dentists operate with a quadrant system with left/right as well). So it depends. I checked with a validation rule of: Is Not Null Or [OtherField] Is Not Null But Access barks that other columns than the current cannot be used in the SQL. Data macros I have never used and probably never will. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 23. juli 2015 15:05 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property No, I didn't mean the users, I meant the design. I'd like to hear how you would handle this -- I'd love to hear it. Would you mind sharing? Right now, I'm just handling it with a bit of simple code that checks for values and doesn't let the user save and continue without supplying one or the other. I could think of no way to do this at the table level, so went with code instead. Susan H. On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > Hi Susan > > > one of either two fields is required, but not both. > > That could easily be done in a form. I cannot imagine users are > operating at the table level? > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 13:44 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > Well, in this particular form, I have a situation where one of either > two fields is required, but not both. I'm not sure how I could've > normalized it differently, but that's possible. I don't know of any > way to validate an either/or requirement at the table level. I think > it might be easily done in 2013 with the new data macro feature. > > I truly think the easiest course -- and I tend to take that road when > possible -- is to just remove the Close button from the form and force > users to close using the form's command buttons. To be consistent, I > guess it's best to remove it from them all. > > I appreciate the conversation, because learning this business about > the form close event and saving is great information. I almost never > work in Access anymore though and I've forgotten so much, but I don't > believe I ever knew that about Dirty and Form_Close. > > Susan H. > > On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Thanks Gustav, > > > > I am always happy to listen to the experience and advice of those > > more talented than I. Appreciate your thoughts on this issue > > > > Cheers > > Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Salato at ky.gov Thu Jul 23 15:06:49 2015 From: Salato at ky.gov (FW Salato Center) Date: Thu, 23 Jul 2015 20:06:49 +0000 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) In-Reply-To: References: Message-ID: It's not a question of not saving the current record. I'm making sure that one of those fields has a value when the user tries to save the record. If they use the close button to close the form, I don't want them saving when prompted without checking those fields. Susan H. Why would you want to do this when the issue was trying to *NOT* save the file (ie, update any records) - on closing? What am I missing friends? On Thu, Jul 23, 2015 at 11:53 AM, Susan Harkins wrote: > Thanks. :) For me, I think the question is knowing when to call it. :) > When the place gets quiet this afternoon, I'll definitely try this. > > Susan H. > > > A while back I learned that I could call: > > > > Me.Dirty = False > > > > to save the current record in a bound form. > > > > This became a procedure in a module: > > > > ____________________________________ > > Public Sub DirtyFalse(frm As Form) > > > > '-- Purpose: This is called by any form to update all data to > > underlying tables > > > > If frm.RecordSource <> "" Then > > If frm.Dirty = True Then frm.Dirty = False > > End If > > > > End Sub > > ____________________________________ > > > > I typically call this in a form like this: > > > > Call DirtyFalse(Me) > > > > This gives me some control over saving data at desirable points in > > executing code. I use this frequently throughout my form's code. > > > > It also avoids an error if the form's recordset happens to not exist > > at > the > > time, and only sends data to the table if the form is already Dirty. > > > > HTH, > > Dan > > > > > > -- > > 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 df.waters at outlook.com Thu Jul 23 15:26:15 2015 From: df.waters at outlook.com (Dan Waters) Date: Thu, 23 Jul 2015 15:26:15 -0500 Subject: [AccessD] ReadyToClose Function Message-ID: Hi Susan, I do something like this on forms: ____________________________________ Private Sub butClose_Click() If ReadyToClose = False then Exit Sub End Sub Private Function ReadyToClose () As Boolean If txtNameFirst = "" Then txtNameFirst.SetFocus ReadyToClose = False End If If txtNameLast = "" Then txtNameLast.SetFocus ReadyToClose = False End If ReadyToClose = True End Function ____________________________________ Within the ReadyToClose function you can come up with any conditional situation you need. You can also add a message if that helps your users. Also, for every control on a Form I set the background color to a pale yellow. This helps people to quickly see what they need to do. HTH, Dan From bensonforums at gmail.com Thu Jul 23 15:27:43 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 16:27:43 -0400 Subject: [AccessD] DirtyFalse Procedure (was Dirty property) In-Reply-To: References: Message-ID: Well if in this situation and they were closing the form before a record was completed and you wanted to give them the opportunity to complete the record rather than close out the form couldn't you still use the method but in the former error event set a flag to check in the unload event? Whereupon you could then offer the user the choice to stay or not. In the former after update, set that flag false again. On Jul 23, 2015 4:08 PM, "FW Salato Center" wrote: > It's not a question of not saving the current record. I'm making sure that > one of those fields has a value when the user tries to save the record. If > they use the close button to close the form, I don't want them saving when > prompted without checking those fields. > > Susan H. > > Why would you want to do this when the issue was trying to *NOT* save the > file (ie, update any records) - on closing? What am I missing friends? > > On Thu, Jul 23, 2015 at 11:53 AM, Susan Harkins > wrote: > > > Thanks. :) For me, I think the question is knowing when to call it. :) > > When the place gets quiet this afternoon, I'll definitely try this. > > > > Susan H. > > > > > > A while back I learned that I could call: > > > > > > Me.Dirty = False > > > > > > to save the current record in a bound form. > > > > > > This became a procedure in a module: > > > > > > ____________________________________ > > > Public Sub DirtyFalse(frm As Form) > > > > > > '-- Purpose: This is called by any form to update all data to > > > underlying tables > > > > > > If frm.RecordSource <> "" Then > > > If frm.Dirty = True Then frm.Dirty = False > > > End If > > > > > > End Sub > > > ____________________________________ > > > > > > I typically call this in a form like this: > > > > > > Call DirtyFalse(Me) > > > > > > This gives me some control over saving data at desirable points in > > > executing code. I use this frequently throughout my form's code. > > > > > > It also avoids an error if the form's recordset happens to not exist > > > at > > the > > > time, and only sends data to the table if the form is already Dirty. > > > > > > HTH, > > > Dan > > > > > > > > > -- > > > 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 df.waters at outlook.com Thu Jul 23 15:30:46 2015 From: df.waters at outlook.com (Dan Waters) Date: Thu, 23 Jul 2015 15:30:46 -0500 Subject: [AccessD] ReadyToClose Function - fixed Message-ID: -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 23, 2015 3:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] ReadyToClose Function Hi Susan, I do something like this on forms: ____________________________________ Private Sub butClose_Click() If ReadyToClose = False then Exit Sub End Sub Private Function ReadyToClose () As Boolean If txtNameFirst = "" Then txtNameFirst.SetFocus ReadyToClose = False Exit Sub End If If txtNameLast = "" Then txtNameLast.SetFocus ReadyToClose = False Exit Sub End If ReadyToClose = True End Function ____________________________________ Within the ReadyToClose function you can come up with any conditional situation you need. You can also add a message if that helps your users. Also, for every control on a Form I set the background color to a pale yellow. This helps people to quickly see what they need to do. HTH, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Jul 23 16:09:02 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 09:09:02 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> You can use a table level validation rule, and in fact this is the way I would do it. Under Table Properties. [SomeField] Is Not Null Or [AnotherField] Is Not Null Regards Steve -----Original Message----- From: Gustav Brock Sent: Friday, July 24, 2015 2:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Hi Susan Oh, you mean the schema design? I guess there is no black/white here. If you, for example, count upper and lower teeth, there would hopefully never be a third option. You could argue, that in such a case you should state 0 (zero) for not teeth at all in either or both (and yes, I know dentists operate with a quadrant system with left/right as well). So it depends. I checked with a validation rule of: Is Not Null Or [OtherField] Is Not Null But Access barks that other columns than the current cannot be used in the SQL. Data macros I have never used and probably never will. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 23. juli 2015 15:05 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property No, I didn't mean the users, I meant the design. I'd like to hear how you would handle this -- I'd love to hear it. Would you mind sharing? Right now, I'm just handling it with a bit of simple code that checks for values and doesn't let the user save and continue without supplying one or the other. I could think of no way to do this at the table level, so went with code instead. Susan H. On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > Hi Susan > > > one of either two fields is required, but not both. > > That could easily be done in a form. I cannot imagine users are > operating at the table level? > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 13:44 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > Well, in this particular form, I have a situation where one of either > two fields is required, but not both. I'm not sure how I could've > normalized it differently, but that's possible. I don't know of any > way to validate an either/or requirement at the table level. I think > it might be easily done in 2013 with the new data macro feature. > > I truly think the easiest course -- and I tend to take that road when > possible -- is to just remove the Close button from the form and force > users to close using the form's command buttons. To be consistent, I > guess it's best to remove it from them all. > > I appreciate the conversation, because learning this business about > the form close event and saving is great information. I almost never > work in Access anymore though and I've forgotten so much, but I don't > believe I ever knew that about Dirty and Form_Close. > > Susan H. > > On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > Thanks Gustav, > > > > I am always happy to listen to the experience and advice of those > > more talented than I. Appreciate your thoughts on this issue > > > > Cheers > > Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Thu Jul 23 16:12:08 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 17:12:08 -0400 Subject: [AccessD] Dirty property In-Reply-To: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> References: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> Message-ID: If so then when the user goes to close the form, aren't they going to still get honked at by Access, if one doesn't use the form_error event? On Jul 23, 2015 5:10 PM, "Steve Schapel" wrote: > You can use a table level validation rule, and in fact this is the way I > would do it. Under Table Properties. > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > Regards > Steve > > -----Original Message----- From: Gustav Brock > Sent: Friday, July 24, 2015 2:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Hi Susan > > Oh, you mean the schema design? I guess there is no black/white here. > > If you, for example, count upper and lower teeth, there would hopefully > never be a third option. You could argue, that in such a case you should > state 0 (zero) for not teeth at all in either or both (and yes, I know > dentists operate with a quadrant system with left/right as well). > > So it depends. > > I checked with a validation rule of: > > Is Not Null Or [OtherField] Is Not Null > > But Access barks that other columns than the current cannot be used in the > SQL. > Data macros I have never used and probably never will. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 15:05 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > No, I didn't mean the users, I meant the design. I'd like to hear how you > would handle this -- I'd love to hear it. Would you mind sharing? Right > now, I'm just handling it with a bit of simple code that checks for values > and doesn't let the user save and continue without supplying one or the > other. I could think of no way to do this at the table level, so went with > code instead. > > Susan H. > > On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > > Hi Susan >> >> > one of either two fields is required, but not both. >> >> That could easily be done in a form. I cannot imagine users are >> operating at the table level? >> >> /gustav >> >> -----Oprindelig meddelelse----- >> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >> Susan Harkins >> Sendt: 23. juli 2015 13:44 >> Til: Access Developers discussion and problem solving >> Emne: Re: [AccessD] Dirty property >> >> Well, in this particular form, I have a situation where one of either >> two fields is required, but not both. I'm not sure how I could've >> normalized it differently, but that's possible. I don't know of any >> way to validate an either/or requirement at the table level. I think >> it might be easily done in 2013 with the new data macro feature. >> >> I truly think the easiest course -- and I tend to take that road when >> possible -- is to just remove the Close button from the form and force >> users to close using the form's command buttons. To be consistent, I >> guess it's best to remove it from them all. >> >> I appreciate the conversation, because learning this business about >> the form close event and saving is great information. I almost never >> work in Access anymore though and I've forgotten so much, but I don't >> believe I ever knew that about Dirty and Form_Close. >> >> Susan H. >> >> On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < >> darryl at whittleconsulting.com.au> wrote: >> >> > Thanks Gustav, >> > >> > I am always happy to listen to the experience and advice of those >> > more talented than I. Appreciate your thoughts on this issue >> > >> > Cheers >> > Darryl. >> > > -- > 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 steve at datamanagementsolutions.biz Thu Jul 23 16:20:58 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 09:20:58 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Hi Susan Your conclusion is correct, but the rationale not quite right. I think you are assuming that the form's Close event is directly connected to the Close button in the form's Control Box. It's not. If that Close button is visible (which incidentally I never allow), and if it's clicked, there is a series of form events that are triggered. Probably AfterInsert in the case of a new record, followed by BeforeUpdate, AfterUpdate, Unload, and then Close. Don't quote me on the exact details ... but, you get the idea. So, the point is, that by the time the form's Close event comes around, the record has already been saved, and therefore that event is too late in the process to be testing for the value of the Dirty property - by that time it will always be False, not because you "cancel the current state of the form", but because the record has been saved and therefore it is not Dirty. Regards Steve -----Original Message----- From: Susan Harkins Sent: Thursday, July 23, 2015 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Well I don't mean to start anything, but I an willing to learn. What I think you're saying is... Access assumes when you click the Close button that you want to cancel the current state of the form... and thus... the Dirty property will also be False. If this is correct, I know how to proceed and I'm glad for the discussion. :) I'm just going to disable the Close button. :) Susan H. On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > This is why you want to use unbound controls, as they behave as the user > would expect - not as the database does. When a user 'cancels' a form > they > expect the record to be dropped. This is not the case when using a bound > form. > > Naturally this topic (bound/unbound) often ignites a firefight - so sorry > for bringing it up, but that is my experience and one of the many reasons > I > use unbound forms. > > Cheers > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Thursday, 23 July 2015 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > So, usurping the form's Close event doesn't keep it from saving -- that's > confusing to me. What am I missing? Why would the Close button save the > record? I expect it to prompt me, not automatically save. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Jul 23 16:26:22 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 09:26:22 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> Message-ID: Bill Surely, getting honked at by Access if the data fails the validation rule is precisely the desired outcome. Regards Steve -----Original Message----- From: Bill Benson Sent: Friday, July 24, 2015 9:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property If so then when the user goes to close the form, aren't they going to still get honked at by Access, if one doesn't use the form_error event? On Jul 23, 2015 5:10 PM, "Steve Schapel" wrote: > You can use a table level validation rule, and in fact this is the way I > would do it. Under Table Properties. > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > Regards > Steve > > -----Original Message----- From: Gustav Brock > Sent: Friday, July 24, 2015 2:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Hi Susan > > Oh, you mean the schema design? I guess there is no black/white here. > > If you, for example, count upper and lower teeth, there would hopefully > never be a third option. You could argue, that in such a case you should > state 0 (zero) for not teeth at all in either or both (and yes, I know > dentists operate with a quadrant system with left/right as well). > > So it depends. > > I checked with a validation rule of: > > Is Not Null Or [OtherField] Is Not Null > > But Access barks that other columns than the current cannot be used in the > SQL. > Data macros I have never used and probably never will. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 23. juli 2015 15:05 > Til: Access Developers discussion and problem solving > Emne: Re: [AccessD] Dirty property > > No, I didn't mean the users, I meant the design. I'd like to hear how you > would handle this -- I'd love to hear it. Would you mind sharing? Right > now, I'm just handling it with a bit of simple code that checks for values > and doesn't let the user save and continue without supplying one or the > other. I could think of no way to do this at the table level, so went with > code instead. > > Susan H. > > On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: > > Hi Susan >> >> > one of either two fields is required, but not both. >> >> That could easily be done in a form. I cannot imagine users are >> operating at the table level? >> >> /gustav >> >> -----Oprindelig meddelelse----- >> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >> Susan Harkins >> Sendt: 23. juli 2015 13:44 >> Til: Access Developers discussion and problem solving >> Emne: Re: [AccessD] Dirty property >> >> Well, in this particular form, I have a situation where one of either >> two fields is required, but not both. I'm not sure how I could've >> normalized it differently, but that's possible. I don't know of any >> way to validate an either/or requirement at the table level. I think >> it might be easily done in 2013 with the new data macro feature. >> >> I truly think the easiest course -- and I tend to take that road when >> possible -- is to just remove the Close button from the form and force >> users to close using the form's command buttons. To be consistent, I >> guess it's best to remove it from them all. >> >> I appreciate the conversation, because learning this business about >> the form close event and saving is great information. I almost never >> work in Access anymore though and I've forgotten so much, but I don't >> believe I ever knew that about Dirty and Form_Close. >> >> Susan H. >> >> On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < >> darryl at whittleconsulting.com.au> wrote: >> >> > Thanks Gustav, >> > >> > I am always happy to listen to the experience and advice of those >> > more talented than I. Appreciate your thoughts on this issue >> > >> > Cheers >> > Darryl. >> > > -- > 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 bensonforums at gmail.com Thu Jul 23 16:43:32 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 17:43:32 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> Message-ID: Why surely? Would your users be able to make heads or tails of that particular error message? Mine certainly would not. So, it you want them honked at, I would use the Form_Error to trap that error and honk something more appropriate, with confirmation buttons like Yes, No, and Cancel. On Thu, Jul 23, 2015 at 5:26 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Bill > > Surely, getting honked at by Access if the data fails the validation rule > is precisely the desired outcome. > > Regards > Steve > > -----Original Message----- From: Bill Benson > Sent: Friday, July 24, 2015 9:12 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > If so then when the user goes to close the form, aren't they going to still > get honked at by Access, if one doesn't use the form_error event? > On Jul 23, 2015 5:10 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > You can use a table level validation rule, and in fact this is the way I >> would do it. Under Table Properties. >> [SomeField] Is Not Null Or [AnotherField] Is Not Null >> >> Regards >> Steve >> >> -----Original Message----- From: Gustav Brock >> Sent: Friday, July 24, 2015 2:15 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> Hi Susan >> >> Oh, you mean the schema design? I guess there is no black/white here. >> >> If you, for example, count upper and lower teeth, there would hopefully >> never be a third option. You could argue, that in such a case you should >> state 0 (zero) for not teeth at all in either or both (and yes, I know >> dentists operate with a quadrant system with left/right as well). >> >> So it depends. >> >> I checked with a validation rule of: >> >> Is Not Null Or [OtherField] Is Not Null >> >> But Access barks that other columns than the current cannot be used in the >> SQL. >> Data macros I have never used and probably never will. >> >> /gustav >> >> -----Oprindelig meddelelse----- >> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >> Susan Harkins >> Sendt: 23. juli 2015 15:05 >> Til: Access Developers discussion and problem solving >> Emne: Re: [AccessD] Dirty property >> >> No, I didn't mean the users, I meant the design. I'd like to hear how you >> would handle this -- I'd love to hear it. Would you mind sharing? Right >> now, I'm just handling it with a bit of simple code that checks for values >> and doesn't let the user save and continue without supplying one or the >> other. I could think of no way to do this at the table level, so went with >> code instead. >> >> Susan H. >> >> On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: >> >> Hi Susan >> >>> >>> > one of either two fields is required, but not both. >>> >>> That could easily be done in a form. I cannot imagine users are >>> operating at the table level? >>> >>> /gustav >>> >>> -----Oprindelig meddelelse----- >>> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >>> Susan Harkins >>> Sendt: 23. juli 2015 13:44 >>> Til: Access Developers discussion and problem solving >>> Emne: Re: [AccessD] Dirty property >>> >>> Well, in this particular form, I have a situation where one of either >>> two fields is required, but not both. I'm not sure how I could've >>> normalized it differently, but that's possible. I don't know of any >>> way to validate an either/or requirement at the table level. I think >>> it might be easily done in 2013 with the new data macro feature. >>> >>> I truly think the easiest course -- and I tend to take that road when >>> possible -- is to just remove the Close button from the form and force >>> users to close using the form's command buttons. To be consistent, I >>> guess it's best to remove it from them all. >>> >>> I appreciate the conversation, because learning this business about >>> the form close event and saving is great information. I almost never >>> work in Access anymore though and I've forgotten so much, but I don't >>> believe I ever knew that about Dirty and Form_Close. >>> >>> Susan H. >>> >>> On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < >>> darryl at whittleconsulting.com.au> wrote: >>> >>> > Thanks Gustav, >>> > >>> > I am always happy to listen to the experience and advice of those >>> > more talented than I. Appreciate your thoughts on this issue >>> > >>> > Cheers >>> > Darryl. >>> >>> >> -- >> 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 bensonforums at gmail.com Thu Jul 23 16:48:45 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 17:48:45 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: I have to disagree with part of that answer Steve. The Close event does NOT need to fire if the Unload event has cancel in it - which it could and would if you set a flag in the Before_Update event which causes it to bail in a graceful manner (ie, by sending them an error in the Form_Error event, and then the Cancel =True in the Unload Event if they were not to be permitted to close the form via the close button. I have no problem with the close button in this case. Admittedly I have not played with it that long, but I have to ask, have you even tried the combination of testing whether any of the required fields are empty in the Form's Before_)Update event, and if not all populated, setting a boolean flag that will void the Unload event? I am sensing resistance to this method before anyone has proved it to be worth disregarding. To me it seems quite robust, but this is the last time I am going to champion it - because ... I DO NOT USE BOUND FORMS LOL. On Thu, Jul 23, 2015 at 5:20 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Hi Susan > > Your conclusion is correct, but the rationale not quite right. I think > you are assuming that the form's Close event is directly connected to the > Close button in the form's Control Box. It's not. If that Close button is > visible (which incidentally I never allow), and if it's clicked, there is a > series of form events that are triggered. Probably AfterInsert in the case > of a new record, followed by BeforeUpdate, AfterUpdate, Unload, and then > Close. Don't quote me on the exact details ... but, you get the idea. So, > the point is, that by the time the form's Close event comes around, the > record has already been saved, and therefore that event is too late in the > process to be testing for the value of the Dirty property - by that time it > will always be False, not because you "cancel the current state of the > form", but because the record has been saved and therefore it is not Dirty. > > Regards > Steve > > > -----Original Message----- From: Susan Harkins > Sent: Thursday, July 23, 2015 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Well I don't mean to start anything, but I an willing to learn. What I > think you're saying is... Access assumes when you click the Close button > that you want to cancel the current state of the form... and thus... the > Dirty property will also be False. If this is correct, I know how to > proceed and I'm glad for the discussion. :) I'm just going to disable the > Close button. :) > > Susan H. > > On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > This is why you want to use unbound controls, as they behave as the user >> would expect - not as the database does. When a user 'cancels' a form >> they >> expect the record to be dropped. This is not the case when using a bound >> form. >> >> Naturally this topic (bound/unbound) often ignites a firefight - so sorry >> for bringing it up, but that is my experience and one of the many reasons >> I >> use unbound forms. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Susan Harkins >> Sent: Thursday, 23 July 2015 8:52 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> So, usurping the form's Close event doesn't keep it from saving -- that's >> confusing to me. What am I missing? Why would the Close button save the >> record? I expect it to prompt me, not automatically save. >> >> >> -- > 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 steve at datamanagementsolutions.biz Thu Jul 23 17:04:15 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 10:04:15 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> Message-ID: <511A1DEEE02E4D36AB55941471E86A98@SteveT540p> Bill There is a Validation Rule property, and a Validation Text property. What I gave before was an example of a Validation Rule. The user-friendly notification message is what you put in for the Validation Text. Have you ever used validation rules? Regards Steve -----Original Message----- From: Bill Benson Sent: Friday, July 24, 2015 9:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Why surely? Would your users be able to make heads or tails of that particular error message? Mine certainly would not. So, it you want them honked at, I would use the Form_Error to trap that error and honk something more appropriate, with confirmation buttons like Yes, No, and Cancel. On Thu, Jul 23, 2015 at 5:26 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Bill > > Surely, getting honked at by Access if the data fails the validation rule > is precisely the desired outcome. > > Regards > Steve > > -----Original Message----- From: Bill Benson > Sent: Friday, July 24, 2015 9:12 AM > > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > If so then when the user goes to close the form, aren't they going to > still > get honked at by Access, if one doesn't use the form_error event? > On Jul 23, 2015 5:10 PM, "Steve Schapel" < > steve at datamanagementsolutions.biz> > wrote: > > You can use a table level validation rule, and in fact this is the way I >> would do it. Under Table Properties. >> [SomeField] Is Not Null Or [AnotherField] Is Not Null >> >> Regards >> Steve >> >> -----Original Message----- From: Gustav Brock >> Sent: Friday, July 24, 2015 2:15 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> Hi Susan >> >> Oh, you mean the schema design? I guess there is no black/white here. >> >> If you, for example, count upper and lower teeth, there would hopefully >> never be a third option. You could argue, that in such a case you should >> state 0 (zero) for not teeth at all in either or both (and yes, I know >> dentists operate with a quadrant system with left/right as well). >> >> So it depends. >> >> I checked with a validation rule of: >> >> Is Not Null Or [OtherField] Is Not Null >> >> But Access barks that other columns than the current cannot be used in >> the >> SQL. >> Data macros I have never used and probably never will. >> >> /gustav >> >> -----Oprindelig meddelelse----- >> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >> Susan Harkins >> Sendt: 23. juli 2015 15:05 >> Til: Access Developers discussion and problem solving >> Emne: Re: [AccessD] Dirty property >> >> No, I didn't mean the users, I meant the design. I'd like to hear how you >> would handle this -- I'd love to hear it. Would you mind sharing? Right >> now, I'm just handling it with a bit of simple code that checks for >> values >> and doesn't let the user save and continue without supplying one or the >> other. I could think of no way to do this at the table level, so went >> with >> code instead. >> >> Susan H. >> >> On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: >> >> Hi Susan >> >>> >>> > one of either two fields is required, but not both. >>> >>> That could easily be done in a form. I cannot imagine users are >>> operating at the table level? >>> >>> /gustav >>> >>> -----Oprindelig meddelelse----- >>> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >>> Susan Harkins >>> Sendt: 23. juli 2015 13:44 >>> Til: Access Developers discussion and problem solving >>> Emne: Re: [AccessD] Dirty property >>> >>> Well, in this particular form, I have a situation where one of either >>> two fields is required, but not both. I'm not sure how I could've >>> normalized it differently, but that's possible. I don't know of any >>> way to validate an either/or requirement at the table level. I think >>> it might be easily done in 2013 with the new data macro feature. >>> >>> I truly think the easiest course -- and I tend to take that road when >>> possible -- is to just remove the Close button from the form and force >>> users to close using the form's command buttons. To be consistent, I >>> guess it's best to remove it from them all. >>> >>> I appreciate the conversation, because learning this business about >>> the form close event and saving is great information. I almost never >>> work in Access anymore though and I've forgotten so much, but I don't >>> believe I ever knew that about Dirty and Form_Close. >>> >>> Susan H. >>> >>> On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < >>> darryl at whittleconsulting.com.au> wrote: >>> >>> > Thanks Gustav, >>> > >>> > I am always happy to listen to the experience and advice of those >>> > more talented than I. Appreciate your thoughts on this issue >>> > >>> > Cheers >>> > Darryl. >>> >>> >> -- >> 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 steve at datamanagementsolutions.biz Thu Jul 23 17:08:13 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 10:08:13 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <7876450954D4401F986288FD99AE3173@SteveT540p> Bill You have misunderstood me. I totally agree with you. If you want to use form events to validate data when the form is being closed, then absolutely no problem. Before Update is the way to go in my opinion. I was not trying to advocate otherwise, I was just trying to explain to Susan the reason for the behaviour she was seeing. Thanks. Regards Steve -----Original Message----- From: Bill Benson Sent: Friday, July 24, 2015 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property I have to disagree with part of that answer Steve. The Close event does NOT need to fire if the Unload event has cancel in it - which it could and would if you set a flag in the Before_Update event which causes it to bail in a graceful manner (ie, by sending them an error in the Form_Error event, and then the Cancel =True in the Unload Event if they were not to be permitted to close the form via the close button. I have no problem with the close button in this case. Admittedly I have not played with it that long, but I have to ask, have you even tried the combination of testing whether any of the required fields are empty in the Form's Before_)Update event, and if not all populated, setting a boolean flag that will void the Unload event? I am sensing resistance to this method before anyone has proved it to be worth disregarding. To me it seems quite robust, but this is the last time I am going to champion it - because ... I DO NOT USE BOUND FORMS LOL. On Thu, Jul 23, 2015 at 5:20 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Hi Susan > > Your conclusion is correct, but the rationale not quite right. I think > you are assuming that the form's Close event is directly connected to the > Close button in the form's Control Box. It's not. If that Close button > is > visible (which incidentally I never allow), and if it's clicked, there is > a > series of form events that are triggered. Probably AfterInsert in the > case > of a new record, followed by BeforeUpdate, AfterUpdate, Unload, and then > Close. Don't quote me on the exact details ... but, you get the idea. > So, > the point is, that by the time the form's Close event comes around, the > record has already been saved, and therefore that event is too late in the > process to be testing for the value of the Dirty property - by that time > it > will always be False, not because you "cancel the current state of the > form", but because the record has been saved and therefore it is not > Dirty. > > Regards > Steve > > > -----Original Message----- From: Susan Harkins > Sent: Thursday, July 23, 2015 12:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Well I don't mean to start anything, but I an willing to learn. What I > think you're saying is... Access assumes when you click the Close button > that you want to cancel the current state of the form... and thus... the > Dirty property will also be False. If this is correct, I know how to > proceed and I'm glad for the discussion. :) I'm just going to disable the > Close button. :) > > Susan H. > > On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > This is why you want to use unbound controls, as they behave as the user >> would expect - not as the database does. When a user 'cancels' a form >> they >> expect the record to be dropped. This is not the case when using a bound >> form. >> >> Naturally this topic (bound/unbound) often ignites a firefight - so sorry >> for bringing it up, but that is my experience and one of the many reasons >> I >> use unbound forms. >> >> Cheers >> Darryl. >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Susan Harkins >> Sent: Thursday, 23 July 2015 8:52 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> So, usurping the form's Close event doesn't keep it from saving -- that's >> confusing to me. What am I missing? Why would the Close button save the >> record? I expect it to prompt me, not automatically save. >> >> >> -- > 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 ssharkins at gmail.com Thu Jul 23 17:30:09 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 18:30:09 -0400 Subject: [AccessD] Dirty property Message-ID: Steve, that might be exactly what I need. I'll take a look. Thanks for mentioning it. Susan H. On Thu, Jul 23, 2015 at 5:09 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > You can use a table level validation rule, and in fact this is the way I > would do it. Under Table Properties. > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > Regards > Steve > > From ssharkins at gmail.com Thu Jul 23 18:36:18 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Jul 2015 19:36:18 -0400 Subject: [AccessD] Dirty property Message-ID: Got it. :) The button goes. I am glad for all the help. Thank you! Susan H. On Thu, Jul 23, 2015 at 5:20 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Hi Susan > > Your conclusion is correct, but the rationale not quite right. I think > you are assuming that the form's Close event is directly connected to the > Close button in the form's Control Box. It's not. If that Close button is > visible (which incidentally I never allow), and if it's clicked, there is a > series of form events that are triggered. Probably AfterInsert in the case > of a new record, followed by BeforeUpdate, AfterUpdate, Unload, and then > Close. Don't quote me on the exact details ... but, you get the idea. So, > the point is, that by the time the form's Close event comes around, the > record has already been saved, and therefore that event is too late in the > process to be testing for the value of the Dirty property - by that time it > will always be False, not because you "cancel the current state of the > form", but because the record has been saved and therefore it is not Dirty. > > From bensonforums at gmail.com Thu Jul 23 19:13:52 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 20:13:52 -0400 Subject: [AccessD] Dirty property In-Reply-To: <511A1DEEE02E4D36AB55941471E86A98@SteveT540p> References: <01B880E16A024193AC4D333EF1C95E68@SteveT540p> <511A1DEEE02E4D36AB55941471E86A98@SteveT540p> Message-ID: No, never. Might try them. I am far more a vba maven, trying to learn and use all the vba capabilities than an access developer. Glad we have alternative methods. And gladden still if Susan has what she needs to get work done. On Jul 23, 2015 6:05 PM, "Steve Schapel" wrote: > Bill > > There is a Validation Rule property, and a Validation Text property. What > I gave before was an example of a Validation Rule. The user-friendly > notification message is what you put in for the Validation Text. Have you > ever used validation rules? > > Regards > Steve > > -----Original Message----- From: Bill Benson > Sent: Friday, July 24, 2015 9:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Why surely? Would your users be able to make heads or tails of that > particular error message? Mine certainly would not. So, it you want them > honked at, I would use the Form_Error to trap that error and honk something > more appropriate, with confirmation buttons like Yes, No, and Cancel. > > On Thu, Jul 23, 2015 at 5:26 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > Bill >> >> Surely, getting honked at by Access if the data fails the validation rule >> is precisely the desired outcome. >> >> Regards >> Steve >> >> -----Original Message----- From: Bill Benson >> Sent: Friday, July 24, 2015 9:12 AM >> >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> If so then when the user goes to close the form, aren't they going to >> still >> get honked at by Access, if one doesn't use the form_error event? >> On Jul 23, 2015 5:10 PM, "Steve Schapel" < >> steve at datamanagementsolutions.biz> >> wrote: >> >> You can use a table level validation rule, and in fact this is the way I >> >>> would do it. Under Table Properties. >>> [SomeField] Is Not Null Or [AnotherField] Is Not Null >>> >>> Regards >>> Steve >>> >>> -----Original Message----- From: Gustav Brock >>> Sent: Friday, July 24, 2015 2:15 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Dirty property >>> >>> Hi Susan >>> >>> Oh, you mean the schema design? I guess there is no black/white here. >>> >>> If you, for example, count upper and lower teeth, there would hopefully >>> never be a third option. You could argue, that in such a case you should >>> state 0 (zero) for not teeth at all in either or both (and yes, I know >>> dentists operate with a quadrant system with left/right as well). >>> >>> So it depends. >>> >>> I checked with a validation rule of: >>> >>> Is Not Null Or [OtherField] Is Not Null >>> >>> But Access barks that other columns than the current cannot be used in >>> the >>> SQL. >>> Data macros I have never used and probably never will. >>> >>> /gustav >>> >>> -----Oprindelig meddelelse----- >>> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >>> Susan Harkins >>> Sendt: 23. juli 2015 15:05 >>> Til: Access Developers discussion and problem solving >>> Emne: Re: [AccessD] Dirty property >>> >>> No, I didn't mean the users, I meant the design. I'd like to hear how you >>> would handle this -- I'd love to hear it. Would you mind sharing? Right >>> now, I'm just handling it with a bit of simple code that checks for >>> values >>> and doesn't let the user save and continue without supplying one or the >>> other. I could think of no way to do this at the table level, so went >>> with >>> code instead. >>> >>> Susan H. >>> >>> On Thu, Jul 23, 2015 at 8:00 AM, Gustav Brock wrote: >>> >>> Hi Susan >>> >>> >>>> > one of either two fields is required, but not both. >>>> >>>> That could easily be done in a form. I cannot imagine users are >>>> operating at the table level? >>>> >>>> /gustav >>>> >>>> -----Oprindelig meddelelse----- >>>> Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af >>>> Susan Harkins >>>> Sendt: 23. juli 2015 13:44 >>>> Til: Access Developers discussion and problem solving >>>> Emne: Re: [AccessD] Dirty property >>>> >>>> Well, in this particular form, I have a situation where one of either >>>> two fields is required, but not both. I'm not sure how I could've >>>> normalized it differently, but that's possible. I don't know of any >>>> way to validate an either/or requirement at the table level. I think >>>> it might be easily done in 2013 with the new data macro feature. >>>> >>>> I truly think the easiest course -- and I tend to take that road when >>>> possible -- is to just remove the Close button from the form and force >>>> users to close using the form's command buttons. To be consistent, I >>>> guess it's best to remove it from them all. >>>> >>>> I appreciate the conversation, because learning this business about >>>> the form close event and saving is great information. I almost never >>>> work in Access anymore though and I've forgotten so much, but I don't >>>> believe I ever knew that about Dirty and Form_Close. >>>> >>>> Susan H. >>>> >>>> On Thu, Jul 23, 2015 at 6:45 AM, Darryl Collins < >>>> darryl at whittleconsulting.com.au> wrote: >>>> >>>> > Thanks Gustav, >>>> > >>>> > I am always happy to listen to the experience and advice of those >>>> > more talented than I. Appreciate your thoughts on this issue >>>> > >>>> > Cheers >>>> > Darryl. >>>> >>>> >>>> -- >>> 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 bensonforums at gmail.com Thu Jul 23 19:17:39 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 23 Jul 2015 20:17:39 -0400 Subject: [AccessD] Dirty property In-Reply-To: <7876450954D4401F986288FD99AE3173@SteveT540p> References: <7876450954D4401F986288FD99AE3173@SteveT540p> Message-ID: Understood + IBID (my response regarding validation rules covered my focus) :) On Jul 23, 2015 6:09 PM, "Steve Schapel" wrote: > Bill > > You have misunderstood me. I totally agree with you. If you want to use > form events to validate data when the form is being closed, then absolutely > no problem. Before Update is the way to go in my opinion. I was not > trying to advocate otherwise, I was just trying to explain to Susan the > reason for the behaviour she was seeing. > > Thanks. > > Regards > Steve > > -----Original Message----- From: Bill Benson > Sent: Friday, July 24, 2015 9:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > I have to disagree with part of that answer Steve. The Close event does NOT > need to fire if the Unload event has cancel in it - which it could and > would if you set a flag in the Before_Update event which causes it to bail > in a graceful manner (ie, by sending them an error in the Form_Error event, > and then the Cancel =True in the Unload Event if they were not to be > permitted to close the form via the close button. > > I have no problem with the close button in this case. Admittedly I have not > played with it that long, but I have to ask, have you even tried the > combination of testing whether any of the required fields are empty in the > Form's Before_)Update event, and if not all populated, setting a boolean > flag that will void the Unload event? > > I am sensing resistance to this method before anyone has proved it to be > worth disregarding. To me it seems quite robust, but this is the last time > I am going to champion it - because ... I DO NOT USE BOUND FORMS LOL. > > On Thu, Jul 23, 2015 at 5:20 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > Hi Susan >> >> Your conclusion is correct, but the rationale not quite right. I think >> you are assuming that the form's Close event is directly connected to the >> Close button in the form's Control Box. It's not. If that Close button >> is >> visible (which incidentally I never allow), and if it's clicked, there is >> a >> series of form events that are triggered. Probably AfterInsert in the >> case >> of a new record, followed by BeforeUpdate, AfterUpdate, Unload, and then >> Close. Don't quote me on the exact details ... but, you get the idea. So, >> the point is, that by the time the form's Close event comes around, the >> record has already been saved, and therefore that event is too late in the >> process to be testing for the value of the Dirty property - by that time >> it >> will always be False, not because you "cancel the current state of the >> form", but because the record has been saved and therefore it is not >> Dirty. >> >> Regards >> Steve >> >> >> -----Original Message----- From: Susan Harkins >> Sent: Thursday, July 23, 2015 12:34 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Dirty property >> >> Well I don't mean to start anything, but I an willing to learn. What I >> think you're saying is... Access assumes when you click the Close button >> that you want to cancel the current state of the form... and thus... the >> Dirty property will also be False. If this is correct, I know how to >> proceed and I'm glad for the discussion. :) I'm just going to disable the >> Close button. :) >> >> Susan H. >> >> On Wed, Jul 22, 2015 at 7:46 PM, Darryl Collins < >> darryl at whittleconsulting.com.au> wrote: >> >> This is why you want to use unbound controls, as they behave as the user >> >>> would expect - not as the database does. When a user 'cancels' a form >>> they >>> expect the record to be dropped. This is not the case when using a bound >>> form. >>> >>> Naturally this topic (bound/unbound) often ignites a firefight - so sorry >>> for bringing it up, but that is my experience and one of the many reasons >>> I >>> use unbound forms. >>> >>> Cheers >>> Darryl. >>> >>> -----Original Message----- >>> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> Susan Harkins >>> Sent: Thursday, 23 July 2015 8:52 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Dirty property >>> >>> So, usurping the form's Close event doesn't keep it from saving -- that's >>> confusing to me. What am I missing? Why would the Close button save the >>> record? I expect it to prompt me, not automatically save. >>> >>> >>> -- >>> >> 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 Fri Jul 24 04:13:41 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Jul 2015 09:13:41 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Susan So neither you nor Steve read my mails. I'm so disappointed ... I checked with a validation rule of: Is Not Null Or [OtherField] Is Not Null But Access barks that other columns than the current cannot be used in the SQL. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 24. juli 2015 00:30 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Steve, that might be exactly what I need. I'll take a look. Thanks for mentioning it. Susan H. On Thu, Jul 23, 2015 at 5:09 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > You can use a table level validation rule, and in fact this is the way > I would do it. Under Table Properties. > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > Regards > Steve > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Fri Jul 24 04:25:55 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 24 Jul 2015 21:25:55 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Oh Gustav, I fear it is you who have failed to read mine, and not the other way around! :-) I most certainly did read what you wrote, and my reply was directly thereto. It looks like you were trying to enter: Is Not Null Or [OtherField] Is Not Null as a field-level validation rule, not a table-level validation rule. This is different from my suggestion of: [SomeField] Is Not Null Or [AnotherField] Is Not Null as a table-level validation rule. Forgive me if I have misunderstood. Regards Steve -----Original Message----- From: Gustav Brock Sent: Friday, July 24, 2015 9:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Hi Susan So neither you nor Steve read my mails. I'm so disappointed ... I checked with a validation rule of: Is Not Null Or [OtherField] Is Not Null But Access barks that other columns than the current cannot be used in the SQL. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Susan Harkins Sendt: 24. juli 2015 00:30 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Steve, that might be exactly what I need. I'll take a look. Thanks for mentioning it. Susan H. On Thu, Jul 23, 2015 at 5:09 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > You can use a table level validation rule, and in fact this is the way > I would do it. Under Table Properties. > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > Regards > Steve > > -- 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 Fri Jul 24 04:53:54 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Jul 2015 09:53:54 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Steve Oh, missed that completely, sorry. I checked out the field validation (didn't work) but I missed the table validation. Never used that for anything. But it works! The syntax is: Not IsNull([SomeField]) Or Not IsNull([AnotherField]) That works also when the table is linked. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Steve Schapel Sendt: 24. juli 2015 11:26 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Oh Gustav, I fear it is you who have failed to read mine, and not the other way around! :-) I most certainly did read what you wrote, and my reply was directly thereto. It looks like you were trying to enter: Is Not Null Or [OtherField] Is Not Null as a field-level validation rule, not a table-level validation rule. This is different from my suggestion of: [SomeField] Is Not Null Or [AnotherField] Is Not Null as a table-level validation rule. Forgive me if I have misunderstood. Regards Steve From ssharkins at gmail.com Fri Jul 24 05:48:22 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Jul 2015 06:48:22 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: I apologize if my habits seem to imply that I'm not paying attention. I am. I won't really have time to actually apply any of this discussion until I have an afternoon that isn't busy. I am reading and paying attention though, just not with any real effort to retain and apply. The info's there, and I'm asking questions as I think of them. I actually had this very validation rule issue on my mind as I woke this morning. :) I seem to recall that SQL Server lets you apply table level rules and I was wondering if Access did the same, but I can't remember. It's something I thought I'd check this morning, once all the screaming children are checked in. If someone wants to answer that question for me and save me the trouble, that'd be nice. :) After two years of post-retirement fun at the nature center, I'm ready to go back to real retirement, like Rocky. :) The nature center's been a fun adventure, but ... dang... I'm just really not suited. I've had to acquire a lot of personal interaction skills that I didn't have and trying to pull them out and use them takes more energy that I really want to expend. Last week, two ladies brought a fawn in -- really? It was wrapped in a blanket, bleating its head off, trying to get down. She demanded I relieve her of said fawn -- I don't make enough to take a hove to the face, tiny thought it may be. I refused... oh ... it just went downhill from there. Now what rational person thinks it's Okay to snatch a fawn out of the woods, put it in the car, drive it to the "nature" center and demand to be relieved of it with complete impunity, because of course, fawn-snatching is totally illegal. I just don't have the patience for people's stupidity and it's beginning to wear on me. I can't slap them -- management won't let me. :) Susan H. On Fri, Jul 24, 2015 at 5:13 AM, Gustav Brock wrote: > Hi Susan > > So neither you nor Steve read my mails. I'm so disappointed ... > > > I checked with a validation rule of: > > Is Not Null Or [OtherField] Is Not Null > > But Access barks that other columns than the current cannot be used in the > SQL. > > > /gustav > > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Susan Harkins > Sendt: 24. juli 2015 00:30 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Dirty property > > Steve, that might be exactly what I need. I'll take a look. Thanks for > mentioning it. > > Susan H. > > On Thu, Jul 23, 2015 at 5:09 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > You can use a table level validation rule, and in fact this is the way > > I would do it. Under Table Properties. > > [SomeField] Is Not Null Or [AnotherField] Is Not Null > > > > Regards > > Steve > > > > > -- > 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 Fri Jul 24 05:49:03 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Jul 2015 06:49:03 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Yeah! This is going to help me a lot. Gustav, sorry for the misunderstanding. Susan H. On Fri, Jul 24, 2015 at 5:53 AM, Gustav Brock wrote: > Hi Steve > > Oh, missed that completely, sorry. > > I checked out the field validation (didn't work) but I missed the table > validation. Never used that for anything. > But it works! The syntax is: > > Not IsNull([SomeField]) Or Not IsNull([AnotherField]) > > That works also when the table is linked. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Steve Schapel > Sendt: 24. juli 2015 11:26 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Dirty property > > Oh Gustav, I fear it is you who have failed to read mine, and not the > other way around! :-) > > I most certainly did read what you wrote, and my reply was directly > thereto. > > It looks like you were trying to enter: > Is Not Null Or [OtherField] Is Not Null as a field-level validation > rule, not a table-level validation rule. This is different from my > suggestion of: > [SomeField] Is Not Null Or [AnotherField] Is Not Null as a table-level > validation rule. > > Forgive me if I have misunderstood. > > Regards > Steve > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Salato at ky.gov Fri Jul 24 08:54:39 2015 From: Salato at ky.gov (FW Salato Center) Date: Fri, 24 Jul 2015 13:54:39 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: And I'm still leaning toward removing the Close button. In the next day or two I'll be walking through all the Save, Cancel, Close strategies. As always ease of use and simplicity are my main objective. Susan H. Yeah! This is going to help me a lot. Gustav, sorry for the misunderstanding. Susan H. From gustav at cactus.dk Fri Jul 24 09:09:36 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Jul 2015 14:09:36 +0000 Subject: [AccessD] Dirty property Message-ID: Hi Susan For years ago I removed all the Close buttons on forms realizing that they were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users could be a bit unfamiliar with the concept of windows and how to handle these. You still have the OK and Cancel buttons but they both serve a purpose superior to just closing the form. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af FW Salato Center Sendt: 24. juli 2015 15:55 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property And I'm still leaning toward removing the Close button. In the next day or two I'll be walking through all the Save, Cancel, Close strategies. As always ease of use and simplicity are my main objective. Susan H. Yeah! This is going to help me a lot. Gustav, sorry for the misunderstanding. Susan H. From Salato at ky.gov Fri Jul 24 09:15:54 2015 From: Salato at ky.gov (FW Salato Center) Date: Fri, 24 Jul 2015 14:15:54 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Table validation is working great and the Close button is gone. :) Thanks for the help guys! Susan H. Hi Susan For years ago I removed all the Close buttons on forms realizing that they were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users could be a bit unfamiliar with the concept of windows and how to handle these. You still have the OK and Cancel buttons but they both serve a purpose superior to just closing the form. From jackandpat.d at gmail.com Fri Jul 24 09:44:29 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 24 Jul 2015 10:44:29 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Susan, You may have another TechRepublic article in the making. Jack On Fri, Jul 24, 2015 at 10:15 AM, FW Salato Center wrote: > Table validation is working great and the Close button is gone. :) > > Thanks for the help guys! > > Susan H. > > Hi Susan > > For years ago I removed all the Close buttons on forms realizing that they > were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users > could be a bit unfamiliar with the concept of windows and how to handle > these. > > You still have the OK and Cancel buttons but they both serve a purpose > superior to just closing the form. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Salato at ky.gov Fri Jul 24 10:01:16 2015 From: Salato at ky.gov (FW Salato Center) Date: Fri, 24 Jul 2015 15:01:16 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Well, I do draw a lot on my own experiences for those articles. :) Susan H. Susan, You may have another TechRepublic article in the making. Jack On Fri, Jul 24, 2015 at 10:15 AM, FW Salato Center wrote: > Table validation is working great and the Close button is gone. :) > > Thanks for the help guys! > From RockySmolin at bchacc.com Fri Jul 24 10:20:18 2015 From: RockySmolin at bchacc.com (RockySmolin at bchacc.com) Date: Fri, 24 Jul 2015 08:20:18 -0700 Subject: [AccessD] Display on 21:9 screen Message-ID: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky From df.waters at outlook.com Fri Jul 24 10:29:41 2015 From: df.waters at outlook.com (Dan Waters) Date: Fri, 24 Jul 2015 10:29:41 -0500 Subject: [AccessD] Display on 21:9 screen In-Reply-To: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> References: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> Message-ID: Hi Rocky, >From what I've been reading, the purpose of a 21:9 monitor is to replace a dual monitor setup. So your client should only be concerned about resizing to the height of the monitor, not the width. And, it does look like an ultrawide monitor is an investment! Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RockySmolin at bchacc.com Sent: Friday, July 24, 2015 10:20 AM To: Access Developers discussion and problem solving Subject: [AccessD] Display on 21:9 screen Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Jul 24 10:30:39 2015 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Jul 2015 15:30:39 +0000 Subject: [AccessD] Display on 21:9 screen Message-ID: Hi Rocky Tell him, that the 21:9 format is a consumer format intended for watching wide-screen movies. If he tries to run a business, he should invest in monitors for this purpose. Your application is intended for these. If he tries to run your application on an 8" tablet, he might also get into trouble. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 24. juli 2015 17:20 Til: Access Developers discussion and problem solving Emne: [AccessD] Display on 21:9 screen Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky From RockySmolin at bchacc.com Fri Jul 24 10:46:07 2015 From: RockySmolin at bchacc.com (RockySmolin at bchacc.com) Date: Fri, 24 Jul 2015 08:46:07 -0700 Subject: [AccessD] Display on 21:9 screen Message-ID: <20150724084607.86c3debdd1c3983866efe200e2feb95f.a8551c5e1b.wbe@email04.secureserver.net> G: Thanks. I'll advise him. (But he probably won't be happy. :)) r -------- Original Message -------- Subject: Re: [AccessD] Display on 21:9 screen From: Gustav Brock Date: Fri, July 24, 2015 8:30 am To: Access Developers discussion and problem solving Hi Rocky Tell him, that the 21:9 format is a consumer format intended for watching wide-screen movies. If he tries to run a business, he should invest in monitors for this purpose. Your application is intended for these. If he tries to run your application on an 8" tablet, he might also get into trouble. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 24. juli 2015 17:20 Til: Access Developers discussion and problem solving Emne: [AccessD] Display on 21:9 screen Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Jul 24 10:47:29 2015 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 24 Jul 2015 10:47:29 -0500 Subject: [AccessD] Display on 21:9 screen In-Reply-To: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> References: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> Message-ID: An interesting examination of the relative value between dual monitors and ultra wide screen. The comments offer additional feelings from early adopters. GK On Fri, Jul 24, 2015 at 10:20 AM, wrote: > Dear List: > > I have a client who has changed from 16:9 displays to 21:9 displays - > ultrawide. In my product I use the venerable screen resizing module > from the Access Developer's Handbook. It has always worked well with > some custom tweaks I have made over the years, and works well in 16:9. > But it does not resize correctly in 21:9. > > The client can make the forms display correctly by setting the display > back to 16:9 but is complaining that the inability makes his investment > in ultra wides 'useless'. > > So maybe the technology has finally outstripped the ability of the > Littwin, Getz, et al's resizing code to keep up. > > I'm on the road and just got this report so I can't replicate the > condition until I get back to the office. > > Bu in the meantime is there an alternative - preferably packaged in a > module - that effectively replaces the ADH code? > > MTIA > > Rocky > > -- > 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 RockySmolin at bchacc.com Fri Jul 24 10:51:40 2015 From: RockySmolin at bchacc.com (RockySmolin at bchacc.com) Date: Fri, 24 Jul 2015 08:51:40 -0700 Subject: [AccessD] Display on 21:9 screen Message-ID: <20150724085140.86c3debdd1c3983866efe200e2feb95f.11140008c3.wbe@email04.secureserver.net> -------- Original Message -------- Subject: RE: [AccessD] Display on 21:9 screen From: Date: Fri, July 24, 2015 8:44 am To: "Access Developers discussion and problem solving" The resizing is under my program's control. I'm not sure what the ultrawide's proerties are - whether they can split their display, etc. So I'll have to solve this using my own code I think. I'm actually unsure at this point what the problem is with displaying the form. r -------- Original Message -------- Subject: Re: [AccessD] Display on 21:9 screen From: Dan Waters Date: Fri, July 24, 2015 8:29 am To: "'Access Developers discussion and problem solving'" Hi Rocky, From what I've been reading, the purpose of a 21:9 monitor is to replace a dual monitor setup. So your client should only be concerned about resizing to the height of the monitor, not the width. And, it does look like an ultrawide monitor is an investment! Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RockySmolin at bchacc.com Sent: Friday, July 24, 2015 10:20 AM To: Access Developers discussion and problem solving Subject: [AccessD] Display on 21:9 screen Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky -- 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 darren at activebilling.com.au Fri Jul 24 11:39:31 2015 From: darren at activebilling.com.au (Darren- Active Billing) Date: Sat, 25 Jul 2015 02:39:31 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: Message-ID: Stuart & Darryl, Thanks for the replies/comments. Stuart - I have in various edits across the weeks played with the 'cross domain access'. Tools | Internet Options | Security Tab | (Zones) Internet (and the others) | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across Domains". Is that where you meant? Anyway - After reading your post I went back in and edited all the zones (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross domain Access. No joy, sadly Many thanks in advance D -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, 23 July 2015 8:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Yes... This was my thoughts too. Can you mod the default security zone settings in IE itself. Oddly you need to this for other permissions as well I have noted in the past. Hopefully MS Edge avoids this kind of SNAFUs.... -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 23 July 2015 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx Note In Internet Explorer 7, the default settings for cross-domain data access are set to "deny" for all security zones. Can you get the server admins to modify IE's Security Manager to allow access to the site in question (or can you do that yourself?) On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > Hi Team, > With the help of the very clever Mr. McLachlan, I have been able to > build a nice tool that performs an API request and returns the > relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - > All very cool - Works a treat - On my local Windows 8 machine. > > When I tried to run this Access dB on our old Win 2003 Servers (there > are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have > no control over these servers BTW - not mine to manage and the last > time I rebooted one it did not come "back up" and caused chaos) > > Anyway - after a week of googling and various attempts at resolution I > have discovered the issue is because I am running my API request > against is an HTTPS site and not an HTTP site.Turns out Older versions > of IE are either incapable of accessing HTTPS sites or requests to > them are not being processed. This really is an area I have absolutely > no clue about. > > On each of our Win2003 Servers if I paste the API request URL into the > Address field of Firefox or Chrome- I get results. Cool. It's just IE > is the issue. IE won't load an HTTPS sites outside our domain (i.e. > from the real world) IE will load our own internal HTTPS Sites hosted > on our same server and domain. But nothing from the outside world. > > And yes, I have wasted hours and hours over this trying every > conceivable suggestion by the Google world. But obviously not the one > I need :-) Googling phrases and words such as "HTTPS not accessible > IE7" or IE8 can't access https site" yields a whole world of pain for > a great many folk. And the majority of suggestions I truly have tried > - Maybe there is one more I haven't that will be the solution. Happy > to try whatever you suggest. > > So...my question is - Anyone know of an alternative to > CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access > HTTPS sites in the outside world. > > Sorry for the long post - Many thanks in anticipation > > D > > -- > 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 Fri Jul 24 13:14:55 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Jul 2015 14:14:55 -0400 Subject: [AccessD] Display on 21:9 screen In-Reply-To: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> References: <20150724082018.86c3debdd1c3983866efe200e2feb95f.bc6354cec0.wbe@email04.secureserver.net> Message-ID: <6F131A8730AE41F7AC3BE51312CBFFB1@XPS> Talk to Peter De Baets at Peter's software and see if he has support yet for the Ultra-wide format in Shrink Stretcher: http://www.peterssoftware.com/ss.htm Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RockySmolin at bchacc.com Sent: Friday, July 24, 2015 11:20 AM To: Access Developers discussion and problem solving Subject: [AccessD] Display on 21:9 screen Dear List: I have a client who has changed from 16:9 displays to 21:9 displays - ultrawide. In my product I use the venerable screen resizing module from the Access Developer's Handbook. It has always worked well with some custom tweaks I have made over the years, and works well in 16:9. But it does not resize correctly in 21:9. The client can make the forms display correctly by setting the display back to 16:9 but is complaining that the inability makes his investment in ultra wides 'useless'. So maybe the technology has finally outstripped the ability of the Littwin, Getz, et al's resizing code to keep up. I'm on the road and just got this report so I can't replicate the condition until I get back to the office. Bu in the meantime is there an alternative - preferably packaged in a module - that effectively replaces the ADH code? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Fri Jul 24 14:38:52 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sat, 25 Jul 2015 07:38:52 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <74533D6F09974232AAE76E2699878B76@SteveT540p> Yes, I know. ;-) Regards Steve -----Original Message----- From: Gustav Brock Sent: Friday, July 24, 2015 9:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Hi Steve Oh, missed that completely, sorry. I checked out the field validation (didn't work) but I missed the table validation. Never used that for anything. But it works! The syntax is: Not IsNull([SomeField]) Or Not IsNull([AnotherField]) That works also when the table is linked. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Steve Schapel Sendt: 24. juli 2015 11:26 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Oh Gustav, I fear it is you who have failed to read mine, and not the other way around! :-) I most certainly did read what you wrote, and my reply was directly thereto. It looks like you were trying to enter: Is Not Null Or [OtherField] Is Not Null as a field-level validation rule, not a table-level validation rule. This is different from my suggestion of: [SomeField] Is Not Null Or [AnotherField] Is Not Null as a table-level validation rule. Forgive me if I have misunderstood. Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Fri Jul 24 14:39:28 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sat, 25 Jul 2015 07:39:28 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Great news, Susan. Thanks. Regards Steve -----Original Message----- From: FW Salato Center Sent: Saturday, July 25, 2015 2:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Table validation is working great and the Close button is gone. :) Thanks for the help guys! Susan H. Hi Susan For years ago I removed all the Close buttons on forms realizing that they were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users could be a bit unfamiliar with the concept of windows and how to handle these. You still have the OK and Cancel buttons but they both serve a purpose superior to just closing the form. From ssharkins at gmail.com Fri Jul 24 17:08:12 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Jul 2015 18:08:12 -0400 Subject: [AccessD] Dirty property In-Reply-To: <8F363691C1634A26995699B0DA3C362B@SteveT540p> References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: Well, it took me the entire day to get that form's save/cancel routine running, hide the close button, and drop in an error logging table and procedure. It was a busy day. Lots of screaming kids and indulging adults who didn't care what they did. But, no fawn-snatching ladies, so it was a good day. :) But that gives you an idea of how little I can get done. But, I shared with an older co-worker that I think the whole process, while slow, might actually be firing some new synapses and might just be what keeps me young. "Hello! Welcome to Salato... have you been here before?" Now... what was that error aga... "Hello! Welcome to Salato... have you been here before?" Just so you guys can get an idea of how my days go. :) My boss in on vacation in St. Augustine. So, I sent him a text telling him that the front desk robot workers had arrived, but that Dan (our engineer guy) had a bit of trouble calibrating their laser weapons and we lost a few middle schoolers, but NO ANIMALS were harmed. :) Middle schoolers... that's God laughing at us, but I love the place. :) Susan H. On Fri, Jul 24, 2015 at 3:39 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Great news, Susan. Thanks. > > Regards > Steve > > -----Original Message----- From: FW Salato Center > Sent: Saturday, July 25, 2015 2:15 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Dirty property > > Table validation is working great and the Close button is gone. :) > > Thanks for the help guys! > > Susan H. > > Hi Susan > > For years ago I removed all the Close buttons on forms realizing that they > were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users > could be a bit unfamiliar with the concept of windows and how to handle > these. > > You still have the OK and Cancel buttons but they both serve a purpose > superior to just closing the form. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Fri Jul 24 17:15:33 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Jul 2015 18:15:33 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: Gustav, you will laugh at this... I was thinking I should leave the button while in development and then I thought... why? I've got a Cancel button right there... :) I laughed at myself. :) Susan H. On Fri, Jul 24, 2015 at 10:09 AM, Gustav Brock wrote: > Hi Susan > > For years ago I removed all the Close buttons on forms realizing that they > were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users > could be a bit unfamiliar with the concept of windows and how to handle > these. > > You still have the OK and Cancel buttons but they both serve a purpose > superior to just closing the form. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af FW > Salato Center > Sendt: 24. juli 2015 15:55 > Til: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Emne: Re: [AccessD] Dirty property > > And I'm still leaning toward removing the Close button. In the next day or > two I'll be walking through all the Save, Cancel, Close strategies. As > always ease of use and simplicity are my main objective. > > Susan H. > > Yeah! This is going to help me a lot. Gustav, sorry for the > misunderstanding. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Jul 24 18:03:20 2015 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Jul 2015 19:03:20 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: As long as you're happy, Susan. I'm afraid I'm more of the W.C. Fields school: when asked if he liked children, he replied, "Yes, but I don't think I could eat a whole one." On Fri, Jul 24, 2015 at 6:08 PM, Susan Harkins wrote: > Well, it took me the entire day to get that form's save/cancel routine > running, hide the close button, and drop in an error logging table and > procedure. > > It was a busy day. Lots of screaming kids and indulging adults who didn't > care what they did. But, no fawn-snatching ladies, so it was a good day. :) > > But that gives you an idea of how little I can get done. But, I shared with > an older co-worker that I think the whole process, while slow, might > actually be firing some new synapses and might just be what keeps me young. > > "Hello! Welcome to Salato... have you been here before?" > > Now... what was that error aga... > > "Hello! Welcome to Salato... have you been here before?" > > Just so you guys can get an idea of how my days go. :) > > My boss in on vacation in St. Augustine. So, I sent him a text telling him > that the front desk robot workers had arrived, but that Dan (our engineer > guy) had a bit of trouble calibrating their laser weapons and we lost a few > middle schoolers, but NO ANIMALS were harmed. :) > > Middle schoolers... that's God laughing at us, but I love the place. :) > > Susan H. > > On Fri, Jul 24, 2015 at 3:39 PM, Steve Schapel < > steve at datamanagementsolutions.biz> wrote: > > > Great news, Susan. Thanks. > > > > Regards > > Steve > > > > -----Original Message----- From: FW Salato Center > > Sent: Saturday, July 25, 2015 2:15 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Dirty property > > > > Table validation is working great and the Close button is gone. :) > > > > Thanks for the help guys! > > > > Susan H. > > > > Hi Susan > > > > For years ago I removed all the Close buttons on forms realizing that > they > > were a relic from the days of Windows 3.11 and Access 1.x/2.0 where users > > could be a bit unfamiliar with the concept of windows and how to handle > > these. > > > > You still have the OK and Cancel buttons but they both serve a purpose > > superior to just closing the form. > > > > > > -- > > 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 ssharkins at gmail.com Fri Jul 24 18:50:20 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Jul 2015 19:50:20 -0400 Subject: [AccessD] Dirty property Message-ID: Without children, Salato would be a ghost town... but ya know... I like ghosts. :) Susan H. On Fri, Jul 24, 2015 at 7:03 PM, Arthur Fuller wrote: > As long as you're happy, Susan. I'm afraid I'm more of the W.C. Fields > school: when asked if he liked children, he replied, "Yes, but I don't > think I could eat a whole one." > > From rockysmolin at bchacc.com Fri Jul 24 23:16:41 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 24 Jul 2015 21:16:41 -0700 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... In-Reply-To: References: Message-ID: <22D08DC80E4440059FEF09E41DA30384@HAL9007> I remember the Eagle. https://en.wikipedia.org/wiki/Eagle_Computer I also remember their proprietary floppy disk formats. What a relief when IBM standardized the industry. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 23, 2015 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Commodore 64 makes a comeback. Sort of... Hi Rocky Well, I didn't - and didn't even miss one. It may have been because I worked with the AVL Eagle computer (CB/M based) from 1978 and with the IBM PC from its launch. With the AVL Eagle as a serious tool of that time, and the respectful - not to say frightening - IBM branding of the PC, everything else seemed like toys. And with the Macintosh in 1984 the scene was set. Also, the IBM PC was a real pro design for heavy use, the Macintosh was neat in its own way and represented good engineering while Commodore 64, Amstrad, and Atari were of ugly design and seemed manufactured the cheapest way possible. Perhaps I'm just dull and boring. The only game I found really fascinating is Tetris from the "Microsoft Entertainment Pack for Windows." (notice the dot). Just checked: I still have the box. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 23. juli 2015 16:55 Til: Access Developers discussion and problem solving Emne: [AccessD] The Commodore 64 makes a comeback. Sort of... http://www.designnews.com/author.asp?section_id=1386&doc_id=278219&cid=nl.dn 14.20150723 I'll bet most of us had one of these. r -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Jul 25 04:31:11 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 25 Jul 2015 09:31:11 +0000 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... In-Reply-To: <22D08DC80E4440059FEF09E41DA30384@HAL9007> References: , <22D08DC80E4440059FEF09E41DA30384@HAL9007> Message-ID: Hi Rocky Yes, and the preformatted floppies did cost a fortune. We quickly managed to find out to make them ourselves from standard CP/M formatted floppies by means of a disk editor. It was only a few bytes you had to "flip" and - voila - you had an AVL diskette. I also recall how we used a standard oscilloscope to "break" the PosiTrak code controlling the projectors. We had to find out as our automated control system had to know how to reset the full projector stack controlled by the QD3 or Dove control units. The rumour went and we happened to have a visit by the chief engineer who was curious about these boys in Copenhagen and their doings. The AVL people were nice - young, curious, and hardworking as ourselves, and we visited the AVL premises several times and established a lasting friendship. As you know, the (true) multi-media business transformed completely as HDTV and video projectors evolved and wiped out the slide projectors and 16 mm projectors and 35 mm projectors for corporate usage. /gustav ________________________________________ Fra: AccessD p? vegne af Rocky Smolin Sendt: 25. juli 2015 06:16 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] The Commodore 64 makes a comeback. Sort of... I remember the Eagle. https://en.wikipedia.org/wiki/Eagle_Computer I also remember their proprietary floppy disk formats. What a relief when IBM standardized the industry. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 23, 2015 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Commodore 64 makes a comeback. Sort of... Hi Rocky Well, I didn't - and didn't even miss one. It may have been because I worked with the AVL Eagle computer (CB/M based) from 1978 and with the IBM PC from its launch. With the AVL Eagle as a serious tool of that time, and the respectful - not to say frightening - IBM branding of the PC, everything else seemed like toys. And with the Macintosh in 1984 the scene was set. Also, the IBM PC was a real pro design for heavy use, the Macintosh was neat in its own way and represented good engineering while Commodore 64, Amstrad, and Atari were of ugly design and seemed manufactured the cheapest way possible. Perhaps I'm just dull and boring. The only game I found really fascinating is Tetris from the "Microsoft Entertainment Pack for Windows." (notice the dot). Just checked: I still have the box. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af RockySmolin at bchacc.com Sendt: 23. juli 2015 16:55 Til: Access Developers discussion and problem solving Emne: [AccessD] The Commodore 64 makes a comeback. Sort of... http://www.designnews.com/author.asp?section_id=1386&doc_id=278219&cid=nl.dn 14.20150723 I'll bet most of us had one of these. r From gustav at cactus.dk Sat Jul 25 04:45:49 2015 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 25 Jul 2015 09:45:49 +0000 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p>, Message-ID: Hi Susan What a story. I think you hit the essense of multi-tasking. I sometimes try to sum up when leaving the office what I had accomplished (in my world that's how much code was written) and it turns out to be very little. Of course, I did a lot of other things, just hard to label. You have the additional handicap that other people's children can be a nightmare. But I believe that all these doings keep us if not young then at least at some mental capacity. The last thing I could wish was sitting in a rocking chair thinking of nothing. /gustav ________________________________________ Fra: AccessD p? vegne af Susan Harkins Sendt: 25. juli 2015 00:08 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Dirty property Well, it took me the entire day to get that form's save/cancel routine running, hide the close button, and drop in an error logging table and procedure. It was a busy day. Lots of screaming kids and indulging adults who didn't care what they did. But, no fawn-snatching ladies, so it was a good day. :) But that gives you an idea of how little I can get done. But, I shared with an older co-worker that I think the whole process, while slow, might actually be firing some new synapses and might just be what keeps me young. "Hello! Welcome to Salato... have you been here before?" Now... what was that error aga... "Hello! Welcome to Salato... have you been here before?" Just so you guys can get an idea of how my days go. :) My boss in on vacation in St. Augustine. So, I sent him a text telling him that the front desk robot workers had arrived, but that Dan (our engineer guy) had a bit of trouble calibrating their laser weapons and we lost a few middle schoolers, but NO ANIMALS were harmed. :) Middle schoolers... that's God laughing at us, but I love the place. :) Susan H. From fuller.artful at gmail.com Sat Jul 25 05:17:48 2015 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 25 Jul 2015 06:17:48 -0400 Subject: [AccessD] The Commodore 64 makes a comeback. Sort of... In-Reply-To: References: <22D08DC80E4440059FEF09E41DA30384@HAL9007> Message-ID: I remember creating my first "IDE" using 5.25" CP/M disks capable of storing a whopping 128kb. I cut a notch on the un-notched side of the disk and copied Wordstar onto one side and dBASE-II onto the other. I'd edit my code in Wordstar, then hit the run command on the Wordstar menu, flip the disk and run dBASE-II. When I quit dBASE I'd flip the disk again and be back in Wordstar. ?Those were the days. Arthur ? From fuller.artful at gmail.com Sat Jul 25 05:20:56 2015 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 25 Jul 2015 06:20:56 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: As my best friend Peter Brawley likes to say, "The best defense against Alzheimer's is to keep thinking." Arthur ? From ssharkins at gmail.com Sat Jul 25 06:36:54 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 25 Jul 2015 07:36:54 -0400 Subject: [AccessD] Dirty property Message-ID: > > I'm just going to get lost in the woods when the time comes... > Susan H. > > The last thing I could wish was sitting in a rocking chair thinking of > nothing. > > From jackandpat.d at gmail.com Sat Jul 25 08:18:18 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sat, 25 Jul 2015 09:18:18 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: Great stuff Susan. And I'd like to reiterate --I think you have the makings of an excellent TechRepublic (or other) article -- and it's fresh in your mind. Good luck. On Sat, Jul 25, 2015 at 6:20 AM, Arthur Fuller wrote: > As my best friend Peter Brawley likes to say, "The best defense against > Alzheimer's is to keep thinking." > > Arthur > ? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kost36 at otenet.gr Sat Jul 25 12:08:33 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 25 Jul 2015 20:08:33 +0300 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: hi, In a field there text values, something like 1234-5679(1678)68:3;1- What I need is to split text with every character separate by a comma e.g. 1,2,3,4,-,.......,- Is that possible via query? thank's /kostas From rockysmolin at bchacc.com Sat Jul 25 12:22:51 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Jul 2015 10:22:51 -0700 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: <82406DF2E5144745A7C2DB2B0B86FE59@HAL9007> I'd probably write that function in VBA, put it in a Public module, and call it from the query. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, July 25, 2015 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] how to split text into its letters... hi, In a field there text values, something like 1234-5679(1678)68:3;1- What I need is to split text with every character separate by a comma e.g. 1,2,3,4,-,.......,- Is that possible via query? 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 Sat Jul 25 13:42:35 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 25 Jul 2015 21:42:35 +0300 Subject: [AccessD] how to split text into its letters... In-Reply-To: <82406DF2E5144745A7C2DB2B0B86FE59@HAL9007> References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> <82406DF2E5144745A7C2DB2B0B86FE59@HAL9007> Message-ID: <2F1595B9C1FA434FABBE626118A9B3B7@kost36PC> Hi Rocky, I didn't manage to get syntax info or any example about split() for a continuously string without separating points (space, comma, or anything familiar) thank's /kostas -----?????? ??????----- From: Rocky Smolin Sent: Saturday, July 25, 2015 8:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] how to split text into its letters... I'd probably write that function in VBA, put it in a Public module, and call it from the query. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, July 25, 2015 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] how to split text into its letters... hi, In a field there text values, something like 1234-5679(1678)68:3;1- What I need is to split text with every character separate by a comma e.g. 1,2,3,4,-,.......,- Is that possible via query? 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 rockysmolin at bchacc.com Sat Jul 25 14:06:15 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Jul 2015 12:06:15 -0700 Subject: [AccessD] how to split text into its letters... In-Reply-To: <2F1595B9C1FA434FABBE626118A9B3B7@kost36PC> References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC><82406DF2E5144745A7C2DB2B0B86FE59@HAL9007> <2F1595B9C1FA434FABBE626118A9B3B7@kost36PC> Message-ID: Kostas: You can't use the split function because the string isn't already delimited. You need to pass the string to the function, and then in the function loop through the string character by character, and using the mid() function copy each character out to a target string adding a comma every time. HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, July 25, 2015 11:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... Hi Rocky, I didn't manage to get syntax info or any example about split() for a continuously string without separating points (space, comma, or anything familiar) thank's /kostas -----?????? ??????----- From: Rocky Smolin Sent: Saturday, July 25, 2015 8:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] how to split text into its letters... I'd probably write that function in VBA, put it in a Public module, and call it from the query. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, July 25, 2015 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] how to split text into its letters... hi, In a field there text values, something like 1234-5679(1678)68:3;1- What I need is to split text with every character separate by a comma e.g. 1,2,3,4,-,.......,- Is that possible via query? 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 rockysmolin at bchacc.com Sat Jul 25 15:35:33 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Jul 2015 13:35:33 -0700 Subject: [AccessD] mp3 file problem Message-ID: <008458104311489D811B728F8AC9D5E2@HAL9007> I borrowed a book from the library to listen to on a long road trip. But we didn't finish the book. So I ripped the audio files from the CD to a batch of mp3 files and edited the file names so they would be consistent and would play in that order. But when I added the files to iTunes, they came in order of the Title not the file name and so they're playing in title order which is not the order they need to be in. When I synced the iTunes files with my iPod, I found that out. The titles are very inconsistent. So I think the quickest way to solve the problem is to make the mp3 Title = file name. But is there a way to do this through Access? Or some other slick way? Or something else that can be done to get them to play in file name order? MTIA Rocky' From davidmcafee at gmail.com Sat Jul 25 16:23:15 2015 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 25 Jul 2015 14:23:15 -0700 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC> <37A7A792B0C44894809975558FAC4DFE@kost36PC> <561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: something like this should work Public Function SeparateChars(strIn As String) As String Dim strOut As String, i As Integer For i = 1 To Len(strIn) Select Case Mid(strIn, i, 1) Case " ", "|" 'Characters that you want to ignore go here Case Else strOut = strOut + Mid(strIn, i, 1) & "," End Select 'i = i + 1 Next i SeparateChars = strOut End Function End Function On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis wrote: > hi, > In a field there text values, something like 1234-5679(1678)68:3;1- > What I need is to split text with every character separate by a comma e.g. > 1,2,3,4,-,.......,- > > Is that possible via query? > > thank's > /kostas > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Sat Jul 25 16:48:31 2015 From: bensonforums at gmail.com (Bill Benson) Date: Sat, 25 Jul 2015 17:48:31 -0400 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: Re: Alzheimers... Sadly, I know some people who got alzheimer's disease who were very mentally active up until the disease began to take hold. It is truly tragic. M own memory, at age 49, is nowhere near what it was even 5-7 years ago (and I am, I suspect, a pretty constant "thinker"). A couple nights ago I felt very strange walking towards my car, which I bought new in April. It didn't seem like my car, I got in it, it just didn't feel "familiar". This was the first time I actually felt the feeling of something which I am in presence of every day, seeming less than 100 percent familiar to me, and I began to have the first inkling of what alzheimers might be like for those starting to get it. I hope it was just stess. On Jul 25, 2015 6:22 AM, "Arthur Fuller" wrote: > As my best friend Peter Brawley likes to say, "The best defense against > Alzheimer's is to keep thinking." > > Arthur > ? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Sat Jul 25 17:03:27 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 25 Jul 2015 18:03:27 -0400 Subject: [AccessD] Dirty property Message-ID: My mother has it, so I discuss it with my doctor every visit. Forgetfulness is part of aging. Alzheimer's is different -- you forgot processes, not people, names, etc. For instance, she told me if I found myself wondering what my car keys were for, because I didn't remember how to drive... that was a problem. Forgetting where I left my car keys -- not a problem. My mother has done well, but the last time I was there she piped up with, "Whatever happened to Danny White?" He was a childhood friend who died at 18 after corrective heart surgery. I stared at her and she finally said, "Well, I remember he died..." I don't know what that was. I bought a dress for a volunteer banquet in February. In my mind, it is a white dress with black polka dots (very cute). Last week, while looking for something in my closet, I found a black dress with white polka dots -- what... I don't have a dress like this... crap. :( How could I misremember something like that? I apologize -- I would imagine the monitors are going to want us to shut this down soon. I'm done -- I don't want to be a nuisance. :) Susan H. On Sat, Jul 25, 2015 at 5:48 PM, Bill Benson wrote: > Re: Alzheimers... > > Sadly, I know some people who got alzheimer's disease who were very > mentally active up until the disease began to take hold. It is truly > tragic. M own memory, at age 49, is nowhere near what it was even 5-7 years > ago (and I am, I suspect, a pretty constant "thinker"). > > A couple nights ago I felt very strange walking towards my car, which I > bought new in April. It didn't seem like my car, I got in it, it just > didn't feel "familiar". This was the first time I actually felt the feeling > of something which I am in presence of every day, seeming less than 100 > percent familiar to me, and I began to have the first inkling of what > alzheimers might be like for those starting to get it. I hope it was just > stess. > On Jul 25, 2015 6:22 AM, "Arthur Fuller" wrote: > > > As my best friend Peter Brawley likes to say, "The best defense against > > Alzheimer's is to keep thinking." > > > > 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 stuart at lexacorp.com.pg Sat Jul 25 18:30:55 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Jul 2015 09:30:55 +1000 Subject: [AccessD] [dba-OT] mp3 file problem In-Reply-To: <008458104311489D811B728F8AC9D5E2@HAL9007> References: <008458104311489D811B728F8AC9D5E2@HAL9007> Message-ID: <55B41C2F.15453.21C2FD14@stuart.lexacorp.com.pg> Take your pick of these tools: http://lifehacker.com/5266613/six-best-mp3-tagging-tools On 25 Jul 2015 at 13:35, Rocky Smolin wrote: > I borrowed a book from the library to listen to on a long road trip. > But we didn't finish the book. So I ripped the audio files from the > CD to a batch of mp3 files and edited the file names so they would be > consistent and would play in that order. But when I added the files > to iTunes, they came in order of the Title not the file name and so > they're playing in title order which is not the order they need to be > in. When I synced the iTunes files with my iPod, I found that out. > The titles are very inconsistent. > > So I think the quickest way to solve the problem is to make the mp3 > Title = file name. But is there a way to do this through Access? Or > some other slick way? Or something else that can be done to get them > to play in file name order? > > MTIA > > Rocky' > > > From steve at datamanagementsolutions.biz Sat Jul 25 18:33:45 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sun, 26 Jul 2015 11:33:45 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: <8F363691C1634A26995699B0DA3C362B@SteveT540p> Message-ID: Hi Bill It is certainly a great idea to keep menatlly active. But you are quite correct, doing so is not a defence against Alzheimer's. Arthur's friend's comment appears pithy, but is unfortunately false. As a former counsellor and psychotherapist, I specialised for a number of years in working with families of people with dementia, and it was indeed tragic to see the disease affecting highly intelligent and active people. My youngest patient was in his 30s, so although it is much more likely to affect older people, it's not necessarily so. Re your experience with your car, I think it is common for that sort of thing to happen occasionally. In my own case, I went out a few weeks ago, and locked up the house even though my wife and daughter were still at home. But I would always recommend that people get medically checked if such experiences become more than occasional - just in case it is an early symptom of dementia, the sooner it is detected the better chance of something being done to improve it. Regards Steve -----Original Message----- From: Bill Benson Sent: Sunday, July 26, 2015 9:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property Re: Alzheimers... Sadly, I know some people who got alzheimer's disease who were very mentally active up until the disease began to take hold. It is truly tragic. M own memory, at age 49, is nowhere near what it was even 5-7 years ago (and I am, I suspect, a pretty constant "thinker"). A couple nights ago I felt very strange walking towards my car, which I bought new in April. It didn't seem like my car, I got in it, it just didn't feel "familiar". This was the first time I actually felt the feeling of something which I am in presence of every day, seeming less than 100 percent familiar to me, and I began to have the first inkling of what alzheimers might be like for those starting to get it. I hope it was just stess. On Jul 25, 2015 6:22 AM, "Arthur Fuller" wrote: > As my best friend Peter Brawley likes to say, "The best defense against > Alzheimer's is to keep thinking." > > 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 steve at datamanagementsolutions.biz Sat Jul 25 19:11:47 2015 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sun, 26 Jul 2015 12:11:47 +1200 Subject: [AccessD] Dirty property In-Reply-To: References: Message-ID: <56AC017C3C224F84AE7A320E2FEC9C20@SteveT540p> Good point about the moderators, Susan! :-) Regards Steve -----Original Message----- From: Susan Harkins Sent: Sunday, July 26, 2015 10:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Dirty property My mother has it, so I discuss it with my doctor every visit. Forgetfulness is part of aging. Alzheimer's is different -- you forgot processes, not people, names, etc. For instance, she told me if I found myself wondering what my car keys were for, because I didn't remember how to drive... that was a problem. Forgetting where I left my car keys -- not a problem. My mother has done well, but the last time I was there she piped up with, "Whatever happened to Danny White?" He was a childhood friend who died at 18 after corrective heart surgery. I stared at her and she finally said, "Well, I remember he died..." I don't know what that was. I bought a dress for a volunteer banquet in February. In my mind, it is a white dress with black polka dots (very cute). Last week, while looking for something in my closet, I found a black dress with white polka dots -- what... I don't have a dress like this... crap. :( How could I misremember something like that? I apologize -- I would imagine the monitors are going to want us to shut this down soon. I'm done -- I don't want to be a nuisance. :) Susan H. On Sat, Jul 25, 2015 at 5:48 PM, Bill Benson wrote: > Re: Alzheimers... > > Sadly, I know some people who got alzheimer's disease who were very > mentally active up until the disease began to take hold. It is truly > tragic. M own memory, at age 49, is nowhere near what it was even 5-7 > years > ago (and I am, I suspect, a pretty constant "thinker"). > > A couple nights ago I felt very strange walking towards my car, which I > bought new in April. It didn't seem like my car, I got in it, it just > didn't feel "familiar". This was the first time I actually felt the > feeling > of something which I am in presence of every day, seeming less than 100 > percent familiar to me, and I began to have the first inkling of what > alzheimers might be like for those starting to get it. I hope it was just > stess. > On Jul 25, 2015 6:22 AM, "Arthur Fuller" wrote: > > > As my best friend Peter Brawley likes to say, "The best defense against > > Alzheimer's is to keep thinking." > > > > 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Sun Jul 26 11:01:15 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 26 Jul 2015 19:01:15 +0300 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> Message-ID: <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> Hi David, it works just as I need it would be better If it was possible to cut the last comma 1,2,3,4,-,.......,-, many many thank's /kostas -----?????? ??????----- From: David McAfee Sent: Sunday, July 26, 2015 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... something like this should work Public Function SeparateChars(strIn As String) As String Dim strOut As String, i As Integer For i = 1 To Len(strIn) Select Case Mid(strIn, i, 1) Case " ", "|" 'Characters that you want to ignore go here Case Else strOut = strOut + Mid(strIn, i, 1) & "," End Select 'i = i + 1 Next i SeparateChars = strOut End Function End Function On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis wrote: > hi, > In a field there text values, something like 1234-5679(1678)68:3;1- > What I need is to split text with every character separate by a comma e.g. > 1,2,3,4,-,.......,- > > Is that possible via query? > > 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 rockysmolin at bchacc.com Sun Jul 26 12:19:39 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 26 Jul 2015 10:19:39 -0700 Subject: [AccessD] how to split text into its letters... In-Reply-To: <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> Message-ID: After the loop: strOut=left(strOut,Len(strOut)-1) I think will do it. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, July 26, 2015 9:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... Hi David, it works just as I need it would be better If it was possible to cut the last comma 1,2,3,4,-,.......,-, many many thank's /kostas -----?????? ??????----- From: David McAfee Sent: Sunday, July 26, 2015 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... something like this should work Public Function SeparateChars(strIn As String) As String Dim strOut As String, i As Integer For i = 1 To Len(strIn) Select Case Mid(strIn, i, 1) Case " ", "|" 'Characters that you want to ignore go here Case Else strOut = strOut + Mid(strIn, i, 1) & "," End Select 'i = i + 1 Next i SeparateChars = strOut End Function End Function On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis wrote: > hi, > In a field there text values, something like 1234-5679(1678)68:3;1- > What I need is to split text with every character separate by a comma e.g. > 1,2,3,4,-,.......,- > > Is that possible via query? > > 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 stuart at lexacorp.com.pg Sun Jul 26 15:36:45 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 Jul 2015 06:36:45 +1000 Subject: [AccessD] how to split text into its letters... In-Reply-To: <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> References: , , <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> Message-ID: <55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> For i = 1 to Len(strln) - 1 ..... Next i strOut = StrOut + Right$(strIn,1) ... On 26 Jul 2015 at 19:01, Kostas Konstantinidis wrote: > Hi David, > it works just as I need > it would be better If it was possible to cut the last comma > 1,2,3,4,-,.......,-, > > many many thank's > /kostas > > > ----- ----- > From: David McAfee > Sent: Sunday, July 26, 2015 12:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to split text into its letters... > > something like this should work > > Public Function SeparateChars(strIn As String) As String > Dim strOut As String, i As Integer > For i = 1 To Len(strIn) > Select Case Mid(strIn, i, 1) > Case " ", "|" 'Characters that you want to ignore go here > Case Else > strOut = strOut + Mid(strIn, i, 1) & "," > End Select > 'i = i + 1 > Next i > SeparateChars = strOut > End Function > > > > End Function > > On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis > wrote: > > > hi, > > In a field there text values, something like 1234-5679(1678)68:3;1- > > What I need is to split text with every character separate by a > > comma e.g. 1,2,3,4,-,.......,- > > > > Is that possible via query? > > > > 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 newsgrps at dalyn.co.nz Sun Jul 26 16:01:00 2015 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 27 Jul 2015 09:01:00 +1200 Subject: [AccessD] how to split text into its letters... In-Reply-To: <55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> References: , , <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> <55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> Message-ID: <000301d0c7e6$2db33870$8919a950$@dalyn.co.nz> Stuart, Your suggestion would not deal with situations where Characters that you want to ignore are on the end. I think Rocky's solution would be better which deletes the last comma. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 27 July 2015 8:37 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... For i = 1 to Len(strln) - 1 ..... Next i strOut = StrOut + Right$(strIn,1) ... On 26 Jul 2015 at 19:01, Kostas Konstantinidis wrote: > Hi David, > it works just as I need > it would be better If it was possible to cut the last comma > 1,2,3,4,-,.......,-, > > many many thank's > /kostas > > > ----- ----- > From: David McAfee > Sent: Sunday, July 26, 2015 12:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to split text into its letters... > > something like this should work > > Public Function SeparateChars(strIn As String) As String > Dim strOut As String, i As Integer > For i = 1 To Len(strIn) > Select Case Mid(strIn, i, 1) > Case " ", "|" 'Characters that you want to ignore go here > Case Else > strOut = strOut + Mid(strIn, i, 1) & "," > End Select > 'i = i + 1 > Next i > SeparateChars = strOut > End Function > > > > End Function > > On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis > wrote: > > > hi, > > In a field there text values, something like 1234-5679(1678)68:3;1- > > What I need is to split text with every character separate by a > > comma e.g. 1,2,3,4,-,.......,- > > > > Is that possible via query? > > > > thank's > > /kostas From kost36 at otenet.gr Mon Jul 27 00:26:51 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 27 Jul 2015 08:26:51 +0300 Subject: [AccessD] how to split text into its letters... In-Reply-To: <000301d0c7e6$2db33870$8919a950$@dalyn.co.nz> References: , , <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC><55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> <000301d0c7e6$2db33870$8919a950$@dalyn.co.nz> Message-ID: <70899AD7769444AB8BBE8EB3C9252B20@kost36PC> Rocky, Stuart and David thank's you all /kostas -----?????? ??????----- From: David Emerson Sent: Monday, July 27, 2015 12:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] how to split text into its letters... Stuart, Your suggestion would not deal with situations where Characters that you want to ignore are on the end. I think Rocky's solution would be better which deletes the last comma. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, 27 July 2015 8:37 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... For i = 1 to Len(strln) - 1 ..... Next i strOut = StrOut + Right$(strIn,1) ... On 26 Jul 2015 at 19:01, Kostas Konstantinidis wrote: > Hi David, > it works just as I need > it would be better If it was possible to cut the last comma > 1,2,3,4,-,.......,-, > > many many thank's > /kostas > > > ----- ----- > From: David McAfee > Sent: Sunday, July 26, 2015 12:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to split text into its letters... > > something like this should work > > Public Function SeparateChars(strIn As String) As String > Dim strOut As String, i As Integer > For i = 1 To Len(strIn) > Select Case Mid(strIn, i, 1) > Case " ", "|" 'Characters that you want to ignore go here > Case Else > strOut = strOut + Mid(strIn, i, 1) & "," > End Select > 'i = i + 1 > Next i > SeparateChars = strOut > End Function > > > > End Function > > On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis > wrote: > > > hi, > > In a field there text values, something like 1234-5679(1678)68:3;1- > > What I need is to split text with every character separate by a > > comma e.g. 1,2,3,4,-,.......,- > > > > Is that possible via query? > > > > thank's > > /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bradm at blackforestltd.com Mon Jul 27 11:11:00 2015 From: bradm at blackforestltd.com (Brad Marks) Date: Mon, 27 Jul 2015 16:11:00 +0000 Subject: [AccessD] Screen Scraping - GUI-less Mode on Windows Server 2012 In-Reply-To: <70899AD7769444AB8BBE8EB3C9252B20@kost36PC> References: , , <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC><55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> <000301d0c7e6$2db33870$8919a950$@dalyn.co.nz>, <70899AD7769444AB8BBE8EB3C9252B20@kost36PC> Message-ID: All, I have an application that pulls data from a purchased manufacturing system and then feeds this data into a purchased accounting system. The only way to feed data into the purchased accounting system is via the screens/forms provided by the package. The application that I built uses Access 2007 to pull the data from the manufacturing system and a scripting tool called AutoHotKey to do ?Screen Scraping? to feed the data into the accounting system via the accounting system?s screens. This method works, but it is not ideal. I used AutoHotKey to do the screen scraping because I knew how to use this tool to do this and because I was not sure if Access could be used to easily read and write screens from another application. Is it possible to do this with Access? My second question is a bit more complicated. This application has been running successfully every night for about 6 months. It runs in unattended mode. It runs on a server (Windows 2012). Currently, in order for this application to run, I need to be connected from a desktop PC via Remote Desktop to the server. If this connection is lost, the application will not run. As I understand it, the server goes into ?GUI-less? mode when the remote desktop connection is lost. Therefore, I currently keep a remote desktop connection from my desktop PC to the Server all of the time. This works, but I do not like the need to have the remote desktop connection available all of the time. If the desktop PC goes down or is rebooted, the remote desktop connection is lost and needs to be re-established. I am not very familiar with the idea of the ?GUI-less? mode on the server. I wonder if there is a way to prevent the server from going into GUI-less mode when the remote desktop connection is lost. Has anyone else ever run into anything like this? Any suggestions on how to improve this situation? Thanks, Brad From gustav at cactus.dk Mon Jul 27 11:30:44 2015 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 27 Jul 2015 16:30:44 +0000 Subject: [AccessD] Screen Scraping - GUI-less Mode on Windows Server 2012 In-Reply-To: References: , , <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC><55B544DD.32014.1ED2564@stuart.lexacorp.com.pg> <000301d0c7e6$2db33870$8919a950$@dalyn.co.nz>, <70899AD7769444AB8BBE8EB3C9252B20@kost36PC>, Message-ID: Hi Brad The remote machine does not go into a non-GUI mode, it just logs of from the session - as if you worked at the machine and chose to logout. So if your application needs to operate in a logged-in GUI session - and Access does that - you somehow must maintain a logged in session. The alternative is to have your application running as a service. That can be prommed in C#, C++, VB.NET or other programming language but not Access. /gustav ________________________________________ Fra: AccessD p? vegne af Brad Marks Sendt: 27. juli 2015 18:11 Til: Access Developers discussion and problem solving Emne: [AccessD] Screen Scraping - GUI-less Mode on Windows Server 2012 All, I have an application that pulls data from a purchased manufacturing system and then feeds this data into a purchased accounting system. The only way to feed data into the purchased accounting system is via the screens/forms provided by the package. The application that I built uses Access 2007 to pull the data from the manufacturing system and a scripting tool called AutoHotKey to do ?Screen Scraping? to feed the data into the accounting system via the accounting system?s screens. This method works, but it is not ideal. I used AutoHotKey to do the screen scraping because I knew how to use this tool to do this and because I was not sure if Access could be used to easily read and write screens from another application. Is it possible to do this with Access? My second question is a bit more complicated. This application has been running successfully every night for about 6 months. It runs in unattended mode. It runs on a server (Windows 2012). Currently, in order for this application to run, I need to be connected from a desktop PC via Remote Desktop to the server. If this connection is lost, the application will not run. As I understand it, the server goes into ?GUI-less? mode when the remote desktop connection is lost. Therefore, I currently keep a remote desktop connection from my desktop PC to the Server all of the time. This works, but I do not like the need to have the remote desktop connection available all of the time. If the desktop PC goes down or is rebooted, the remote desktop connection is lost and needs to be re-established. I am not very familiar with the idea of the ?GUI-less? mode on the server. I wonder if there is a way to prevent the server from going into GUI-less mode when the remote desktop connection is lost. Has anyone else ever run into anything like this? Any suggestions on how to improve this situation? Thanks, Brad From BWalsh at acumentra.org Mon Jul 27 11:30:52 2015 From: BWalsh at acumentra.org (Bob Walsh) Date: Mon, 27 Jul 2015 16:30:52 +0000 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: <1B9EB250202F4D5191B1CE91E7B1B5BE@kost36PC><37A7A792B0C44894809975558FAC4DFE@kost36PC><561A8C738A064275AA5F726E75E59846@kost36PC> <8E2F7AAA5FDC418FA10D376F98BF4FD7@kost36PC> Message-ID: You don't have to take it out if you don't put it there in the first place... Case Else If I = 1 then strOut = strOut & Mid(strIn, i, 1) else strOut = strOut & "," & Mid(strIn, i, 1) ... -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Sunday, July 26, 2015 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] how to split text into its letters... After the loop: strOut=left(strOut,Len(strOut)-1) I think will do it. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Sunday, July 26, 2015 9:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... Hi David, it works just as I need it would be better If it was possible to cut the last comma 1,2,3,4,-,.......,-, many many thank's /kostas -----?????? ??????----- From: David McAfee Sent: Sunday, July 26, 2015 12:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to split text into its letters... something like this should work Public Function SeparateChars(strIn As String) As String Dim strOut As String, i As Integer For i = 1 To Len(strIn) Select Case Mid(strIn, i, 1) Case " ", "|" 'Characters that you want to ignore go here Case Else strOut = strOut + Mid(strIn, i, 1) & "," End Select 'i = i + 1 Next i SeparateChars = strOut End Function End Function On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis wrote: > hi, > In a field there text values, something like 1234-5679(1678)68:3;1- > What I need is to split text with every character separate by a comma e.g. > 1,2,3,4,-,.......,- > > Is that possible via query? > > 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 IMPORTANT NOTE: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete this message from your computer. Acumentra Health. From bensonforums at gmail.com Mon Jul 27 11:35:27 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 12:35:27 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control Message-ID: Anyone know a way to do this? I almost never like labels clinging to controls when the parent controls are added. This happens en masse when dragging fields onto a fresh form, and I have to select the labels one by one and cut/paste, reposition them, which is a nuissance. If there is a way to shut off the label feature entirely that might be an adequate half-measure, but what I would really prefer is a way to loop controls and dissociate them from the parent controls they may be clinging to without having to eliminate them entirely (were that even possible). Bill From rockysmolin at bchacc.com Mon Jul 27 11:43:43 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 27 Jul 2015 09:43:43 -0700 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: Message-ID: <538D11E41D0F477B8B733BEB8B2C58FD@HAL9007> Not a solution but maybe a workaround. I never drag the fields on to the form - I use the Record Source property of the text box to bind the box. When I have to get a bunch of bound controls on a form I create the first one, unbound, dissociate the label and paste it in, position the label and format the label and text box the way I want (the default format I rarely use). I then bind the text box by using the combo box on the record source property. Then select the label and text box, ctrl-C, ctrl-V and walla, another box and dissociated label. Finally, select the record source from the drop down list in the property sheet. HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 9:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Programmatically dissociate label from its parent control Anyone know a way to do this? I almost never like labels clinging to controls when the parent controls are added. This happens en masse when dragging fields onto a fresh form, and I have to select the labels one by one and cut/paste, reposition them, which is a nuissance. If there is a way to shut off the label feature entirely that might be an adequate half-measure, but what I would really prefer is a way to loop controls and dissociate them from the parent controls they may be clinging to without having to eliminate them entirely (were that even possible). Bill -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Mon Jul 27 11:48:30 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 12:48:30 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <538D11E41D0F477B8B733BEB8B2C58FD@HAL9007> References: <538D11E41D0F477B8B733BEB8B2C58FD@HAL9007> Message-ID: ok, that helps. thanks Rocky. On Mon, Jul 27, 2015 at 12:43 PM, Rocky Smolin wrote: > Not a solution but maybe a workaround. I never drag the fields on to the > form - I use the Record Source property of the text box to bind the box. > > When I have to get a bunch of bound controls on a form I create the first > one, unbound, dissociate the label and paste it in, position the label and > format the label and text box the way I want (the default format I rarely > use). I then bind the text box by using the combo box on the record source > property. Then select the label and text box, ctrl-C, ctrl-V and walla, > another box and dissociated label. Finally, select the record source from > the drop down list in the property sheet. > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 9:35 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Programmatically dissociate label from its parent > control > > Anyone know a way to do this? I almost never like labels clinging to > controls when the parent controls are added. This happens en masse when > dragging fields onto a fresh form, and I have to select the labels one by > one and cut/paste, reposition them, which is a nuissance. > > If there is a way to shut off the label feature entirely that might be an > adequate half-measure, but what I would really prefer is a way to loop > controls and dissociate them from the parent controls they may be clinging > to without having to eliminate them entirely (were that even possible). > > Bill > -- > 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 Mon Jul 27 12:07:50 2015 From: jwcolby at gmail.com (John W. Colby) Date: Mon, 27 Jul 2015 13:07:50 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: Message-ID: <55B66566.7000408@gmail.com> Each control has a .Controls collection, as does the form itself. The label is always Controls(0), the "zeroth" item in the collection. You have to get a pointer to the current form. dim ctl as control So for each ctl in frm.Controls ctl.controls(0) = null next ctl I don't remember whether this can be done at run time or whether you have to do this in design mode and save the form. I THINK it can be done at runtime. John W. Colby On 7/27/2015 12:35 PM, Bill Benson wrote: > Anyone know a way to do this? I almost never like labels clinging to > controls when the parent controls are added. This happens en masse when > dragging fields onto a fresh form, and I have to select the labels one by > one and cut/paste, reposition them, which is a nuissance. > > If there is a way to shut off the label feature entirely that might be an > adequate half-measure, but what I would really prefer is a way to loop > controls and dissociate them from the parent controls they may be clinging > to without having to eliminate them entirely (were that even possible). > > Bill From ssharkins at gmail.com Mon Jul 27 13:34:05 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 27 Jul 2015 14:34:05 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <538D11E41D0F477B8B733BEB8B2C58FD@HAL9007> References: <538D11E41D0F477B8B733BEB8B2C58FD@HAL9007> Message-ID: You used to be able to specify label-less as a default -- can't do that anymore? Susan H. On Mon, Jul 27, 2015 at 12:43 PM, Rocky Smolin wrote: > Not a solution but maybe a workaround. I never drag the fields on to the > form - I use the Record Source property of the text box to bind the box. > > When I have to get a bunch of bound controls on a form I create the first > one, unbound, dissociate the label and paste it in, position the label and > format the label and text box the way I want (the default format I rarely > use). I then bind the text box by using the combo box on the record source > property. Then select the label and text box, ctrl-C, ctrl-V and walla, > another box and dissociated label. Finally, select the record source from > the drop down list in the property sheet. > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 9:35 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Programmatically dissociate label from its parent > control > > Anyone know a way to do this? I almost never like labels clinging to > controls when the parent controls are added. This happens en masse when > dragging fields onto a fresh form, and I have to select the labels one by > one and cut/paste, reposition them, which is a nuissance. > > If there is a way to shut off the label feature entirely that might be an > adequate half-measure, but what I would really prefer is a way to loop > controls and dissociate them from the parent controls they may be clinging > to without having to eliminate them entirely (were that even possible). > > Bill > -- > 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 bensonforums at gmail.com Mon Jul 27 13:59:44 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 14:59:44 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B66566.7000408@gmail.com> References: <55B66566.7000408@gmail.com> Message-ID: John, it is not something I would have wanted to do at runtime - not sure what sense that would make. It is something I would want to run from a standard module while a freshly created form is open in design view, like so: Sub removelabels() Dim ctrl As Control For Each ctrl In Screen.ActiveForm.Controls If TypeName(ctrl) = "Label" Then On Error Resume Next ctrl.Controls(0) = Null If Err.Number <> 0 Then Debug.Print Err.Description End If Next End Sub Anyways, it does not work in design view at least, I am getting this error "You entered an expression that has an invalid reference to the property Controls." On Mon, Jul 27, 2015 at 1:07 PM, John W. Colby wrote: > Each control has a .Controls collection, as does the form itself. The > label is always Controls(0), the "zeroth" item in the collection. > > > You have to get a pointer to the current form. > > dim ctl as control > So for each ctl in frm.Controls > ctl.controls(0) = null > next ctl > > I don't remember whether this can be done at run time or whether you have > to do this in design mode and save the form. > > I THINK it can be done at runtime. > > John W. Colby > > > On 7/27/2015 12:35 PM, Bill Benson wrote: > >> Anyone know a way to do this? I almost never like labels clinging to >> controls when the parent controls are added. This happens en masse when >> dragging fields onto a fresh form, and I have to select the labels one by >> one and cut/paste, reposition them, which is a nuissance. >> >> If there is a way to shut off the label feature entirely that might be an >> adequate half-measure, but what I would really prefer is a way to loop >> controls and dissociate them from the parent controls they may be clinging >> to without having to eliminate them entirely (were that even possible). >> >> Bill >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Mon Jul 27 14:09:54 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 27 Jul 2015 15:09:54 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control Message-ID: I've probably misunderstood your request, so just ignore me if this isn't what you're looking for. In Design View, click the control in the Toolbox but don't insert one. Instead, open the property sheet and find the Auto Label property -- change it to No. The selected control in the Toolbox will remain label-less until you reset the property. Susan H. > > > >> Anyone know a way to do this? I almost never like labels clinging to > >> controls when the parent controls are added. This happens en masse when > >> dragging fields onto a fresh form, and I have to select the labels one > by > >> one and cut/paste, reposition them, which is a nuissance. > >> > >> If there is a way to shut off the label feature entirely that might be > an > >> adequate half-measure, but what I would really prefer is a way to loop > >> controls and dissociate them from the parent controls they may be > clinging > >> to without having to eliminate them entirely (were that even possible). > >> > From bensonforums at gmail.com Mon Jul 27 14:29:48 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 15:29:48 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: Message-ID: Not at all susan, I did not mean to ignore you, nor did you misunderstand my request. I was responding to John Colby. That works for me also... just kinda still interested if there is an after-the-fact way to disassociate the little buggers. But now I have two ways between yours and rocky's suggestions. Thank you all. On Mon, Jul 27, 2015 at 3:09 PM, Susan Harkins wrote: > I've probably misunderstood your request, so just ignore me if this isn't > what you're looking for. > > In Design View, click the control in the Toolbox but don't insert one. > Instead, open the property sheet and find the Auto Label property -- change > it to No. > > The selected control in the Toolbox will remain label-less until you reset > the property. > > Susan H. > > > > > > > >> Anyone know a way to do this? I almost never like labels clinging to > > >> controls when the parent controls are added. This happens en masse > when > > >> dragging fields onto a fresh form, and I have to select the labels one > > by > > >> one and cut/paste, reposition them, which is a nuissance. > > >> > > >> If there is a way to shut off the label feature entirely that might be > > an > > >> adequate half-measure, but what I would really prefer is a way to loop > > >> controls and dissociate them from the parent controls they may be > > clinging > > >> to without having to eliminate them entirely (were that even > possible). > > >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Mon Jul 27 14:37:56 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 15:37:56 -0400 Subject: [AccessD] how to have access ignore a form that is canceled Message-ID: I am running this DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) When the openargs is null, I cancel form load. How can I get Access to ignore that the form wont open instead of throwing me into break mode? My error trapping is not working, and the problem arised before Form_Error in the calling form so I cannot continue past it (which makes sense since it is not a data error I guess). Private Sub cmdAddComment_Click() On Error Resume Next DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) If Err.Number <> 0 Then MsgBox "Could not open the comments form" End If End Sub From ssharkins at gmail.com Mon Jul 27 14:43:25 2015 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 27 Jul 2015 15:43:25 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control Message-ID: Are you looking for a custom default control/label arrangement? I don't have one, but you're right, seems like it should be possible by "setting as default" -- which is available with many objects throughout the Office suite. So, I went looking... Insert your control, arrange the label as you want it. Right-click, click the Controls gallery More button (I'm using 2010). Select Set Control Defaults! It's not the same as disassociating I don't think, but I'm not sure what you mean by that. Susan H. On Mon, Jul 27, 2015 at 3:29 PM, Bill Benson wrote: > Not at all susan, I did not mean to ignore you, nor did you misunderstand > my request. I was responding to John Colby. > > That works for me also... just kinda still interested if there is an > after-the-fact way to disassociate the little buggers. > > But now I have two ways between yours and rocky's suggestions. > > From jimdettman at verizon.net Mon Jul 27 15:24:13 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 27 Jul 2015 16:24:13 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: Bill, With the VBA editor window open, click on tools/options. Click the general tab. Make sure your selected to break on unhandled errors. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 03:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] how to have access ignore a form that is canceled I am running this DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) When the openargs is null, I cancel form load. How can I get Access to ignore that the form wont open instead of throwing me into break mode? My error trapping is not working, and the problem arised before Form_Error in the calling form so I cannot continue past it (which makes sense since it is not a data error I guess). Private Sub cmdAddComment_Click() On Error Resume Next DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) If Err.Number <> 0 Then MsgBox "Could not open the comments form" End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Mon Jul 27 16:07:43 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 17:07:43 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: Yes, that setting is there. The problem as I see it, is that Access doesn't like me to cancel a load of a form when there was a calling routine that opened it. My feeling is, so what? Thats the idea. There ought to be a way to trap for that and disregard I have forbidden the form to open by design! On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman wrote: > Bill, > > With the VBA editor window open, click on tools/options. Click the > general tab. > > Make sure your selected to break on unhandled errors. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 03:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of throwing > me into break mode? > > > > My error trapping is not working, and the problem arised before Form_Error > in the calling form so I cannot continue past it (which makes sense since > it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 bensonforums at gmail.com Mon Jul 27 16:08:27 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 17:08:27 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: Message-ID: And that is another fine solution - but not the programmatic one I was looking for. And it's no worry at this point. Thank you! On Mon, Jul 27, 2015 at 3:43 PM, Susan Harkins wrote: > Are you looking for a custom default control/label arrangement? I don't > have one, but you're right, seems like it should be possible by "setting as > default" -- which is available with many objects throughout the Office > suite. > > So, I went looking... > > Insert your control, arrange the label as you want it. Right-click, click > the Controls gallery More button (I'm using 2010). Select Set Control > Defaults! It's not the same as disassociating I don't think, but I'm not > sure what you mean by that. > > Susan H. > > On Mon, Jul 27, 2015 at 3:29 PM, Bill Benson > wrote: > > > Not at all susan, I did not mean to ignore you, nor did you misunderstand > > my request. I was responding to John Colby. > > > > That works for me also... just kinda still interested if there is an > > after-the-fact way to disassociate the little buggers. > > > > But now I have two ways between yours and rocky's suggestions. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BWalsh at acumentra.org Mon Jul 27 16:12:57 2015 From: BWalsh at acumentra.org (Bob Walsh) Date: Mon, 27 Jul 2015 21:12:57 +0000 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: <2fabd4ff7a69446093b8075406afe6e2@Rigel.ompro.org> Doesn't it make more sense to not open the form if the argument you want to send is null? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 2:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Yes, that setting is there. The problem as I see it, is that Access doesn't like me to cancel a load of a form when there was a calling routine that opened it. My feeling is, so what? Thats the idea. There ought to be a way to trap for that and disregard I have forbidden the form to open by design! On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman wrote: > Bill, > > With the VBA editor window open, click on tools/options. Click the > general tab. > > Make sure your selected to break on unhandled errors. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 03:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of > throwing me into break mode? > > > > My error trapping is not working, and the problem arised before > Form_Error in the calling form so I cannot continue past it (which > makes sense since it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 IMPORTANT NOTE: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete this message from your computer. Acumentra Health. From rockysmolin at bchacc.com Mon Jul 27 16:29:54 2015 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 27 Jul 2015 14:29:54 -0700 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: <7AB95A9C2566483F8691B29179EBE8BA@HAL9007> How about testing for Me.ID before opening: If Not IsNull(Me.ID) Then DpCmd.OpenForm... Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 12:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] how to have access ignore a form that is canceled I am running this DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) When the openargs is null, I cancel form load. How can I get Access to ignore that the form wont open instead of throwing me into break mode? My error trapping is not working, and the problem arised before Form_Error in the calling form so I cannot continue past it (which makes sense since it is not a data error I guess). Private Sub cmdAddComment_Click() On Error Resume Next DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) If Err.Number <> 0 Then MsgBox "Could not open the comments form" End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Mon Jul 27 16:37:04 2015 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Mon, 27 Jul 2015 21:37:04 +0000 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: Can't you just trap error 2501 - "OpenForm action was cancelled" ? Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Yes, that setting is there. The problem as I see it, is that Access doesn't like me to cancel a load of a form when there was a calling routine that opened it. My feeling is, so what? Thats the idea. There ought to be a way to trap for that and disregard I have forbidden the form to open by design! On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman wrote: > Bill, > > With the VBA editor window open, click on tools/options. Click the > general tab. > > Make sure your selected to break on unhandled errors. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 03:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of > throwing me into break mode? > > > > My error trapping is not working, and the problem arised before > Form_Error in the calling form so I cannot continue past it (which > makes sense since it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 Mon Jul 27 16:44:40 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Jul 2015 07:44:40 +1000 Subject: [AccessD] how to split text into its letters... In-Reply-To: References: , , Message-ID: <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg> Yet another method in a similar vein :-) strOut=Left$(strIn,1) For i = 2 to Len(strIn) strOUt = strOut & "," & Mid$(strIn,i,1) Next -- Stuart On 27 Jul 2015 at 16:30, Bob Walsh wrote: > You don't have to take it out if you don't put it there in the first > place... > Case Else > If I = 1 then > strOut = strOut & Mid(strIn, i, 1) > else > strOut = strOut & "," & Mid(strIn, i, 1) > ... > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Sunday, July 26, 2015 10:20 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] how > to split text into its letters... > > After the loop: strOut=left(strOut,Len(strOut)-1) I think will do it. > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Kostas Konstantinidis Sent: Sunday, July 26, 2015 9:01 AM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] how to split text into its letters... > > Hi David, > it works just as I need > it would be better If it was possible to cut the last comma > 1,2,3,4,-,.......,-, > > many many thank's > /kostas > > > ----- ----- > From: David McAfee > Sent: Sunday, July 26, 2015 12:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to split text into its letters... > > something like this should work > > Public Function SeparateChars(strIn As String) As String > Dim strOut As String, i As Integer > For i = 1 To Len(strIn) > Select Case Mid(strIn, i, 1) > Case " ", "|" 'Characters that you want to ignore go here > Case Else > strOut = strOut + Mid(strIn, i, 1) & "," > End Select > 'i = i + 1 > Next i > SeparateChars = strOut > End Function > > > > End Function > > On Sat, Jul 25, 2015 at 10:08 AM, Kostas Konstantinidis > wrote: > > > hi, > > In a field there text values, something like 1234-5679(1678)68:3;1- > > What I need is to split text with every character separate by a > > comma e.g. 1,2,3,4,-,.......,- > > > > Is that possible via query? > > > > 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 > IMPORTANT NOTE: The information contained in this message may be > privileged, confidential, and protected from disclosure. If the reader > of this message is not the intended recipient, or an employee or agent > responsible for delivering this message to the intended recipient, you > are hereby notified that any dissemination, distribution, or copying > of this communication is strictly prohibited. If you have received > this communication in error, please notify us immediately and delete > this message from your computer. Acumentra Health. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jul 27 16:50:21 2015 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Jul 2015 07:50:21 +1000 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B66566.7000408@gmail.com> References: , <55B66566.7000408@gmail.com> Message-ID: <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> Hmm, JC back on the Access list after a long absence! Wassap John, taking a break from boat systems for a while? :-) -- Stuart On 27 Jul 2015 at 13:07, John W. Colby wrote: > Each control has a .Controls collection, as does the form itself. The > label is always Controls(0), the "zeroth" item in the collection. > > > You have to get a pointer to the current form. > > dim ctl as control > So for each ctl in frm.Controls > ctl.controls(0) = null > next ctl > > I don't remember whether this can be done at run time or whether you > have to do this in design mode and save the form. > > I THINK it can be done at runtime. > > John W. Colby > > On 7/27/2015 12:35 PM, Bill Benson wrote: > > Anyone know a way to do this? I almost never like labels clinging to > > controls when the parent controls are added. This happens en masse > > when dragging fields onto a fresh form, and I have to select the > > labels one by one and cut/paste, reposition them, which is a > > nuissance. > > > > If there is a way to shut off the label feature entirely that might > > be an adequate half-measure, but what I would really prefer is a way > > to loop controls and dissociate them from the parent controls they > > may be clinging to without having to eliminate them entirely (were > > that even possible). > > > > Bill > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Mon Jul 27 17:13:28 2015 From: jwcolby at gmail.com (John W. Colby) Date: Mon, 27 Jul 2015 18:13:28 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> References: <55B66566.7000408@gmail.com> <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> Message-ID: <55B6AD08.5050307@gmail.com> Just happened to see something I knew anything about! :) The boat is finally happening. I am getting a survey this Wednesday, then go sail it home sometime mid month. It is 700 miles away up in New Jersey. John W. Colby On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > Hmm, JC back on the Access list after a long absence! > > Wassap John, taking a break from boat systems for a while? :-) > From jwcolby at gmail.com Mon Jul 27 17:21:03 2015 From: jwcolby at gmail.com (John W. Colby) Date: Mon, 27 Jul 2015 18:21:03 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> References: <55B66566.7000408@gmail.com> <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> Message-ID: <55B6AECF.9060809@gmail.com> So how is your boat? How much sailing have you been doing since the purchase? Are you liveaboard? John W. Colby On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > Hmm, JC back on the Access list after a long absence! > > Wassap John, taking a break from boat systems for a while? :-) > From jimdettman at verizon.net Mon Jul 27 19:08:47 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 27 Jul 2015 20:08:47 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: <3CD6FC0808E3485ABB0A8A05E58F4921@XPS> Yes and maybe I didn't understand, but trapping 2501 is the norm... Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, July 27, 2015 05:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] how to have access ignore a form that is canceled Can't you just trap error 2501 - "OpenForm action was cancelled" ? Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Yes, that setting is there. The problem as I see it, is that Access doesn't like me to cancel a load of a form when there was a calling routine that opened it. My feeling is, so what? Thats the idea. There ought to be a way to trap for that and disregard I have forbidden the form to open by design! On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman wrote: > Bill, > > With the VBA editor window open, click on tools/options. Click the > general tab. > > Make sure your selected to break on unhandled errors. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 03:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of > throwing me into break mode? > > > > My error trapping is not working, and the problem arised before > Form_Error in the calling form so I cannot continue past it (which > makes sense since it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 bensonforums at gmail.com Mon Jul 27 20:36:44 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 21:36:44 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: Apparently not since On Error Resume next did not suppress the notification On Jul 27, 2015 5:37 PM, "Heenan, Lambert" wrote: > Can't you just trap error 2501 - "OpenForm action was cancelled" ? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 5:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to have access ignore a form that is canceled > > Yes, that setting is there. > > The problem as I see it, is that Access doesn't like me to cancel a load > of a form when there was a calling routine that opened it. My feeling is, > so what? Thats the idea. There ought to be a way to trap for that and > disregard I have forbidden the form to open by design! > > On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman > wrote: > > > Bill, > > > > With the VBA editor window open, click on tools/options. Click the > > general tab. > > > > Make sure your selected to break on unhandled errors. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Bill Benson > > Sent: Monday, July 27, 2015 03:38 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] how to have access ignore a form that is canceled > > > > I am running this > > > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > > > When the openargs is null, I cancel form load. > > > > How can I get Access to ignore that the form wont open instead of > > throwing me into break mode? > > > > > > > > My error trapping is not working, and the problem arised before > > Form_Error in the calling form so I cannot continue past it (which > > makes sense since it is not a data error I guess). > > > > Private Sub cmdAddComment_Click() > > On Error Resume Next > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > If Err.Number <> 0 Then > > MsgBox "Could not open the comments form" > > End If > > End Sub > > -- > > 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 bensonforums at gmail.com Mon Jul 27 20:38:16 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 21:38:16 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: <3CD6FC0808E3485ABB0A8A05E58F4921@XPS> References: <3CD6FC0808E3485ABB0A8A05E58F4921@XPS> Message-ID: As I wrote before I get put into break mode with that error reported even though I had on Error Resume next so I don't see what trapping error code 2501 will do for me. I will try again tomorrow On Jul 27, 2015 8:09 PM, "Jim Dettman" wrote: > > Yes and maybe I didn't understand, but trapping 2501 is the norm... > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: Monday, July 27, 2015 05:37 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] how to have access ignore a form that is canceled > > Can't you just trap error 2501 - "OpenForm action was cancelled" ? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 5:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to have access ignore a form that is canceled > > Yes, that setting is there. > > The problem as I see it, is that Access doesn't like me to cancel a load of > a form when there was a calling routine that opened it. My feeling is, so > what? Thats the idea. There ought to be a way to trap for that and > disregard > I have forbidden the form to open by design! > > On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman > wrote: > > > Bill, > > > > With the VBA editor window open, click on tools/options. Click the > > general tab. > > > > Make sure your selected to break on unhandled errors. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Bill Benson > > Sent: Monday, July 27, 2015 03:38 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] how to have access ignore a form that is canceled > > > > I am running this > > > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > > > When the openargs is null, I cancel form load. > > > > How can I get Access to ignore that the form wont open instead of > > throwing me into break mode? > > > > > > > > My error trapping is not working, and the problem arised before > > Form_Error in the calling form so I cannot continue past it (which > > makes sense since it is not a data error I guess). > > > > Private Sub cmdAddComment_Click() > > On Error Resume Next > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > If Err.Number <> 0 Then > > MsgBox "Could not open the comments form" > > End If > > End Sub > > -- > > 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 bensonforums at gmail.com Mon Jul 27 20:40:21 2015 From: bensonforums at gmail.com (Bill Benson) Date: Mon, 27 Jul 2015 21:40:21 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: <7AB95A9C2566483F8691B29179EBE8BA@HAL9007> References: <7AB95A9C2566483F8691B29179EBE8BA@HAL9007> Message-ID: Rocky and Bob yes those would be good ideas but they are not really answering my question my question is why is this happening when in my opinion I am given the chance to cancel the opening of the form in that forms code module and I don't really see why that needs to result in an error that I cannot suppress On Jul 27, 2015 5:30 PM, "Rocky Smolin" wrote: > How about testing for Me.ID before opening: > > If Not IsNull(Me.ID) Then DpCmd.OpenForm... > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 12:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of throwing > me into break mode? > > > > My error trapping is not working, and the problem arised before Form_Error > in the calling form so I cannot continue past it (which makes sense since > it > is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) If > Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 bensonforums at gmail.com Tue Jul 28 00:47:56 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 28 Jul 2015 01:47:56 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B6AD08.5050307@gmail.com> References: <55B66566.7000408@gmail.com> <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> <55B6AD08.5050307@gmail.com> Message-ID: John, I am in New Jersey... a meet up? On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > Just happened to see something I knew anything about! :) > > The boat is finally happening. I am getting a survey this Wednesday, then > go sail it home sometime mid month. It is 700 miles away up in New Jersey. > > John W. Colby > > On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > >> Hmm, JC back on the Access list after a long absence! >> >> Wassap John, taking a break from boat systems for a while? :-) >> >> > -- > 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 Jul 28 08:29:51 2015 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 28 Jul 2015 13:29:51 +0000 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: Message-ID: It must be to do with how you are closing the second form. Just tested this code Private Sub Command0_Click() On Error GoTo Command0_Click_Error DoCmd.OpenForm "Form2" Command0_Click_Exit: On Error GoTo 0 Exit Sub Command0_Click_Error: Select Case Err.Number Case 0 ' No Error DoEvents Case Else MsgBox "Error " & Err.Number & " : " & Err.Description & " at line " & Erl, vbOKOnly, "Command0_Click" End Select End Sub And in Form2's Open event I have this code Private Sub Form_Open(Cancel As Integer) MsgBox Me.Name & " opened" Cancel = True End Sub That will throw error 2501 in the calling code and it is trapped by the error handler. On the other hand if I run the same code to open the form, but instead of using the Load event to close it, like this... Private Sub Form_Load() MsgBox Me.Name & " opened" DoCmd.Close acForm, Me.Name End Sub ... then the form closes and no error happens. Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 9:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Apparently not since On Error Resume next did not suppress the notification On Jul 27, 2015 5:37 PM, "Heenan, Lambert" wrote: > Can't you just trap error 2501 - "OpenForm action was cancelled" ? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 5:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to have access ignore a form that is > canceled > > Yes, that setting is there. > > The problem as I see it, is that Access doesn't like me to cancel a > load of a form when there was a calling routine that opened it. My > feeling is, so what? Thats the idea. There ought to be a way to trap > for that and disregard I have forbidden the form to open by design! > > On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman > wrote: > > > Bill, > > > > With the VBA editor window open, click on tools/options. Click > > the general tab. > > > > Make sure your selected to break on unhandled errors. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Bill Benson > > Sent: Monday, July 27, 2015 03:38 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] how to have access ignore a form that is canceled > > > > I am running this > > > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , > > CStr(Me.ID) > > > > When the openargs is null, I cancel form load. > > > > How can I get Access to ignore that the form wont open instead of > > throwing me into break mode? > > > > > > > > My error trapping is not working, and the problem arised before > > Form_Error in the calling form so I cannot continue past it (which > > makes sense since it is not a data error I guess). > > > > Private Sub cmdAddComment_Click() > > On Error Resume Next > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , > > CStr(Me.ID) If Err.Number <> 0 Then > > MsgBox "Could not open the comments form" > > End If > > End Sub > > -- > > 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 BWalsh at acumentra.org Tue Jul 28 08:36:29 2015 From: BWalsh at acumentra.org (Bob Walsh) Date: Tue, 28 Jul 2015 13:36:29 +0000 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: <7AB95A9C2566483F8691B29179EBE8BA@HAL9007> Message-ID: <383a823bf2f44de683eb679452c66071@Rigel.ompro.org> Are you doing a Cancel or a Close Form? Are you doing it in the Form_Open routine or in the Form_Load routine? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Rocky and Bob yes those would be good ideas but they are not really answering my question my question is why is this happening when in my opinion I am given the chance to cancel the opening of the form in that forms code module and I don't really see why that needs to result in an error that I cannot suppress On Jul 27, 2015 5:30 PM, "Rocky Smolin" wrote: > How about testing for Me.ID before opening: > > If Not IsNull(Me.ID) Then DpCmd.OpenForm... > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 12:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of > throwing me into break mode? > > > > My error trapping is not working, and the problem arised before > Form_Error in the calling form so I cannot continue past it (which > makes sense since it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 IMPORTANT NOTE: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete this message from your computer. Acumentra Health. From jwcolby at gmail.com Tue Jul 28 08:48:03 2015 From: jwcolby at gmail.com (John W. Colby) Date: Tue, 28 Jul 2015 09:48:03 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: <55B66566.7000408@gmail.com> <55B6A79D.7877.756E9B8@stuart.lexacorp.com.pg> <55B6AD08.5050307@gmail.com> Message-ID: <55B78813.8050104@gmail.com> You bet. I'll email you off line. John W. Colby On 7/28/2015 1:47 AM, Bill Benson wrote: > John, I am in New Jersey... a meet up? > On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > >> Just happened to see something I knew anything about! :) >> >> The boat is finally happening. I am getting a survey this Wednesday, then >> go sail it home sometime mid month. It is 700 miles away up in New Jersey. >> >> John W. Colby >> >> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: >> >>> Hmm, JC back on the Access list after a long absence! >>> >>> Wassap John, taking a break from boat systems for a while? :-) >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From Elizabeth.J.Doering at wellsfargo.com Tue Jul 28 08:53:04 2015 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Tue, 28 Jul 2015 13:53:04 +0000 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: <383a823bf2f44de683eb679452c66071@Rigel.ompro.org> References: <7AB95A9C2566483F8691B29179EBE8BA@HAL9007> <383a823bf2f44de683eb679452c66071@Rigel.ompro.org> Message-ID: <074E01FF8433644D823218D61A1D4C584597530E@MSGEXSV21132.ent.wfb.bank.corp> Late to the party and working with long ago knowledge.... In the VBA window, under Tools, Options, General, Error Trapping, you don't possibly have "Break on all errors" selected? Alternative would be "Break on unhandled errors" Liz -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Walsh Sent: Tuesday, July 28, 2015 8:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Are you doing a Cancel or a Close Form? Are you doing it in the Form_Open routine or in the Form_Load routine? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled Rocky and Bob yes those would be good ideas but they are not really answering my question my question is why is this happening when in my opinion I am given the chance to cancel the opening of the form in that forms code module and I don't really see why that needs to result in an error that I cannot suppress On Jul 27, 2015 5:30 PM, "Rocky Smolin" wrote: > How about testing for Me.ID before opening: > > If Not IsNull(Me.ID) Then DpCmd.OpenForm... > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Monday, July 27, 2015 12:38 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] how to have access ignore a form that is canceled > > I am running this > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > When the openargs is null, I cancel form load. > > How can I get Access to ignore that the form wont open instead of > throwing me into break mode? > > > > My error trapping is not working, and the problem arised before > Form_Error in the calling form so I cannot continue past it (which > makes sense since it is not a data error I guess). > > Private Sub cmdAddComment_Click() > On Error Resume Next > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > If Err.Number <> 0 Then > MsgBox "Could not open the comments form" > End If > End Sub > -- > 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 IMPORTANT NOTE: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete this message from your computer. Acumentra Health. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Tue Jul 28 11:16:07 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 28 Jul 2015 12:16:07 -0400 Subject: [AccessD] Access deletes my controls which I use Ctrl-X Message-ID: Is this happening to anyone else or do I likely have a corrupt installation / database? I selected several controls so I could reposition them, Ctrl-X, moved to new spot, Ctrl-V - and they were gone, they did not paste! This is Ac2013. the database has been compacted and repaired many times, and never any error messages. From jwcolby at gmail.com Tue Jul 28 11:27:48 2015 From: jwcolby at gmail.com (John W. Colby) Date: Tue, 28 Jul 2015 12:27:48 -0400 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: References: Message-ID: <55B7AD84.8090705@gmail.com> Ctl-Z will undo the last so that might undo the cut. John W. Colby On 7/28/2015 12:16 PM, Bill Benson wrote: > Is this happening to anyone else or do I likely have a corrupt installation > / database? > > I selected several controls so I could reposition them, Ctrl-X, moved to > new spot, Ctrl-V - and they were gone, they did not paste! > > This is Ac2013. > > the database has been compacted and repaired many times, and never any > error messages. From bensonforums at gmail.com Tue Jul 28 11:59:34 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 28 Jul 2015 12:59:34 -0400 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: <55B7AD84.8090705@gmail.com> References: <55B7AD84.8090705@gmail.com> Message-ID: not for me. Some thing wrong I fear On Jul 28, 2015 12:28 PM, "John W. Colby" wrote: > Ctl-Z will undo the last so that might undo the cut. > > John W. Colby > > On 7/28/2015 12:16 PM, Bill Benson wrote: > >> Is this happening to anyone else or do I likely have a corrupt >> installation >> / database? >> >> I selected several controls so I could reposition them, Ctrl-X, moved to >> new spot, Ctrl-V - and they were gone, they did not paste! >> >> This is Ac2013. >> >> the database has been compacted and repaired many times, and never any >> error messages. >> > > -- > 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 Jul 28 12:25:49 2015 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 28 Jul 2015 17:25:49 +0000 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: References: <55B7AD84.8090705@gmail.com> Message-ID: All sounds very strange, and not correct, but if you just want to *move* the controls why not select them and them move, rather than trying to cut and paste? Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Tuesday, July 28, 2015 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X not for me. Some thing wrong I fear On Jul 28, 2015 12:28 PM, "John W. Colby" wrote: > Ctl-Z will undo the last so that might undo the cut. > > John W. Colby > > On 7/28/2015 12:16 PM, Bill Benson wrote: > >> Is this happening to anyone else or do I likely have a corrupt >> installation / database? >> >> I selected several controls so I could reposition them, Ctrl-X, moved >> to new spot, Ctrl-V - and they were gone, they did not paste! >> >> This is Ac2013. >> >> the database has been compacted and repaired many times, and never >> any error messages. >> > > -- > 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 bensonforums at gmail.com Tue Jul 28 12:36:37 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 28 Jul 2015 13:36:37 -0400 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: References: <55B7AD84.8090705@gmail.com> Message-ID: Haha, good question and no doubt you think i havent got a good answer. Because it was bevause I wanted to move them inside a parent control like a tab or a frame/options group On Jul 28, 2015 1:27 PM, "Heenan, Lambert" wrote: > All sounds very strange, and not correct, but if you just want to *move* > the controls why not select them and them move, rather than trying to cut > and paste? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Tuesday, July 28, 2015 1:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X > > not for me. Some thing wrong I fear > On Jul 28, 2015 12:28 PM, "John W. Colby" wrote: > > > Ctl-Z will undo the last so that might undo the cut. > > > > John W. Colby > > > > On 7/28/2015 12:16 PM, Bill Benson wrote: > > > >> Is this happening to anyone else or do I likely have a corrupt > >> installation / database? > >> > >> I selected several controls so I could reposition them, Ctrl-X, moved > >> to new spot, Ctrl-V - and they were gone, they did not paste! > >> > >> This is Ac2013. > >> > >> the database has been compacted and repaired many times, and never > >> any error messages. > >> > > > > -- > > 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 df.waters at outlook.com Tue Jul 28 13:52:52 2015 From: df.waters at outlook.com (Dan Waters) Date: Tue, 28 Jul 2015 13:52:52 -0500 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: References: <55B7AD84.8090705@gmail.com> Message-ID: When you copy a control from a form into a tab control, you need to click on the tab that you are pasting onto first. Otherwise you are pasting back onto the form - behind the tab control. See if that's it?? Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Tuesday, July 28, 2015 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X Haha, good question and no doubt you think i havent got a good answer. Because it was bevause I wanted to move them inside a parent control like a tab or a frame/options group On Jul 28, 2015 1:27 PM, "Heenan, Lambert" wrote: > All sounds very strange, and not correct, but if you just want to > *move* the controls why not select them and them move, rather than > trying to cut and paste? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Tuesday, July 28, 2015 1:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X > > not for me. Some thing wrong I fear > On Jul 28, 2015 12:28 PM, "John W. Colby" wrote: > > > Ctl-Z will undo the last so that might undo the cut. > > > > John W. Colby > > > > On 7/28/2015 12:16 PM, Bill Benson wrote: > > > >> Is this happening to anyone else or do I likely have a corrupt > >> installation / database? > >> > >> I selected several controls so I could reposition them, Ctrl-X, > >> moved to new spot, Ctrl-V - and they were gone, they did not paste! > >> > >> This is Ac2013. > >> > >> the database has been compacted and repaired many times, and never > >> any error messages. > >> > > > > -- > > 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 bensonforums at gmail.com Tue Jul 28 14:12:51 2015 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 28 Jul 2015 15:12:51 -0400 Subject: [AccessD] Access deletes my controls which I use Ctrl-X In-Reply-To: References: <55B7AD84.8090705@gmail.com> Message-ID: That is not it Dan. Thanks anyway... Pretty sure I have a bug in Access, the database, or the form is corrupted. I could neither paste the controls nor Undo. Seems like this puppy is now on borrowed time. On Tue, Jul 28, 2015 at 2:52 PM, Dan Waters wrote: > When you copy a control from a form into a tab control, you need to click > on > the tab that you are pasting onto first. Otherwise you are pasting back > onto the form - behind the tab control. > > See if that's it?? > > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Tuesday, July 28, 2015 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X > > Haha, good question and no doubt you think i havent got a good answer. > > Because it was bevause I wanted to move them inside a parent control like a > tab or a frame/options group On Jul 28, 2015 1:27 PM, "Heenan, Lambert" > wrote: > > > All sounds very strange, and not correct, but if you just want to > > *move* the controls why not select them and them move, rather than > > trying to cut and paste? > > > > Lambert > > > > > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Bill Benson > > Sent: Tuesday, July 28, 2015 1:00 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access deletes my controls which I use Ctrl-X > > > > not for me. Some thing wrong I fear > > On Jul 28, 2015 12:28 PM, "John W. Colby" wrote: > > > > > Ctl-Z will undo the last so that might undo the cut. > > > > > > John W. Colby > > > > > > On 7/28/2015 12:16 PM, Bill Benson wrote: > > > > > >> Is this happening to anyone else or do I likely have a corrupt > > >> installation / database? > > >> > > >> I selected several controls so I could reposition them, Ctrl-X, > > >> moved to new spot, Ctrl-V - and they were gone, they did not paste! > > >> > > >> This is Ac2013. > > >> > > >> the database has been compacted and repaired many times, and never > > >> any error messages. > > >> > > > > > > -- > > > 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 kost36 at otenet.gr Wed Jul 29 01:59:20 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 29 Jul 2015 09:59:20 +0300 Subject: [AccessD] How do I calculate the sum numbers of an array In-Reply-To: <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg> References: , , <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg> Message-ID: Hi again, I am trying to make a formula calculation to be able to figure out easily and faster a unique key indicator very important for my personal usage. So, I use a field with a generated string like 50 150 22 35 50 68 etc The total group numbers are 6 The formula calculation I need depends of the result of the total group numbers if the total group is an even number it must sum the even parts of group (150+35+68 = 253) else if it's an odd number it must sum the odd parts of group (50+22+50=122) I ask for your help another once thank's /kostas From gustav at cactus.dk Wed Jul 29 02:40:51 2015 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Jul 2015 07:40:51 +0000 Subject: [AccessD] How do I calculate the sum numbers of an array In-Reply-To: References: , , <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg>, Message-ID: Hi Kostas Just loop the numbers and sum the numbers in odds and evens: Public Function SumString(ByVal Numbers As String) As Long Dim NumberParts As Variant Dim SumEven As Long Dim SumOdd As Long Dim Result As Long Dim Item As Long NumberParts = Split(Numbers, " ") For Item = LBound(NumberParts) To UBound(NumberParts) If Item Mod 2 = 0 Then SumEven = SumEven + Val(NumberParts(Item)) Else SumOdd = SumOdd + Val(NumberParts(Item)) End If Next If (SumOdd + SumEven) Mod 2 = 0 Then Result = SumEven Else Result = SumOdd End If SumString = Result End Function ________________________________________ Fra: AccessD p? vegne af Kostas Konstantinidis Sendt: 29. juli 2015 08:59 Til: Access Developers discussion and problem solving Emne: [AccessD] How do I calculate the sum numbers of an array Hi again, I am trying to make a formula calculation to be able to figure out easily and faster a unique key indicator very important for my personal usage. So, I use a field with a generated string like 50 150 22 35 50 68 etc The total group numbers are 6 The formula calculation I need depends of the result of the total group numbers if the total group is an even number it must sum the even parts of group (150+35+68 = 253) else if it's an odd number it must sum the odd parts of group (50+22+50=122) I ask for your help another once thank's /kostas From kost36 at otenet.gr Wed Jul 29 03:38:55 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 29 Jul 2015 11:38:55 +0300 Subject: [AccessD] How do I calculate the sum numbers of an array In-Reply-To: References: , , <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg>, Message-ID: Hi Gustav, you are great many thank's /kostas -----?????? ??????----- From: Gustav Brock Sent: Wednesday, July 29, 2015 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How do I calculate the sum numbers of an array Hi Kostas Just loop the numbers and sum the numbers in odds and evens: Public Function SumString(ByVal Numbers As String) As Long Dim NumberParts As Variant Dim SumEven As Long Dim SumOdd As Long Dim Result As Long Dim Item As Long NumberParts = Split(Numbers, " ") For Item = LBound(NumberParts) To UBound(NumberParts) If Item Mod 2 = 0 Then SumEven = SumEven + Val(NumberParts(Item)) Else SumOdd = SumOdd + Val(NumberParts(Item)) End If Next If (SumOdd + SumEven) Mod 2 = 0 Then Result = SumEven Else Result = SumOdd End If SumString = Result End Function ________________________________________ Fra: AccessD p? vegne af Kostas Konstantinidis Sendt: 29. juli 2015 08:59 Til: Access Developers discussion and problem solving Emne: [AccessD] How do I calculate the sum numbers of an array Hi again, I am trying to make a formula calculation to be able to figure out easily and faster a unique key indicator very important for my personal usage. So, I use a field with a generated string like 50 150 22 35 50 68 etc The total group numbers are 6 The formula calculation I need depends of the result of the total group numbers if the total group is an even number it must sum the even parts of group (150+35+68 = 253) else if it's an odd number it must sum the odd parts of group (50+22+50=122) I ask for your help another once thank's /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Jul 29 04:46:43 2015 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Jul 2015 09:46:43 +0000 Subject: [AccessD] How do I calculate the sum numbers of an array In-Reply-To: References: , , <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg>, , Message-ID: Hi Kostas You are welcome! /gustav ________________________________________ Fra: AccessD p? vegne af Kostas Konstantinidis Sendt: 29. juli 2015 10:38 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] How do I calculate the sum numbers of an array Hi Gustav, you are great many thank's /kostas -----?????? ??????----- From: Gustav Brock Sent: Wednesday, July 29, 2015 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How do I calculate the sum numbers of an array Hi Kostas Just loop the numbers and sum the numbers in odds and evens: Public Function SumString(ByVal Numbers As String) As Long Dim NumberParts As Variant Dim SumEven As Long Dim SumOdd As Long Dim Result As Long Dim Item As Long NumberParts = Split(Numbers, " ") For Item = LBound(NumberParts) To UBound(NumberParts) If Item Mod 2 = 0 Then SumEven = SumEven + Val(NumberParts(Item)) Else SumOdd = SumOdd + Val(NumberParts(Item)) End If Next If (SumOdd + SumEven) Mod 2 = 0 Then Result = SumEven Else Result = SumOdd End If SumString = Result End Function ________________________________________ Fra: AccessD p? vegne af Kostas Konstantinidis Sendt: 29. juli 2015 08:59 Til: Access Developers discussion and problem solving Emne: [AccessD] How do I calculate the sum numbers of an array Hi again, I am trying to make a formula calculation to be able to figure out easily and faster a unique key indicator very important for my personal usage. So, I use a field with a generated string like 50 150 22 35 50 68 etc The total group numbers are 6 The formula calculation I need depends of the result of the total group numbers if the total group is an even number it must sum the even parts of group (150+35+68 = 253) else if it's an odd number it must sum the odd parts of group (50+22+50=122) I ask for your help another once 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 jimdettman at verizon.net Wed Jul 29 07:15:19 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Jul 2015 08:15:19 -0400 Subject: [AccessD] how to have access ignore a form that is canceled In-Reply-To: References: <3CD6FC0808E3485ABB0A8A05E58F4921@XPS> Message-ID: <744FBA366F874DF3BCD129F17B62AE6E@XPS> Bill, We've got a disconnect somewhere Certainly when you cancel a form open, error 2501 is returned to the calling routine. The code as you posted should be putting up your message box. If your getting an actual break in execution then something odd is at work since you've already said your error handling setting in VBA is correct. If you are getting an actual break with the code you posted, then I would do a /decompile as something's gotten out of whack. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Monday, July 27, 2015 09:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] how to have access ignore a form that is canceled As I wrote before I get put into break mode with that error reported even though I had on Error Resume next so I don't see what trapping error code 2501 will do for me. I will try again tomorrow On Jul 27, 2015 8:09 PM, "Jim Dettman" wrote: > > Yes and maybe I didn't understand, but trapping 2501 is the norm... > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: Monday, July 27, 2015 05:37 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] how to have access ignore a form that is canceled > > Can't you just trap error 2501 - "OpenForm action was cancelled" ? > > Lambert > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Monday, July 27, 2015 5:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] how to have access ignore a form that is canceled > > Yes, that setting is there. > > The problem as I see it, is that Access doesn't like me to cancel a load of > a form when there was a calling routine that opened it. My feeling is, so > what? Thats the idea. There ought to be a way to trap for that and > disregard > I have forbidden the form to open by design! > > On Mon, Jul 27, 2015 at 4:24 PM, Jim Dettman > wrote: > > > Bill, > > > > With the VBA editor window open, click on tools/options. Click the > > general tab. > > > > Make sure your selected to break on unhandled errors. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Bill Benson > > Sent: Monday, July 27, 2015 03:38 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] how to have access ignore a form that is canceled > > > > I am running this > > > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > > > When the openargs is null, I cancel form load. > > > > How can I get Access to ignore that the form wont open instead of > > throwing me into break mode? > > > > > > > > My error trapping is not working, and the problem arised before > > Form_Error in the calling form so I cannot continue past it (which > > makes sense since it is not a data error I guess). > > > > Private Sub cmdAddComment_Click() > > On Error Resume Next > > DoCmd.OpenForm "frmComments", acNormal, , , acFormEdit, , CStr(Me.ID) > > If Err.Number <> 0 Then > > MsgBox "Could not open the comments form" > > End If > > End Sub > > -- > > 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 Wed Jul 29 11:32:25 2015 From: jwcolby at gmail.com (John W. Colby) Date: Wed, 29 Jul 2015 12:32:25 -0400 Subject: [AccessD] OT - How to print duplex in Word Message-ID: <55B90019.70307@gmail.com> When I print a PDF it pops up a dialog asking how I want it printed, and I am specifically interested in printing both sides of the page. When I try to do the same in word, it just blasts it out to the printer, never asking me how I want to print it. I really need to print duplex. Any idea how I specify that? -- John W. Colby From DMcGillivray at ctc.ca.gov Wed Jul 29 11:45:59 2015 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Wed, 29 Jul 2015 16:45:59 +0000 Subject: [AccessD] OT - How to print duplex in Word In-Reply-To: <55B90019.70307@gmail.com> References: <55B90019.70307@gmail.com> Message-ID: Hi John, If you use File/Print (as opposed to the toolbar Print button), the dialog that pops up allows you to select a printer and its options - one of which should be the duplex mode. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, July 29, 2015 9:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - How to print duplex in Word When I print a PDF it pops up a dialog asking how I want it printed, and I am specifically interested in printing both sides of the page. When I try to do the same in word, it just blasts it out to the printer, never asking me how I want to print it. I really need to print duplex. Any idea how I specify that? -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Wed Jul 29 12:02:22 2015 From: jwcolby at gmail.com (John W. Colby) Date: Wed, 29 Jul 2015 13:02:22 -0400 Subject: [AccessD] OT - How to print duplex in Word In-Reply-To: References: <55B90019.70307@gmail.com> Message-ID: <55B9071E.20104@gmail.com> Ahh there it is. I knew I had seen that before. Thanks! John W. Colby On 7/29/2015 12:45 PM, McGillivray, Don wrote: > Hi John, > > If you use File/Print (as opposed to the toolbar Print button), the dialog that pops up allows you to select a printer and its options - one of which should be the duplex mode. > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Wednesday, July 29, 2015 9:32 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT - How to print duplex in Word > > When I print a PDF it pops up a dialog asking how I want it printed, and I am specifically interested in printing both sides of the page. > > When I try to do the same in word, it just blasts it out to the printer, never asking me how I want to print it. I really need to print duplex. > > Any idea how I specify that? > > -- > John W. Colby > > -- > 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 Jul 29 12:24:15 2015 From: df.waters at outlook.com (Dan Waters) Date: Wed, 29 Jul 2015 12:24:15 -0500 Subject: [AccessD] OT - How to print duplex in Word In-Reply-To: <55B90019.70307@gmail.com> References: <55B90019.70307@gmail.com> Message-ID: Hi John, In code you can do this: Application.Printer.Duplex = acPRDPHorizontal Application.Printer.Duplex = acPRDPVertical Application.Printer.Duplex = acPRDPSimplex Horizontal or Vertical turns duplex on in that orientation. Simplex turns duplex off. HTH! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, July 29, 2015 11:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - How to print duplex in Word When I print a PDF it pops up a dialog asking how I want it printed, and I am specifically interested in printing both sides of the page. When I try to do the same in word, it just blasts it out to the printer, never asking me how I want to print it. I really need to print duplex. Any idea how I specify that? -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Wed Jul 29 13:11:10 2015 From: jwcolby at gmail.com (John W. Colby) Date: Wed, 29 Jul 2015 14:11:10 -0400 Subject: [AccessD] [dba-Tech] [dba-OT] mp3 file problem In-Reply-To: <55B41C2F.15453.21C2FD14@stuart.lexacorp.com.pg> References: <008458104311489D811B728F8AC9D5E2@HAL9007> <55B41C2F.15453.21C2FD14@stuart.lexacorp.com.pg> Message-ID: <55B9173E.2020001@gmail.com> And I always heard that Apple "just works". :) John W. Colby On 7/25/2015 7:30 PM, Stuart McLachlan wrote: > Take your pick of these tools: > > http://lifehacker.com/5266613/six-best-mp3-tagging-tools > > > On 25 Jul 2015 at 13:35, Rocky Smolin wrote: > >> I borrowed a book from the library to listen to on a long road trip. >> But we didn't finish the book. So I ripped the audio files from the >> CD to a batch of mp3 files and edited the file names so they would be >> consistent and would play in that order. But when I added the files >> to iTunes, they came in order of the Title not the file name and so >> they're playing in title order which is not the order they need to be >> in. When I synced the iTunes files with my iPod, I found that out. >> The titles are very inconsistent. >> >> So I think the quickest way to solve the problem is to make the mp3 >> Title = file name. But is there a way to do this through Access? Or >> some other slick way? Or something else that can be done to get them >> to play in file name order? >> >> MTIA >> >> Rocky' >> >> >> > > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Jul 29 15:07:44 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 29 Jul 2015 14:07:44 -0600 (MDT) Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B78813.8050104@gmail.com> Message-ID: <177452516.14354885.1438200464768.JavaMail.root@shaw.ca> Another sail craft? This is exciting. :-) Jim ----- Original Message ----- From: "John W. Colby" To: "Access Developers discussion and problem solving" Sent: Tuesday, July 28, 2015 6:48:03 AM Subject: Re: [AccessD] Programmatically dissociate label from its parent control You bet. I'll email you off line. John W. Colby On 7/28/2015 1:47 AM, Bill Benson wrote: > John, I am in New Jersey... a meet up? > On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > >> Just happened to see something I knew anything about! :) >> >> The boat is finally happening. I am getting a survey this Wednesday, then >> go sail it home sometime mid month. It is 700 miles away up in New Jersey. >> >> John W. Colby >> >> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: >> >>> Hmm, JC back on the Access list after a long absence! >>> >>> Wassap John, taking a break from boat systems for a while? :-) >>> >>> >> -- >> 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 Wed Jul 29 20:52:34 2015 From: jwcolby at gmail.com (John W. Colby) Date: Wed, 29 Jul 2015 21:52:34 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <177452516.14354885.1438200464768.JavaMail.root@shaw.ca> References: <177452516.14354885.1438200464768.JavaMail.root@shaw.ca> Message-ID: <55B98362.6050600@gmail.com> ??? John W. Colby On 7/29/2015 4:07 PM, Jim Lawrence wrote: > Another sail craft? This is exciting. :-) > > Jim > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > Sent: Tuesday, July 28, 2015 6:48:03 AM > Subject: Re: [AccessD] Programmatically dissociate label from its parent control > > You bet. > > I'll email you off line. > > John W. Colby > > On 7/28/2015 1:47 AM, Bill Benson wrote: >> John, I am in New Jersey... a meet up? >> On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: >> >>> Just happened to see something I knew anything about! :) >>> >>> The boat is finally happening. I am getting a survey this Wednesday, then >>> go sail it home sometime mid month. It is 700 miles away up in New Jersey. >>> >>> John W. Colby >>> >>> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: >>> >>>> Hmm, JC back on the Access list after a long absence! >>>> >>>> Wassap John, taking a break from boat systems for a while? :-) >>>> >>>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> From bensonforums at gmail.com Thu Jul 30 00:51:32 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 30 Jul 2015 01:51:32 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <177452516.14354885.1438200464768.JavaMail.root@shaw.ca> References: <55B78813.8050104@gmail.com> <177452516.14354885.1438200464768.JavaMail.root@shaw.ca> Message-ID: ? On Jul 29, 2015 4:09 PM, "Jim Lawrence" wrote: > Another sail craft? This is exciting. :-) > > Jim > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Tuesday, July 28, 2015 6:48:03 AM > Subject: Re: [AccessD] Programmatically dissociate label from its parent > control > > You bet. > > I'll email you off line. > > John W. Colby > > On 7/28/2015 1:47 AM, Bill Benson wrote: > > John, I am in New Jersey... a meet up? > > On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > > > >> Just happened to see something I knew anything about! :) > >> > >> The boat is finally happening. I am getting a survey this Wednesday, > then > >> go sail it home sometime mid month. It is 700 miles away up in New > Jersey. > >> > >> John W. Colby > >> > >> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > >> > >>> Hmm, JC back on the Access list after a long absence! > >>> > >>> Wassap John, taking a break from boat systems for a while? :-) > >>> > >>> > >> -- > >> 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 darren at activebilling.com.au Thu Jul 30 01:11:54 2015 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 30 Jul 2015 16:11:54 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: References: Message-ID: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> Hi All, Anyone have any thoughts on this? It can?t be that WinServer2003 and IE8 is just ?too old? for HTTPS?can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the 'cross > domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the zones > (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross > domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security zone > settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in the > past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >> no control over these servers BTW - not mine to manage and the last >> time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution I >> have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older versions >> of IE are either incapable of accessing HTTPS sites or requests to >> them are not being processed. This really is an area I have absolutely >> no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into the >> Address field of Firefox or Chrome- I get results. Cool. It's just IE >> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 mwp.reid at qub.ac.uk Thu Jul 30 01:35:31 2015 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 30 Jul 2015 06:35:31 +0000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> Message-ID: <976E500DD0AF35409874A413967BFAEC390E7ED7@EX2K10-MBX6.ads.qub.ac.uk> Darren You likely have tried this in your google searching but it solved a number of issues for us. Try using compatibility view in the browser? Martin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: 30 July 2015 07:12 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi All, Anyone have any thoughts on this? It can?t be that WinServer2003 and IE8 is just ?too old? for HTTPS?can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the > 'cross domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the > others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources > | Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the > zones (Internet, Intranet, Trusted Sites and restricted) - to all > 'enable' Cross domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security > zone settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in > the past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: > https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I >> have no control over these servers BTW - not mine to manage and the >> last time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution >> I have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older >> versions of IE are either incapable of accessing HTTPS sites or >> requests to them are not being processed. This really is an area I >> have absolutely no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into >> the Address field of Firefox or Chrome- I get results. Cool. It's >> just IE is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 darren at activebilling.com.au Thu Jul 30 02:34:23 2015 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 30 Jul 2015 17:34:23 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <976E500DD0AF35409874A413967BFAEC390E7ED7@EX2K10-MBX6.ads.qub.ac.uk> References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> <976E500DD0AF35409874A413967BFAEC390E7ED7@EX2K10-MBX6.ads.qub.ac.uk> Message-ID: <46F7798A-532A-4264-9FB1-3B107711B8EA@activebilling.com.au> Hi Martin Thanks for the reply. Yes, I have tried it (In the IE8Version) but no joy Even selected to show all site in compatibility mode as well as the desired https site. Many thanks Darren > On 30 Jul 2015, at 4:35 pm, Martin Reid wrote: > > Darren > > You likely have tried this in your google searching but it solved a number of issues for us. Try using compatibility view in the browser? > > Martin > > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing > Sent: 30 July 2015 07:12 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Hi All, > Anyone have any thoughts on this? > It can?t be that WinServer2003 and IE8 is just ?too old? for HTTPS?can it? > Many thanks > Darren > >> On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: >> >> Stuart & Darryl, >> Thanks for the replies/comments. >> Stuart - I have in various edits across the weeks played with the >> 'cross domain access'. >> Tools | Internet Options | Security Tab | (Zones) Internet (and the >> others) >> | Custom Level and scroll (5xPage Downs) to the "Access data Sources >> | Across >> Domains". >> Is that where you meant? >> Anyway - After reading your post I went back in and edited all the >> zones (Internet, Intranet, Trusted Sites and restricted) - to all >> 'enable' Cross domain Access. >> No joy, sadly >> Many thanks in advance >> D >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Darryl Collins >> Sent: Thursday, 23 July 2015 8:46 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> Yes... This was my thoughts too. Can you mod the default security >> zone settings in IE itself. >> >> Oddly you need to this for other permissions as well I have noted in >> the past. >> >> Hopefully MS Edge avoids this kind of SNAFUs.... >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Stuart McLachlan >> Sent: Thursday, 23 July 2015 8:01 PM >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> From: >> https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx >> >> Note In Internet Explorer 7, the default settings for cross-domain data >> access are set to >> "deny" for all security zones. >> >> Can you get the server admins to modify IE's Security Manager to allow >> access to the site in question (or can you do that yourself?) >> >> >> >> On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: >> >>> Hi Team, >>> With the help of the very clever Mr. McLachlan, I have been able to >>> build a nice tool that performs an API request and returns the >>> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >>> All very cool - Works a treat - On my local Windows 8 machine. >>> >>> When I tried to run this Access dB on our old Win 2003 Servers (there >>> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I >>> have no control over these servers BTW - not mine to manage and the >>> last time I rebooted one it did not come "back up" and caused chaos) >>> >>> Anyway - after a week of googling and various attempts at resolution >>> I have discovered the issue is because I am running my API request >>> against is an HTTPS site and not an HTTP site.Turns out Older >>> versions of IE are either incapable of accessing HTTPS sites or >>> requests to them are not being processed. This really is an area I >>> have absolutely no clue about. >>> >>> On each of our Win2003 Servers if I paste the API request URL into >>> the Address field of Firefox or Chrome- I get results. Cool. It's >>> just IE is the issue. IE won't load an HTTPS sites outside our domain (i.e. >>> from the real world) IE will load our own internal HTTPS Sites hosted >>> on our same server and domain. But nothing from the outside world. >>> >>> And yes, I have wasted hours and hours over this trying every >>> conceivable suggestion by the Google world. But obviously not the one >>> I need :-) Googling phrases and words such as "HTTPS not accessible >>> IE7" or IE8 can't access https site" yields a whole world of pain for >>> a great many folk. And the majority of suggestions I truly have tried >>> - Maybe there is one more I haven't that will be the solution. Happy >>> to try whatever you suggest. >>> >>> So...my question is - Anyone know of an alternative to >>> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >>> HTTPS sites in the outside world. >>> >>> Sorry for the long post - Many thanks in anticipation >>> >>> D >>> >>> -- >>> 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 accessd at shaw.ca Thu Jul 30 12:15:19 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 30 Jul 2015 11:15:19 -0600 (MDT) Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> Message-ID: <2095941571.14915438.1438276519679.JavaMail.root@shaw.ca> Hi Darren: Yes, both these programs are "too old"...but just like XP (...and are full of zero-day bugs), getting clients, to anti-up, to a potentially massive bill, for products, with qualities, that they have serious suspicions about, is going to be a very ssssslllloooowwwwwwww process. Jim ----- Original Message ----- From: "Darren - Active Billing" To: "Access Developers discussion and problem solving" Sent: Wednesday, July 29, 2015 11:11:54 PM Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi All, Anyone have any thoughts on this? It can?t be that WinServer2003 and IE8 is just ?too old? for HTTPS?can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the 'cross > domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the zones > (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross > domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security zone > settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in the > past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >> no control over these servers BTW - not mine to manage and the last >> time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution I >> have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older versions >> of IE are either incapable of accessing HTTPS sites or requests to >> them are not being processed. This really is an area I have absolutely >> no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into the >> Address field of Firefox or Chrome- I get results. Cool. It's just IE >> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 Thu Jul 30 14:01:17 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Jul 2015 15:01:17 -0400 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> Message-ID: I would seriously doubt that unless I saw it first hand. SSL over HTTP has been around forever. While I don't have an exact answer for you, my suggestion would be to turn on logging for IE, then check the Windows Event Viewer for any errors or warnings. Might give you a clue as to what's going on. Better yet, download fiddler: http://www.telerik.com/fiddler But be ready to dive in deep end. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Thursday, July 30, 2015 02:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi All, Anyone have any thoughts on this? It can't be that WinServer2003 and IE8 is just "too old" for HTTPS.can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the 'cross > domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the zones > (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross > domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security zone > settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in the > past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >> no control over these servers BTW - not mine to manage and the last >> time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution I >> have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older versions >> of IE are either incapable of accessing HTTPS sites or requests to >> them are not being processed. This really is an area I have absolutely >> no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into the >> Address field of Firefox or Chrome- I get results. Cool. It's just IE >> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 mwp.reid at qub.ac.uk Thu Jul 30 14:28:33 2015 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 30 Jul 2015 19:28:33 +0000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au>, Message-ID: <976E500DD0AF35409874A413967BFAEC390E856F@EX2K10-MBX6.ads.qub.ac.uk> Likely done but what about enhanced browser security as your on a server? Martin ________________________________ From: Jim Dettman Sent: ?30/?07/?2015 20:02 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using MSXML2 on old machines - No dice I would seriously doubt that unless I saw it first hand. SSL over HTTP has been around forever. While I don't have an exact answer for you, my suggestion would be to turn on logging for IE, then check the Windows Event Viewer for any errors or warnings. Might give you a clue as to what's going on. Better yet, download fiddler: http://www.telerik.com/fiddler But be ready to dive in deep end. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Thursday, July 30, 2015 02:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi All, Anyone have any thoughts on this? It can't be that WinServer2003 and IE8 is just "too old" for HTTPS.can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the 'cross > domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the zones > (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross > domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security zone > settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in the > past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >> no control over these servers BTW - not mine to manage and the last >> time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution I >> have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older versions >> of IE are either incapable of accessing HTTPS sites or requests to >> them are not being processed. This really is an area I have absolutely >> no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into the >> Address field of Firefox or Chrome- I get results. Cool. It's just IE >> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 darren at activebilling.com.au Thu Jul 30 20:03:33 2015 From: darren at activebilling.com.au (Darren - Active Billing) Date: Fri, 31 Jul 2015 11:03:33 +1000 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <976E500DD0AF35409874A413967BFAEC390E856F@EX2K10-MBX6.ads.qub.ac.uk> References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> <976E500DD0AF35409874A413967BFAEC390E856F@EX2K10-MBX6.ads.qub.ac.uk> Message-ID: <64564534-0AD1-4CD4-8DBB-6F4E53F9DEF7@activebilling.com.au> Hi Guys Many thanks to all the suggestions. Jim D - Not my server to play with, really.(sadly) Martin - Yes, have tried it and tried it again to no avail. Jim L - thanks - but it seems you may well be right - ?too old? Many thanks Darren - Active Billing 0424 696 433 > On 31 Jul 2015, at 5:28 am, Martin Reid wrote: > > Likely done but what about enhanced browser security as your on a server? > > Martin > ________________________________ > From: Jim Dettman > Sent: ?30/?07/?2015 20:02 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > > I would seriously doubt that unless I saw it first hand. SSL over HTTP > has been around forever. > > While I don't have an exact answer for you, my suggestion would be to turn > on logging for IE, then check the Windows Event Viewer for any errors or > warnings. Might give you a clue as to what's going on. > > Better yet, download fiddler: > > http://www.telerik.com/fiddler > > But be ready to dive in deep end. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darren - Active Billing > Sent: Thursday, July 30, 2015 02:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Hi All, > Anyone have any thoughts on this? > It can't be that WinServer2003 and IE8 is just "too old" for HTTPS.can it? > Many thanks > Darren > >> On 25 Jul 2015, at 2:39 am, Darren- Active Billing > wrote: >> >> Stuart & Darryl, >> Thanks for the replies/comments. >> Stuart - I have in various edits across the weeks played with the 'cross >> domain access'. >> Tools | Internet Options | Security Tab | (Zones) Internet (and the > others) >> | Custom Level and scroll (5xPage Downs) to the "Access data Sources > Across >> Domains". >> Is that where you meant? >> Anyway - After reading your post I went back in and edited all the zones >> (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross >> domain Access. >> No joy, sadly >> Many thanks in advance >> D >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Darryl Collins >> Sent: Thursday, 23 July 2015 8:46 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> Yes... This was my thoughts too. Can you mod the default security zone >> settings in IE itself. >> >> Oddly you need to this for other permissions as well I have noted in the >> past. >> >> Hopefully MS Edge avoids this kind of SNAFUs.... >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Stuart McLachlan >> Sent: Thursday, 23 July 2015 8:01 PM >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx >> >> Note In Internet Explorer 7, the default settings for cross-domain data >> access are set to >> "deny" for all security zones. >> >> Can you get the server admins to modify IE's Security Manager to allow >> access to the site in question (or can you do that yourself?) >> >> >> >> On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: >> >>> Hi Team, >>> With the help of the very clever Mr. McLachlan, I have been able to >>> build a nice tool that performs an API request and returns the >>> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >>> All very cool - Works a treat - On my local Windows 8 machine. >>> >>> When I tried to run this Access dB on our old Win 2003 Servers (there >>> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >>> no control over these servers BTW - not mine to manage and the last >>> time I rebooted one it did not come "back up" and caused chaos) >>> >>> Anyway - after a week of googling and various attempts at resolution I >>> have discovered the issue is because I am running my API request >>> against is an HTTPS site and not an HTTP site.Turns out Older versions >>> of IE are either incapable of accessing HTTPS sites or requests to >>> them are not being processed. This really is an area I have absolutely >>> no clue about. >>> >>> On each of our Win2003 Servers if I paste the API request URL into the >>> Address field of Firefox or Chrome- I get results. Cool. It's just IE >>> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >>> from the real world) IE will load our own internal HTTPS Sites hosted >>> on our same server and domain. But nothing from the outside world. >>> >>> And yes, I have wasted hours and hours over this trying every >>> conceivable suggestion by the Google world. But obviously not the one >>> I need :-) Googling phrases and words such as "HTTPS not accessible >>> IE7" or IE8 can't access https site" yields a whole world of pain for >>> a great many folk. And the majority of suggestions I truly have tried >>> - Maybe there is one more I haven't that will be the solution. Happy >>> to try whatever you suggest. >>> >>> So...my question is - Anyone know of an alternative to >>> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >>> HTTPS sites in the outside world. >>> >>> Sorry for the long post - Many thanks in anticipation >>> >>> D >>> >>> -- >>> 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 bensonforums at gmail.com Thu Jul 30 21:05:49 2015 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 30 Jul 2015 22:05:49 -0400 Subject: [AccessD] How do I calculate the sum numbers of an array In-Reply-To: References: <55B6A648.5153.751B2B1@stuart.lexacorp.com.pg> Message-ID: Simpler last If...?: ... NumberParts = Split(Numbers, " ") For Item = LBound(NumberParts) To UBound(NumberParts) If Item Mod 2 = 0 Then SumEven = SumEven + Val(NumberParts(Item)) Else SumOdd = SumOdd + Val(NumberParts(Item)) End If Next If NumberParts(item-1) mod 2 = 0 Then Result = SumEven Else Result = SumOdd End If On Jul 29, 2015 3:42 AM, "Gustav Brock" wrote: > Hi Kostas > > Just loop the numbers and sum the numbers in odds and evens: > > > Public Function SumString(ByVal Numbers As String) As Long > > Dim NumberParts As Variant > Dim SumEven As Long > Dim SumOdd As Long > Dim Result As Long > Dim Item As Long > > NumberParts = Split(Numbers, " ") > > For Item = LBound(NumberParts) To UBound(NumberParts) > If Item Mod 2 = 0 Then > SumEven = SumEven + Val(NumberParts(Item)) > Else > SumOdd = SumOdd + Val(NumberParts(Item)) > End If > Next > If (SumOdd + SumEven) Mod 2 = 0 Then > Result = SumEven > Else > Result = SumOdd > End If > > SumString = Result > > End Function > > > ________________________________________ > Fra: AccessD p? vegne af Kostas > Konstantinidis > Sendt: 29. juli 2015 08:59 > Til: Access Developers discussion and problem solving > Emne: [AccessD] How do I calculate the sum numbers of an array > > Hi again, > I am trying to make a formula calculation to be able to figure out easily > and faster a unique key indicator very important for my personal usage. > So, I use a field with a generated string like > 50 150 22 35 50 68 etc > The total group numbers are 6 > The formula calculation I need depends of the result of the total group > numbers > if the total group is an even number it must sum the even parts of group > (150+35+68 = 253) > else if it's an odd number it must sum the odd parts of group > (50+22+50=122) > > I ask for your help another once > > thank's > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Jul 30 21:19:27 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 30 Jul 2015 20:19:27 -0600 (MDT) Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: Message-ID: <1208206992.15272069.1438309167266.JavaMail.root@shaw.ca> An excellent link Jim. :-) Jim ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, July 30, 2015 12:01:17 PM Subject: Re: [AccessD] Using MSXML2 on old machines - No dice I would seriously doubt that unless I saw it first hand. SSL over HTTP has been around forever. While I don't have an exact answer for you, my suggestion would be to turn on logging for IE, then check the Windows Event Viewer for any errors or warnings. Might give you a clue as to what's going on. Better yet, download fiddler: http://www.telerik.com/fiddler But be ready to dive in deep end. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Thursday, July 30, 2015 02:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi All, Anyone have any thoughts on this? It can't be that WinServer2003 and IE8 is just "too old" for HTTPS.can it? Many thanks Darren > On 25 Jul 2015, at 2:39 am, Darren- Active Billing wrote: > > Stuart & Darryl, > Thanks for the replies/comments. > Stuart - I have in various edits across the weeks played with the 'cross > domain access'. > Tools | Internet Options | Security Tab | (Zones) Internet (and the others) > | Custom Level and scroll (5xPage Downs) to the "Access data Sources Across > Domains". > Is that where you meant? > Anyway - After reading your post I went back in and edited all the zones > (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross > domain Access. > No joy, sadly > Many thanks in advance > D > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darryl Collins > Sent: Thursday, 23 July 2015 8:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Yes... This was my thoughts too. Can you mod the default security zone > settings in IE itself. > > Oddly you need to this for other permissions as well I have noted in the > past. > > Hopefully MS Edge avoids this kind of SNAFUs.... > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Thursday, 23 July 2015 8:01 PM > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx > > Note In Internet Explorer 7, the default settings for cross-domain data > access are set to > "deny" for all security zones. > > Can you get the server admins to modify IE's Security Manager to allow > access to the site in question (or can you do that yourself?) > > > > On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: > >> Hi Team, >> With the help of the very clever Mr. McLachlan, I have been able to >> build a nice tool that performs an API request and returns the >> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >> All very cool - Works a treat - On my local Windows 8 machine. >> >> When I tried to run this Access dB on our old Win 2003 Servers (there >> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >> no control over these servers BTW - not mine to manage and the last >> time I rebooted one it did not come "back up" and caused chaos) >> >> Anyway - after a week of googling and various attempts at resolution I >> have discovered the issue is because I am running my API request >> against is an HTTPS site and not an HTTP site.Turns out Older versions >> of IE are either incapable of accessing HTTPS sites or requests to >> them are not being processed. This really is an area I have absolutely >> no clue about. >> >> On each of our Win2003 Servers if I paste the API request URL into the >> Address field of Firefox or Chrome- I get results. Cool. It's just IE >> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >> from the real world) IE will load our own internal HTTPS Sites hosted >> on our same server and domain. But nothing from the outside world. >> >> And yes, I have wasted hours and hours over this trying every >> conceivable suggestion by the Google world. But obviously not the one >> I need :-) Googling phrases and words such as "HTTPS not accessible >> IE7" or IE8 can't access https site" yields a whole world of pain for >> a great many folk. And the majority of suggestions I truly have tried >> - Maybe there is one more I haven't that will be the solution. Happy >> to try whatever you suggest. >> >> So...my question is - Anyone know of an alternative to >> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >> HTTPS sites in the outside world. >> >> Sorry for the long post - Many thanks in anticipation >> >> D >> >> -- >> 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 accessd at shaw.ca Thu Jul 30 22:05:32 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 30 Jul 2015 21:05:32 -0600 (MDT) Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <55B98362.6050600@gmail.com> Message-ID: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> Quote: "...The boat is finally happening. I am getting a survey this Wednesday, then go sail it home sometime mid month. It is 700 miles away up in New Jersey..." Stuart also has a sail craft that he is now living in. Jim ----- Original Message ----- From: "John W. Colby" To: accessd at databaseadvisors.com Sent: Wednesday, July 29, 2015 6:52:34 PM Subject: Re: [AccessD] Programmatically dissociate label from its parent control ??? John W. Colby On 7/29/2015 4:07 PM, Jim Lawrence wrote: > Another sail craft? This is exciting. :-) > > Jim > > ----- Original Message ----- > From: "John W. Colby" > To: "Access Developers discussion and problem solving" > Sent: Tuesday, July 28, 2015 6:48:03 AM > Subject: Re: [AccessD] Programmatically dissociate label from its parent control > > You bet. > > I'll email you off line. > > John W. Colby > > On 7/28/2015 1:47 AM, Bill Benson wrote: >> John, I am in New Jersey... a meet up? >> On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: >> >>> Just happened to see something I knew anything about! :) >>> >>> The boat is finally happening. I am getting a survey this Wednesday, then >>> go sail it home sometime mid month. It is 700 miles away up in New Jersey. >>> >>> John W. Colby >>> >>> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: >>> >>>> Hmm, JC back on the Access list after a long absence! >>>> >>>> Wassap John, taking a break from boat systems for a while? :-) >>>> >>>> >>> -- >>> 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 bensonforums at gmail.com Thu Jul 30 23:36:45 2015 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 31 Jul 2015 00:36:45 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> References: <55B98362.6050600@gmail.com> <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> Message-ID: Now I get it. My father also had a vessel he lived aboard. It was a 51 foot teak vessel that he kept at a marina first in Sausalito and then Richmond California. He never took it for a cruise just lived there before he moved to a house in San Rafael. I drove x-country with a college buddy, we refinished the railings and got mostly full of flea bites for our trouble since the cat lived there before we got there and boat was infested... complete misery. Then came the day it sunk at the dock and was a total loss, < a month after we left. He always kidded me that I left the toilet's water running unattended, and for all I know, it's true so great was my hurry to get out of that pretty and back up on deck before the fleas ate me alive. On Jul 30, 2015 11:07 PM, "Jim Lawrence" wrote: > Quote: > > "...The boat is finally happening. I am getting a survey this Wednesday, > then go sail it home sometime mid month. It is 700 miles away up in New > Jersey..." > > Stuart also has a sail craft that he is now living in. > > Jim > > ----- Original Message ----- > From: "John W. Colby" > To: accessd at databaseadvisors.com > Sent: Wednesday, July 29, 2015 6:52:34 PM > Subject: Re: [AccessD] Programmatically dissociate label from its parent > control > > ??? > > John W. Colby > > On 7/29/2015 4:07 PM, Jim Lawrence wrote: > > Another sail craft? This is exciting. :-) > > > > Jim > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > > Sent: Tuesday, July 28, 2015 6:48:03 AM > > Subject: Re: [AccessD] Programmatically dissociate label from its parent > control > > > > You bet. > > > > I'll email you off line. > > > > John W. Colby > > > > On 7/28/2015 1:47 AM, Bill Benson wrote: > >> John, I am in New Jersey... a meet up? > >> On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > >> > >>> Just happened to see something I knew anything about! :) > >>> > >>> The boat is finally happening. I am getting a survey this Wednesday, > then > >>> go sail it home sometime mid month. It is 700 miles away up in New > Jersey. > >>> > >>> John W. Colby > >>> > >>> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > >>> > >>>> Hmm, JC back on the Access list after a long absence! > >>>> > >>>> Wassap John, taking a break from boat systems for a while? :-) > >>>> > >>>> > >>> -- > >>> 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 bensonforums at gmail.com Thu Jul 30 23:38:33 2015 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 31 Jul 2015 00:38:33 -0400 Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: References: <55B98362.6050600@gmail.com> <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> Message-ID: Er, "Privy", not "pretty". Speak to text software isn't perfect yet. From jwcolby at gmail.com Fri Jul 31 00:17:01 2015 From: jwcolby at gmail.com (John W. Colby) Date: Fri, 31 Jul 2015 01:17:01 -0400 Subject: [AccessD] Boat finally happening. In-Reply-To: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> Message-ID: <55BB04CD.5000100@gmail.com> My boat is old, and a monohull. Stuart's is a very modern catamaran, and much bigger than mine IIRC. In the marine world one usually gets a "survey" done before purchase, a professional surveyor goes over the boat looking for problems. The survey happened yesterday. I will receive the report tomorrow. If no major issues I will pay and go get it. It is a 1974 33' Morgan Out Island. My intention is to live on it, but certainly to sail it often, as in every week for long periods. I will be picking it up in NJ and sailing it about 700 miles back to somewhere in the vicinity of Oriental NC. So that trip alone will likely take about two weeks of sailing, since I will be sailing south down the Atlantic coast against the gulf stream which flows north, and likely against a southerly wind (blowing north as I sail south). Unless I can catch the west side of a weather system which will bring the winds back behind me. I cannot choose the weather though, it is get it and go. Only in the case of a major storm would I sit it out. And in the next year I intend to sail down to the Bahamas. Possibly even this winter. The winter months are when we have no hurricanes down in the Caribbean. I have to get sailing experience though, and make sure the boat is up to the journey. I am excited to get this happening. It has taken a long time to find and buy. John W. Colby On 7/30/2015 11:05 PM, Jim Lawrence wrote: > On 7/29/2015 4:07 PM, Jim Lawrence wrote: >> Another sail craft? This is exciting. :-) >> >> Jim >> From kost36 at otenet.gr Fri Jul 31 01:19:59 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Fri, 31 Jul 2015 09:19:59 +0300 Subject: [AccessD] For a coolish weekend... In-Reply-To: <55BB04CD.5000100@gmail.com> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> Message-ID: <0ADC99122DC045A6922748A49767C3BB@kost36PC> if the temperature is more than 42C like here in Crete then if you have tired coding and coding or working hard then clear your minds for a while taking a short look at https://www.dropbox.com/s/yioq0ghsbbvl8k8/doc_demo.avi?dl=0 end if end if moments from Crete's underwater sights shot the last 2 years by me and my diving explorers team... Sorry for the off topic post but sometimes it might be useful for the future Don?t you agree? have a nice and cool WE /kostas From jwcolby at gmail.com Fri Jul 31 01:32:57 2015 From: jwcolby at gmail.com (John W. Colby) Date: Fri, 31 Jul 2015 02:32:57 -0400 Subject: [AccessD] For a coolish weekend... In-Reply-To: <0ADC99122DC045A6922748A49767C3BB@kost36PC> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> <0ADC99122DC045A6922748A49767C3BB@kost36PC> Message-ID: <55BB1699.9010606@gmail.com> Is this shot with a GoPro by any chance? I have purchased one to document my sailing adventures. John W. Colby On 7/31/2015 2:19 AM, Kostas Konstantinidis wrote: > if the temperature is more than 42C like here in Crete then > if you have tired coding and coding or working hard then > clear your minds for a while taking a short look at > https://www.dropbox.com/s/yioq0ghsbbvl8k8/doc_demo.avi?dl=0 > end if > end if > > moments from Crete's underwater sights shot the last 2 years by me and my diving explorers team... > Sorry for the off topic post but sometimes it might be useful for the future > Don?t you agree? > > have a nice and cool WE > /kostas > > > From kost36 at otenet.gr Fri Jul 31 01:40:57 2015 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Fri, 31 Jul 2015 09:40:57 +0300 Subject: [AccessD] For a coolish weekend... In-Reply-To: <55BB1699.9010606@gmail.com> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca><55BB04CD.5000100@gmail.com><0ADC99122DC045A6922748A49767C3BB@kost36PC> <55BB1699.9010606@gmail.com> Message-ID: <1195AF0961F444449CB832D21F2A798B@kost36PC> Hi John, with GP4 Black of these where there was no need by lights supporting... but the most are shot with professional models and very strong lights (usually all of the 40m deeper like the airplane) /kostas -----?????? ??????----- From: John W. Colby Sent: Friday, July 31, 2015 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] For a coolish weekend... Is this shot with a GoPro by any chance? I have purchased one to document my sailing adventures. John W. Colby On 7/31/2015 2:19 AM, Kostas Konstantinidis wrote: > if the temperature is more than 42C like here in Crete then > if you have tired coding and coding or working hard then > clear your minds for a while taking a short look at > > https://www.dropbox.com/s/yioq0ghsbbvl8k8/doc_demo.avi?dl=0 > end if > end if > > moments from Crete's underwater sights shot the last 2 years by me and my > diving explorers team... > Sorry for the off topic post but sometimes it might be useful for the > future > Don?t you agree? > > have a nice and cool WE > /kostas > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Jul 31 05:53:19 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 31 Jul 2015 06:53:19 -0400 Subject: [AccessD] Using MSXML2 on old machines - No dice In-Reply-To: <64564534-0AD1-4CD4-8DBB-6F4E53F9DEF7@activebilling.com.au> References: <1AD1AD29-55FD-4A71-A018-21F735E04C7D@activebilling.com.au> <976E500DD0AF35409874A413967BFAEC390E856F@EX2K10-MBX6.ads.qub.ac.uk> <64564534-0AD1-4CD4-8DBB-6F4E53F9DEF7@activebilling.com.au> Message-ID: <3C01D8C6D62944EEA02E6541B973FEF9@XPS> I can see that in regards to fiddler, but they should be able to check the logs for you. It's also worth turning logging on , which is a couple of registry entries. My approach would be "this works else where, so you've got a setting that's a problem or a problem in the environment which might effect other software as well". Jim -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Thursday, July 30, 2015 09:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using MSXML2 on old machines - No dice Hi Guys Many thanks to all the suggestions. Jim D - Not my server to play with, really.(sadly) Martin - Yes, have tried it and tried it again to no avail. Jim L - thanks - but it seems you may well be right - ?too old? Many thanks Darren - Active Billing 0424 696 433 > On 31 Jul 2015, at 5:28 am, Martin Reid wrote: > > Likely done but what about enhanced browser security as your on a server? > > Martin > ________________________________ > From: Jim Dettman > Sent: ?30/?07/?2015 20:02 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > > I would seriously doubt that unless I saw it first hand. SSL over HTTP > has been around forever. > > While I don't have an exact answer for you, my suggestion would be to turn > on logging for IE, then check the Windows Event Viewer for any errors or > warnings. Might give you a clue as to what's going on. > > Better yet, download fiddler: > > http://www.telerik.com/fiddler > > But be ready to dive in deep end. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Darren - Active Billing > Sent: Thursday, July 30, 2015 02:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Using MSXML2 on old machines - No dice > > Hi All, > Anyone have any thoughts on this? > It can't be that WinServer2003 and IE8 is just "too old" for HTTPS.can it? > Many thanks > Darren > >> On 25 Jul 2015, at 2:39 am, Darren- Active Billing > wrote: >> >> Stuart & Darryl, >> Thanks for the replies/comments. >> Stuart - I have in various edits across the weeks played with the 'cross >> domain access'. >> Tools | Internet Options | Security Tab | (Zones) Internet (and the > others) >> | Custom Level and scroll (5xPage Downs) to the "Access data Sources > Across >> Domains". >> Is that where you meant? >> Anyway - After reading your post I went back in and edited all the zones >> (Internet, Intranet, Trusted Sites and restricted) - to all 'enable' Cross >> domain Access. >> No joy, sadly >> Many thanks in advance >> D >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Darryl Collins >> Sent: Thursday, 23 July 2015 8:46 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> Yes... This was my thoughts too. Can you mod the default security zone >> settings in IE itself. >> >> Oddly you need to this for other permissions as well I have noted in the >> past. >> >> Hopefully MS Edge avoids this kind of SNAFUs.... >> >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Stuart McLachlan >> Sent: Thursday, 23 July 2015 8:01 PM >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Using MSXML2 on old machines - No dice >> >> From: https://msdn.microsoft.com/en-us/library/ms537505%28v=vs.85%29.aspx >> >> Note In Internet Explorer 7, the default settings for cross-domain data >> access are set to >> "deny" for all security zones. >> >> Can you get the server admins to modify IE's Security Manager to allow >> access to the site in question (or can you do that yourself?) >> >> >> >> On 23 Jul 2015 at 16:52, Darren- Active Billing wrote: >> >>> Hi Team, >>> With the help of the very clever Mr. McLachlan, I have been able to >>> build a nice tool that performs an API request and returns the >>> relevant data I need. All done using CreateObject("Msxml2.XMLHTTP") - >>> All very cool - Works a treat - On my local Windows 8 machine. >>> >>> When I tried to run this Access dB on our old Win 2003 Servers (there >>> are 2 - both are actually VMs) running IE7 and IE8 - It fails. (I have >>> no control over these servers BTW - not mine to manage and the last >>> time I rebooted one it did not come "back up" and caused chaos) >>> >>> Anyway - after a week of googling and various attempts at resolution I >>> have discovered the issue is because I am running my API request >>> against is an HTTPS site and not an HTTP site.Turns out Older versions >>> of IE are either incapable of accessing HTTPS sites or requests to >>> them are not being processed. This really is an area I have absolutely >>> no clue about. >>> >>> On each of our Win2003 Servers if I paste the API request URL into the >>> Address field of Firefox or Chrome- I get results. Cool. It's just IE >>> is the issue. IE won't load an HTTPS sites outside our domain (i.e. >>> from the real world) IE will load our own internal HTTPS Sites hosted >>> on our same server and domain. But nothing from the outside world. >>> >>> And yes, I have wasted hours and hours over this trying every >>> conceivable suggestion by the Google world. But obviously not the one >>> I need :-) Googling phrases and words such as "HTTPS not accessible >>> IE7" or IE8 can't access https site" yields a whole world of pain for >>> a great many folk. And the majority of suggestions I truly have tried >>> - Maybe there is one more I haven't that will be the solution. Happy >>> to try whatever you suggest. >>> >>> So...my question is - Anyone know of an alternative to >>> CreateObject("Msxml2.XMLHTTP") or a way to get IE7 or 8 to access >>> HTTPS sites in the outside world. >>> >>> Sorry for the long post - Many thanks in anticipation >>> >>> D >>> >>> -- >>> 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 charlotte.foust at gmail.com Fri Jul 31 10:03:10 2015 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 31 Jul 2015 08:03:10 -0700 Subject: [AccessD] Boat finally happening. In-Reply-To: <55BB04CD.5000100@gmail.com> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> Message-ID: Congratulations, John! Are you sailing alone or is the whole family going along? Charlotte Foust (916) 206-4336 On Thu, Jul 30, 2015 at 10:17 PM, John W. Colby wrote: > My boat is old, and a monohull. Stuart's is a very modern catamaran, and > much bigger than mine IIRC. > > In the marine world one usually gets a "survey" done before purchase, a > professional surveyor goes over the boat looking for problems. The survey > happened yesterday. I will receive the report tomorrow. If no major issues > I will pay and go get it. It is a 1974 33' Morgan Out Island. My > intention is to live on it, but certainly to sail it often, as in every > week for long periods. I will be picking it up in NJ and sailing it about > 700 miles back to somewhere in the vicinity of Oriental NC. So that trip > alone will likely take about two weeks of sailing, since I will be sailing > south down the Atlantic coast against the gulf stream which flows north, > and likely against a southerly wind (blowing north as I sail south). > Unless I can catch the west side of a weather system which will bring the > winds back behind me. I cannot choose the weather though, it is get it and > go. Only in the case of a major storm would I sit it out. > > And in the next year I intend to sail down to the Bahamas. Possibly even > this winter. The winter months are when we have no hurricanes down in the > Caribbean. I have to get sailing experience though, and make sure the boat > is up to the journey. > > I am excited to get this happening. It has taken a long time to find and > buy. > > John W. Colby > > On 7/30/2015 11:05 PM, Jim Lawrence wrote: > >> On 7/29/2015 4:07 PM, Jim Lawrence wrote: >> >>> Another sail craft? This is exciting. :-) >>> >>> Jim >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Fri Jul 31 10:22:10 2015 From: jwcolby at gmail.com (John W. Colby) Date: Fri, 31 Jul 2015 11:22:10 -0400 Subject: [AccessD] Boat finally happening. In-Reply-To: References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> Message-ID: <55BB92A2.8040401@gmail.com> I will be sailing alone, or with "crew for hire" kind of thing. The dry survey came back very good. The boat will go in the water next week probably and the surveyor will do the in water part. If that is as good as the dry survey I will pay the remainder and go get it. Exciting stuff. John W. Colby On 7/31/2015 11:03 AM, Charlotte Foust wrote: > Congratulations, John! Are you sailing alone or is the whole family going > along? > > Charlotte Foust > (916) 206-4336 > > On Thu, Jul 30, 2015 at 10:17 PM, John W. Colby wrote: > >> My boat is old, and a monohull. Stuart's is a very modern catamaran, and >> much bigger than mine IIRC. >> >> In the marine world one usually gets a "survey" done before purchase, a >> professional surveyor goes over the boat looking for problems. The survey >> happened yesterday. I will receive the report tomorrow. If no major issues >> I will pay and go get it. It is a 1974 33' Morgan Out Island. My >> intention is to live on it, but certainly to sail it often, as in every >> week for long periods. I will be picking it up in NJ and sailing it about >> 700 miles back to somewhere in the vicinity of Oriental NC. So that trip >> alone will likely take about two weeks of sailing, since I will be sailing >> south down the Atlantic coast against the gulf stream which flows north, >> and likely against a southerly wind (blowing north as I sail south). >> Unless I can catch the west side of a weather system which will bring the >> winds back behind me. I cannot choose the weather though, it is get it and >> go. Only in the case of a major storm would I sit it out. >> >> And in the next year I intend to sail down to the Bahamas. Possibly even >> this winter. The winter months are when we have no hurricanes down in the >> Caribbean. I have to get sailing experience though, and make sure the boat >> is up to the journey. >> >> I am excited to get this happening. It has taken a long time to find and >> buy. >> >> John W. Colby >> >> On 7/30/2015 11:05 PM, Jim Lawrence wrote: >> >>> On 7/29/2015 4:07 PM, Jim Lawrence wrote: >>> >>>> Another sail craft? This is exciting. :-) >>>> >>>> Jim >>>> >>>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From jimdettman at verizon.net Fri Jul 31 10:54:00 2015 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 31 Jul 2015 11:54:00 -0400 Subject: [AccessD] OT please Message-ID: hey, can we at least get the off topic stuff tagged as OT please (and there is an OT list btw). Jim. From jackandpat.d at gmail.com Fri Jul 31 11:24:54 2015 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 31 Jul 2015 12:24:54 -0400 Subject: [AccessD] Boat finally happening. In-Reply-To: References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> Message-ID: Congrats John! Happy sailing. Jack On Fri, Jul 31, 2015 at 11:03 AM, Charlotte Foust wrote: > Congratulations, John! Are you sailing alone or is the whole family going > along? > > Charlotte Foust > (916) 206-4336 > > On Thu, Jul 30, 2015 at 10:17 PM, John W. Colby wrote: > > > My boat is old, and a monohull. Stuart's is a very modern catamaran, and > > much bigger than mine IIRC. > > > > In the marine world one usually gets a "survey" done before purchase, a > > professional surveyor goes over the boat looking for problems. The > survey > > happened yesterday. I will receive the report tomorrow. If no major > issues > > I will pay and go get it. It is a 1974 33' Morgan Out Island. My > > intention is to live on it, but certainly to sail it often, as in every > > week for long periods. I will be picking it up in NJ and sailing it > about > > 700 miles back to somewhere in the vicinity of Oriental NC. So that trip > > alone will likely take about two weeks of sailing, since I will be > sailing > > south down the Atlantic coast against the gulf stream which flows north, > > and likely against a southerly wind (blowing north as I sail south). > > Unless I can catch the west side of a weather system which will bring the > > winds back behind me. I cannot choose the weather though, it is get it > and > > go. Only in the case of a major storm would I sit it out. > > > > And in the next year I intend to sail down to the Bahamas. Possibly even > > this winter. The winter months are when we have no hurricanes down in > the > > Caribbean. I have to get sailing experience though, and make sure the > boat > > is up to the journey. > > > > I am excited to get this happening. It has taken a long time to find and > > buy. > > > > John W. Colby > > > > On 7/30/2015 11:05 PM, Jim Lawrence wrote: > > > >> On 7/29/2015 4:07 PM, Jim Lawrence wrote: > >> > >>> Another sail craft? This is exciting. :-) > >>> > >>> 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 jim at therareshop.com Fri Jul 31 11:56:22 2015 From: jim at therareshop.com (Jim Hale) Date: Fri, 31 Jul 2015 11:56:22 -0500 Subject: [AccessD] Boat finally happening. In-Reply-To: <55BB04CD.5000100@gmail.com> References: <1591268021.15288230.1438311932372.JavaMail.root@shaw.ca> <55BB04CD.5000100@gmail.com> Message-ID: <020c01d0cbb1$d4b906d0$7e2b1470$@therareshop.com> Very cool. Live the dream! Jim H -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, July 31, 2015 12:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Boat finally happening. My boat is old, and a monohull. Stuart's is a very modern catamaran, and much bigger than mine IIRC. In the marine world one usually gets a "survey" done before purchase, a professional surveyor goes over the boat looking for problems. The survey happened yesterday. I will receive the report tomorrow. If no major issues I will pay and go get it. It is a 1974 33' Morgan Out Island. My intention is to live on it, but certainly to sail it often, as in every week for long periods. I will be picking it up in NJ and sailing it about 700 miles back to somewhere in the vicinity of Oriental NC. So that trip alone will likely take about two weeks of sailing, since I will be sailing south down the Atlantic coast against the gulf stream which flows north, and likely against a southerly wind (blowing north as I sail south). Unless I can catch the west side of a weather system which will bring the winds back behind me. I cannot choose the weather though, it is get it and go. Only in the case of a major storm would I sit it out. And in the next year I intend to sail down to the Bahamas. Possibly even this winter. The winter months are when we have no hurricanes down in the Caribbean. I have to get sailing experience though, and make sure the boat is up to the journey. I am excited to get this happening. It has taken a long time to find and buy. John W. Colby On 7/30/2015 11:05 PM, Jim Lawrence wrote: > On 7/29/2015 4:07 PM, Jim Lawrence wrote: >> Another sail craft? This is exciting. :-) >> >> Jim >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Jul 31 14:49:15 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 31 Jul 2015 13:49:15 -0600 (MDT) Subject: [AccessD] Programmatically dissociate label from its parent control In-Reply-To: Message-ID: <1568610369.15722074.1438372155702.JavaMail.root@shaw.ca> Horrible story...you were lucky to escape. (I am never bothered with fleas or mosquitoes for that matter. Either my skins too tough or I smell bad to the little creatures. ;-)) Jim ----- Original Message ----- From: "Bill Benson" To: "Access Developers discussion and problem solving" Sent: Thursday, July 30, 2015 9:36:45 PM Subject: Re: [AccessD] Programmatically dissociate label from its parent control Now I get it. My father also had a vessel he lived aboard. It was a 51 foot teak vessel that he kept at a marina first in Sausalito and then Richmond California. He never took it for a cruise just lived there before he moved to a house in San Rafael. I drove x-country with a college buddy, we refinished the railings and got mostly full of flea bites for our trouble since the cat lived there before we got there and boat was infested... complete misery. Then came the day it sunk at the dock and was a total loss, < a month after we left. He always kidded me that I left the toilet's water running unattended, and for all I know, it's true so great was my hurry to get out of that pretty and back up on deck before the fleas ate me alive. On Jul 30, 2015 11:07 PM, "Jim Lawrence" wrote: > Quote: > > "...The boat is finally happening. I am getting a survey this Wednesday, > then go sail it home sometime mid month. It is 700 miles away up in New > Jersey..." > > Stuart also has a sail craft that he is now living in. > > Jim > > ----- Original Message ----- > From: "John W. Colby" > To: accessd at databaseadvisors.com > Sent: Wednesday, July 29, 2015 6:52:34 PM > Subject: Re: [AccessD] Programmatically dissociate label from its parent > control > > ??? > > John W. Colby > > On 7/29/2015 4:07 PM, Jim Lawrence wrote: > > Another sail craft? This is exciting. :-) > > > > Jim > > > > ----- Original Message ----- > > From: "John W. Colby" > > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > > Sent: Tuesday, July 28, 2015 6:48:03 AM > > Subject: Re: [AccessD] Programmatically dissociate label from its parent > control > > > > You bet. > > > > I'll email you off line. > > > > John W. Colby > > > > On 7/28/2015 1:47 AM, Bill Benson wrote: > >> John, I am in New Jersey... a meet up? > >> On Jul 27, 2015 6:15 PM, "John W. Colby" wrote: > >> > >>> Just happened to see something I knew anything about! :) > >>> > >>> The boat is finally happening. I am getting a survey this Wednesday, > then > >>> go sail it home sometime mid month. It is 700 miles away up in New > Jersey. > >>> > >>> John W. Colby > >>> > >>> On 7/27/2015 5:50 PM, Stuart McLachlan wrote: > >>> > >>>> Hmm, JC back on the Access list after a long absence! > >>>> > >>>> Wassap John, taking a break from boat systems for a while? :-) > >>>> > >>>> > >>> -- > >>> 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 accessd at shaw.ca Fri Jul 31 15:27:50 2015 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 31 Jul 2015 14:27:50 -0600 (MDT) Subject: [AccessD] Boat finally happening. In-Reply-To: <55BB04CD.5000100@gmail.com> Message-ID: <1270020499.15745360.1438374470328.JavaMail.root@shaw.ca> Is this a precursor to your official retirement? It all sounds lovely. :-) Jim ----- Original Message ----- From: "John W. Colby" To: accessd at databaseadvisors.com Sent: Thursday, July 30, 2015 10:17:01 PM Subject: [AccessD] Boat finally happening. My boat is old, and a monohull. Stuart's is a very modern catamaran, and much bigger than mine IIRC. In the marine world one usually gets a "survey" done before purchase, a professional surveyor goes over the boat looking for problems. The survey happened yesterday. I will receive the report tomorrow. If no major issues I will pay and go get it. It is a 1974 33' Morgan Out Island. My intention is to live on it, but certainly to sail it often, as in every week for long periods. I will be picking it up in NJ and sailing it about 700 miles back to somewhere in the vicinity of Oriental NC. So that trip alone will likely take about two weeks of sailing, since I will be sailing south down the Atlantic coast against the gulf stream which flows north, and likely against a southerly wind (blowing north as I sail south). Unless I can catch the west side of a weather system which will bring the winds back behind me. I cannot choose the weather though, it is get it and go. Only in the case of a major storm would I sit it out. And in the next year I intend to sail down to the Bahamas. Possibly even this winter. The winter months are when we have no hurricanes down in the Caribbean. I have to get sailing experience though, and make sure the boat is up to the journey. I am excited to get this happening. It has taken a long time to find and buy. John W. Colby On 7/30/2015 11:05 PM, Jim Lawrence wrote: > On 7/29/2015 4:07 PM, Jim Lawrence wrote: >> Another sail craft? This is exciting. :-) >> >> Jim >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Fri Jul 31 17:22:19 2015 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 31 Jul 2015 18:22:19 -0400 Subject: [AccessD] OT please In-Reply-To: References: Message-ID: But.... ot is usually just a symptom of hijacking of threads due to the spontaneous nature of word and thought associations. I kinda agree that starting new threads, with - if needed - copied "starter details" below the new stuff - but yeah, absolutely we shouldn't be lazy, we should start a new, OT thread, if we feel the need to diverge from the original topic, and start the coffee break /water cooler thing. On Jul 31, 2015 11:54 AM, "Jim Dettman" wrote: > > hey, can we at least get the off topic stuff tagged as OT please (and > there > is an OT list btw). > > Jim. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Fri Jul 31 17:27:23 2015 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 31 Jul 2015 18:27:23 -0400 Subject: [AccessD] OT please In-Reply-To: References: Message-ID: No buts. It's Off Topic for AccessD. There is a list specifically for the thread Jim was referring to, and that is DBA-OT Your friendly (for now :) neighbourhood Listmaster. Bryan On Fri, Jul 31, 2015 at 6:22 PM, Bill Benson wrote: > But.... ot is usually just a symptom of hijacking of threads due to the > spontaneous nature of word and thought associations. I kinda agree that > starting new threads, with - if needed - copied "starter details" below the > new stuff - but yeah, absolutely we shouldn't be lazy, we should start a > new, OT thread, if we feel the need to diverge from the original topic, and > start the coffee break /water cooler thing. > On Jul 31, 2015 11:54 AM, "Jim Dettman" wrote: > >> >> hey, can we at least get the off topic stuff tagged as OT please (and >> there >> is an OT list btw). >> >> 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 -- 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 bensonforums at gmail.com Fri Jul 31 18:02:30 2015 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 31 Jul 2015 19:02:30 -0400 Subject: [AccessD] OT please In-Reply-To: References: Message-ID: Yes, Bryan, let's do please stay friends! I appreciate learning of the OT list, but I for sure will not be looking at it. I like this list to stay ON TOPIC. My but was not a but in the sense of disagreement, it was trying to point out the root cause of OT encroachments. Thread hijacking. I am all for cessation of that, it is very hard on the OP, to have to keep checking in on their topic only to find out it has become about something totally unrelated. Thanks for taking a stand and I will honor it personally from here on out. On Jul 31, 2015 6:28 PM, "Bryan Carbonnell" wrote: > No buts. It's Off Topic for AccessD. There is a list specifically for > the thread Jim was referring to, and that is DBA-OT > > Your friendly (for now :) neighbourhood Listmaster. > Bryan > > On Fri, Jul 31, 2015 at 6:22 PM, Bill Benson > wrote: > > But.... ot is usually just a symptom of hijacking of threads due to the > > spontaneous nature of word and thought associations. I kinda agree that > > starting new threads, with - if needed - copied "starter details" below > the > > new stuff - but yeah, absolutely we shouldn't be lazy, we should start a > > new, OT thread, if we feel the need to diverge from the original topic, > and > > start the coffee break /water cooler thing. > > On Jul 31, 2015 11:54 AM, "Jim Dettman" wrote: > > > >> > >> hey, can we at least get the off topic stuff tagged as OT please (and > >> there > >> is an OT list btw). > >> > >> 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 > > > > -- > 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 >