From fuller.artful at gmail.com Thu Jul 4 07:18:02 2019 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 4 Jul 2019 08:18:02 -0400 Subject: [AccessD] LibreOffice Base Message-ID: Is anyone actively using Base? A couple of months ago, I converted my main box to Linux Mint and installed LibreOffice. I decided to take a look at LibreOffice Base, which I haven't done for years, and was shocked to see how far it's come since I last looked at it. It's everything Access is, and more. 1. It's free. 2. It runs on Windows, Linux and Mac OS. 3. It's fully integrated with the other LibreOffice apps. 4. It supports many back ends, including Access, MySQL/MariaDB, PostgreSQL and others. 5. Its programming language is everything VBA is, with a few exras such as classes. I was astounded. I'm currently developing an app for organisations that rely heavily on volunteers. The prototype was written in Access, but having read the Base docs, I decided to curtail the Access version and complete the project in Base, primarily because of the ability to deploy to multiple platforms, but also because it's free, which matters significantly to volunteer-based organisations. Also, when it's done, I plan to make my app free as well. I'll follow this message up as the project progresses. -- Arthur From jackandpat.d at gmail.com Thu Jul 4 08:49:12 2019 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 4 Jul 2019 09:49:12 -0400 Subject: [AccessD] LibreOffice Base In-Reply-To: References: Message-ID: Hi Arthur, I'm not a Linux user nor familiar with LibreOffice Base. But I do like your enthusiasm and will look into some tutorials. Glad to see you're still active and up to your eyeballs into a project - as usual. Good luck with your project and volunteering. Jack On Thu, Jul 4, 2019 at 8:18 AM Arthur Fuller wrote: > Is anyone actively using Base? A couple of months ago, I converted my main > box to Linux Mint and installed LibreOffice. I decided to take a look at > LibreOffice Base, which I haven't done for years, and was shocked to see > how far it's come since I last looked at it. It's everything Access is, and > more. > 1. It's free. > 2. It runs on Windows, Linux and Mac OS. > 3. It's fully integrated with the other LibreOffice apps. > 4. It supports many back ends, including Access, MySQL/MariaDB, PostgreSQL > and others. > 5. Its programming language is everything VBA is, with a few exras such as > classes. > > I was astounded. I'm currently developing an app for organisations that > rely heavily on volunteers. The prototype was written in Access, but having > read the Base docs, I decided to curtail the Access version and complete > the project in Base, primarily because of the ability to deploy to multiple > platforms, but also because it's free, which matters significantly to > volunteer-based organisations. Also, when it's done, I plan to make my app > free as well. > I'll follow this message up as the project progresses. > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Sat Jul 6 07:29:51 2019 From: jwcolby at gmail.com (John Colby) Date: Sat, 6 Jul 2019 08:29:51 -0400 Subject: [AccessD] LibreOffice Base In-Reply-To: References: Message-ID: Great find Arthur. LibreOffice is what I have on all of my systems now. I don't even have MS Office installed anywhere any more. That said I am actively pursuing Python as my language of choice. In most cases I will use SQLite I am really enjoying python. On Thu, Jul 4, 2019 at 9:50 AM jack drawbridge wrote: > Hi Arthur, > > I'm not a Linux user nor familiar with LibreOffice Base. But I do like your > enthusiasm and will look into some tutorials. Glad to see you're still > active and up to your eyeballs into a project - as usual. Good luck with > your project and volunteering. > Jack > > On Thu, Jul 4, 2019 at 8:18 AM Arthur Fuller > wrote: > > > Is anyone actively using Base? A couple of months ago, I converted my > main > > box to Linux Mint and installed LibreOffice. I decided to take a look at > > LibreOffice Base, which I haven't done for years, and was shocked to see > > how far it's come since I last looked at it. It's everything Access is, > and > > more. > > 1. It's free. > > 2. It runs on Windows, Linux and Mac OS. > > 3. It's fully integrated with the other LibreOffice apps. > > 4. It supports many back ends, including Access, MySQL/MariaDB, > PostgreSQL > > and others. > > 5. Its programming language is everything VBA is, with a few exras such > as > > classes. > > > > I was astounded. I'm currently developing an app for organisations that > > rely heavily on volunteers. The prototype was written in Access, but > having > > read the Base docs, I decided to curtail the Access version and complete > > the project in Base, primarily because of the ability to deploy to > multiple > > platforms, but also because it's free, which matters significantly to > > volunteer-based organisations. Also, when it's done, I plan to make my > app > > free as well. > > I'll follow this message up as the project progresses. > > > > -- > > 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 > -- John W. Colby Colby Consulting From fuller.artful at gmail.com Sat Jul 6 11:59:04 2019 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 6 Jul 2019 12:59:04 -0400 Subject: [AccessD] LibreOffice Base In-Reply-To: References: Message-ID: JWC, Me too regarding Python. I love it! And as for the underlying OSs, I'[m thinking that I should convert my other boxes to Linux and set up a VM for emergencies (tech support etc.), but basically, so long Windows and MS in general.Since I (re)discovered Base, the Access argument no longer holds. Linux does everything, and LibreOffice does everything. The only legs upon which Windows and Office depend are standing are previous investment and employee habit. For every rule there is an exception, and I would cite Code as that exception. It runs fins across all OSs. On Sat, Jul 6, 2019 at 8:30 AM John Colby wrote: > Great find Arthur. LibreOffice is what I have on all of my systems now. I > don't even have MS Office installed anywhere any more. > > That said I am actively pursuing Python as my language of choice. In most > cases I will use > > SQLite > > I am really enjoying python. > > On Thu, Jul 4, 2019 at 9:50 AM jack drawbridge > wrote: > > > Hi Arthur, > > > > I'm not a Linux user nor familiar with LibreOffice Base. But I do like > your > > enthusiasm and will look into some tutorials. Glad to see you're still > > active and up to your eyeballs into a project - as usual. Good luck with > > your project and volunteering. > > Jack > > > > On Thu, Jul 4, 2019 at 8:18 AM Arthur Fuller > > wrote: > > > > > Is anyone actively using Base? A couple of months ago, I converted my > > main > > > box to Linux Mint and installed LibreOffice. I decided to take a look > at > > > LibreOffice Base, which I haven't done for years, and was shocked to > see > > > how far it's come since I last looked at it. It's everything Access is, > > and > > > more. > > > 1. It's free. > > > 2. It runs on Windows, Linux and Mac OS. > > > 3. It's fully integrated with the other LibreOffice apps. > > > 4. It supports many back ends, including Access, MySQL/MariaDB, > > PostgreSQL > > > and others. > > > 5. Its programming language is everything VBA is, with a few exras such > > as > > > classes. > > > > > > I was astounded. I'm currently developing an app for organisations that > > > rely heavily on volunteers. The prototype was written in Access, but > > having > > > read the Base docs, I decided to curtail the Access version and > complete > > > the project in Base, primarily because of the ability to deploy to > > multiple > > > platforms, but also because it's free, which matters significantly to > > > volunteer-based organisations. Also, when it's done, I plan to make my > > app > > > free as well. > > > I'll follow this message up as the project progresses. > > > > > > -- > > > 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 > > > > > -- > John W. Colby > Colby Consulting > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur From rockysmolin at bchacc.com Sat Jul 6 14:50:50 2019 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 6 Jul 2019 12:50:50 -0700 Subject: [AccessD] LibreOffice Base In-Reply-To: References: Message-ID: <003801d53434$1d4061c0$57c12540$@bchacc.com> Can an app created in Base be run in Access? Or be exported to an mdb or accdb? Can an Access app be imported into Base? r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, July 06, 2019 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] LibreOffice Base JWC, Me too regarding Python. I love it! And as for the underlying OSs, I'[m thinking that I should convert my other boxes to Linux and set up a VM for emergencies (tech support etc.), but basically, so long Windows and MS in general.Since I (re)discovered Base, the Access argument no longer holds. Linux does everything, and LibreOffice does everything. The only legs upon which Windows and Office depend are standing are previous investment and employee habit. For every rule there is an exception, and I would cite Code as that exception. It runs fins across all OSs. On Sat, Jul 6, 2019 at 8:30 AM John Colby wrote: > Great find Arthur. LibreOffice is what I have on all of my systems now. I > don't even have MS Office installed anywhere any more. > > That said I am actively pursuing Python as my language of choice. In most > cases I will use > > SQLite > > I am really enjoying python. > > On Thu, Jul 4, 2019 at 9:50 AM jack drawbridge > wrote: > > > Hi Arthur, > > > > I'm not a Linux user nor familiar with LibreOffice Base. But I do like > your > > enthusiasm and will look into some tutorials. Glad to see you're still > > active and up to your eyeballs into a project - as usual. Good luck with > > your project and volunteering. > > Jack > > > > On Thu, Jul 4, 2019 at 8:18 AM Arthur Fuller > > wrote: > > > > > Is anyone actively using Base? A couple of months ago, I converted my > > main > > > box to Linux Mint and installed LibreOffice. I decided to take a look > at > > > LibreOffice Base, which I haven't done for years, and was shocked to > see > > > how far it's come since I last looked at it. It's everything Access is, > > and > > > more. > > > 1. It's free. > > > 2. It runs on Windows, Linux and Mac OS. > > > 3. It's fully integrated with the other LibreOffice apps. > > > 4. It supports many back ends, including Access, MySQL/MariaDB, > > PostgreSQL > > > and others. > > > 5. Its programming language is everything VBA is, with a few exras such > > as > > > classes. > > > > > > I was astounded. I'm currently developing an app for organisations that > > > rely heavily on volunteers. The prototype was written in Access, but > > having > > > read the Base docs, I decided to curtail the Access version and > complete > > > the project in Base, primarily because of the ability to deploy to > > multiple > > > platforms, but also because it's free, which matters significantly to > > > volunteer-based organisations. Also, when it's done, I plan to make my > > app > > > free as well. > > > I'll follow this message up as the project progresses. > > > > > > -- > > > 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 > > > > > -- > John W. Colby > Colby Consulting > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Jul 6 17:41:40 2019 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 6 Jul 2019 16:41:40 -0600 (MDT) Subject: [AccessD] LibreOffice Base In-Reply-To: <003801d53434$1d4061c0$57c12540$@bchacc.com> References: <003801d53434$1d4061c0$57c12540$@bchacc.com> Message-ID: <878832412.272693694.1562452900276.JavaMail.zimbra@shaw.ca> Not without some work but I have seen samples of an app that does do a lot of things the MS Access use to be able to do. OTOH, if anyone wanted to go to all that work they would most likely convert the MS Access app into a web-based application. I have been out of touch with all the new features of web apps and Access for that matter, but I hear that a competent developer can do that kind of translation without great effort. Aside: Many will recommend the use of various CMS type applications but most of these have proven more trouble than their worth. (Dealing with security can be such a PITA.) Jim ----- Original Message ----- From: "rockysmolin" To: "Access Developers discussion and problem solving" Sent: Saturday, July 6, 2019 12:50:50 PM Subject: Re: [AccessD] LibreOffice Base Can an app created in Base be run in Access? Or be exported to an mdb or accdb? Can an Access app be imported into Base? r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, July 06, 2019 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] LibreOffice Base JWC, Me too regarding Python. I love it! And as for the underlying OSs, I'[m thinking that I should convert my other boxes to Linux and set up a VM for emergencies (tech support etc.), but basically, so long Windows and MS in general.Since I (re)discovered Base, the Access argument no longer holds. Linux does everything, and LibreOffice does everything. The only legs upon which Windows and Office depend are standing are previous investment and employee habit. For every rule there is an exception, and I would cite Code as that exception. It runs fins across all OSs. On Sat, Jul 6, 2019 at 8:30 AM John Colby wrote: > Great find Arthur. LibreOffice is what I have on all of my systems now. I > don't even have MS Office installed anywhere any more. > > That said I am actively pursuing Python as my language of choice. In most > cases I will use > > SQLite > > I am really enjoying python. > > On Thu, Jul 4, 2019 at 9:50 AM jack drawbridge > wrote: > > > Hi Arthur, > > > > I'm not a Linux user nor familiar with LibreOffice Base. But I do like > your > > enthusiasm and will look into some tutorials. Glad to see you're still > > active and up to your eyeballs into a project - as usual. Good luck with > > your project and volunteering. > > Jack > > > > On Thu, Jul 4, 2019 at 8:18 AM Arthur Fuller > > wrote: > > > > > Is anyone actively using Base? A couple of months ago, I converted my > > main > > > box to Linux Mint and installed LibreOffice. I decided to take a look > at > > > LibreOffice Base, which I haven't done for years, and was shocked to > see > > > how far it's come since I last looked at it. It's everything Access is, > > and > > > more. > > > 1. It's free. > > > 2. It runs on Windows, Linux and Mac OS. > > > 3. It's fully integrated with the other LibreOffice apps. > > > 4. It supports many back ends, including Access, MySQL/MariaDB, > > PostgreSQL > > > and others. > > > 5. Its programming language is everything VBA is, with a few exras such > > as > > > classes. > > > > > > I was astounded. I'm currently developing an app for organisations that > > > rely heavily on volunteers. The prototype was written in Access, but > > having > > > read the Base docs, I decided to curtail the Access version and > complete > > > the project in Base, primarily because of the ability to deploy to > > multiple > > > platforms, but also because it's free, which matters significantly to > > > volunteer-based organisations. Also, when it's done, I plan to make my > > app > > > free as well. > > > I'll follow this message up as the project progresses. > > > > > > -- > > > 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 > > > > > -- > John W. Colby > Colby Consulting > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jul 7 17:11:52 2019 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 7 Jul 2019 16:11:52 -0600 (MDT) Subject: [AccessD] John B In-Reply-To: References: Message-ID: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> What happened to John B? He just placed a rather disturbing post on Facebook that it didn't make much sense to me but I obviously know none of the back story but hope he is alright. John if you are there? Jim From ssharkins at gmail.com Sun Jul 7 17:45:12 2019 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 7 Jul 2019 18:45:12 -0400 Subject: [AccessD] John B In-Reply-To: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> Message-ID: <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> He hasn't told me so privately but it sounds like Bells Palsy. Painful and disfiguring -- for a while. It usually disappears on its own. There's no treatment, but they can treat them pain -- a bit. Susan H. -----Original Message----- From: AccessD On Behalf Of Jim Lawrence Sent: Sunday, July 7, 2019 6:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] John B What happened to John B? He just placed a rather disturbing post on Facebook that it didn't make much sense to me but I obviously know none of the back story but hope he is alright. John if you are there? Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Sun Jul 7 18:18:37 2019 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 7 Jul 2019 18:18:37 -0500 Subject: [AccessD] John B In-Reply-To: <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> Message-ID: He unsubbed from DBA-OT months ago. He mentioned in a comment that it was Bells Palsy. There was another comment that although it's supposedly uncommon that many people know people who have had it. I commented saying "Get well soon. I know a couple people who had it and they recovered to be as normal as they were before" and he commented that he had hoped to be EVEN BETTER than he was before. So he still has some humor in there even though he can't smile right now. On Sun, Jul 7, 2019 at 5:47 PM Susan Harkins wrote: > > He hasn't told me so privately but it sounds like Bells Palsy. Painful and > disfiguring -- for a while. It usually disappears on its own. There's no > treatment, but they can treat them pain -- a bit. > > Susan H. > > -----Original Message----- > From: AccessD On Behalf Of Jim > Lawrence > Sent: Sunday, July 7, 2019 6:12 PM > To: Access Developers discussion and problem solving > > Subject: [AccessD] John B > > What happened to John B? > > He just placed a rather disturbing post on Facebook that it didn't make much > sense to me but I obviously know none of the back story but hope he is > alright. John if you are there? > > 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 -- Gary Kjos garykjos at gmail.com From accessd at shaw.ca Sun Jul 7 18:29:49 2019 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 7 Jul 2019 17:29:49 -0600 (MDT) Subject: [AccessD] John B In-Reply-To: References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> Message-ID: <1161655151.280038351.1562542189673.JavaMail.zimbra@shaw.ca> Thanks for keeping me posted. It is not the answer I wanted to hear but we must be encouraged to know that in most cases the disease will self cure. :-( Jim ----- Original Message ----- From: "garykjos" To: "Access Developers discussion and problem solving" Sent: Sunday, July 7, 2019 4:18:37 PM Subject: Re: [AccessD] John B He unsubbed from DBA-OT months ago. He mentioned in a comment that it was Bells Palsy. There was another comment that although it's supposedly uncommon that many people know people who have had it. I commented saying "Get well soon. I know a couple people who had it and they recovered to be as normal as they were before" and he commented that he had hoped to be EVEN BETTER than he was before. So he still has some humor in there even though he can't smile right now. On Sun, Jul 7, 2019 at 5:47 PM Susan Harkins wrote: > > He hasn't told me so privately but it sounds like Bells Palsy. Painful and > disfiguring -- for a while. It usually disappears on its own. There's no > treatment, but they can treat them pain -- a bit. > > Susan H. > > -----Original Message----- > From: AccessD On Behalf Of Jim > Lawrence > Sent: Sunday, July 7, 2019 6:12 PM > To: Access Developers discussion and problem solving > > Subject: [AccessD] John B > > What happened to John B? > > He just placed a rather disturbing post on Facebook that it didn't make much > sense to me but I obviously know none of the back story but hope he is > alright. John if you are there? > > 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 -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jul 7 18:56:20 2019 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 7 Jul 2019 17:56:20 -0600 (MDT) Subject: [AccessD] John B In-Reply-To: <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> Message-ID: <1500354501.280169628.1562543780302.JavaMail.zimbra@shaw.ca> Thanks for the info. Upon further research it seems that the disease has no cure but in most cases cures itself. So let us hope. Aside: It is interesting that Gary replied to your post and I received Gary's reply first. How does that work? Jim ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Sunday, July 7, 2019 3:45:12 PM Subject: Re: [AccessD] John B He hasn't told me so privately but it sounds like Bells Palsy. Painful and disfiguring -- for a while. It usually disappears on its own. There's no treatment, but they can treat them pain -- a bit. Susan H. -----Original Message----- From: AccessD On Behalf Of Jim Lawrence Sent: Sunday, July 7, 2019 6:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] John B What happened to John B? He just placed a rather disturbing post on Facebook that it didn't make much sense to me but I obviously know none of the back story but hope he is alright. John if you are there? 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 ssharkins at gmail.com Sun Jul 7 18:57:57 2019 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 7 Jul 2019 19:57:57 -0400 Subject: [AccessD] John B In-Reply-To: References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> Message-ID: <013801d5351f$ce909da0$6bb1d8e0$@gmail.com> I've known two people that had it and as you say, they recovered fully eventually. Susan H He unsubbed from DBA-OT months ago. He mentioned in a comment that it was Bells Palsy. There was another comment that although it's supposedly uncommon that many people know people who have had it. I commented saying "Get well soon. I know a couple people who had it and they recovered to be as normal as they were before" and he commented that he had hoped to be EVEN BETTER than he was before. So he still has some humor in there even though he can't smile right now. On Sun, Jul 7, 2019 at 5:47 PM Susan Harkins wrote: > > He hasn't told me so privately but it sounds like Bells Palsy. Painful > and disfiguring -- for a while. It usually disappears on its own. > There's no treatment, but they can treat them pain -- a bit. > > Susan H. > > -----Original Message----- > From: AccessD On Behalf Of Jim > Lawrence > Sent: Sunday, July 7, 2019 6:12 PM > To: Access Developers discussion and problem solving > > Subject: [AccessD] John B > > What happened to John B? > > He just placed a rather disturbing post on Facebook that it didn't > make much sense to me but I obviously know none of the back story but > hope he is alright. John if you are there? > > 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 -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Sun Jul 7 21:31:27 2019 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 7 Jul 2019 21:31:27 -0500 Subject: [AccessD] John B In-Reply-To: <013801d5351f$ce909da0$6bb1d8e0$@gmail.com> References: <1489016719.279637387.1562537512297.JavaMail.zimbra@shaw.ca> <00cc01d53515$a474c8c0$ed5e5a40$@gmail.com> <013801d5351f$ce909da0$6bb1d8e0$@gmail.com> Message-ID: For my friends, it seemed like the stress of the experience added to the problem and once they got used to it a bit the symptoms began to ease. But it could have been that it had by then begun to run it's course on it's own too. One of the guys is in my golf club and I just played a round with him two Saturdays ago and he was completely normal. He had it perhaps two years ago. Or maybe three. It was during the golf season. He didn't play with our club for a month or two while it was going on. I did play golf with him when he was getting better and was starting to play again and I remember his frustration that he wasn't playing up to his previous level but that could have been due to his not playing for a while or perhaps there was some motor skill issues relating to his golf swing too. He is a bit of a temperamental guy normally so the experience of having the palsy amplified that during that time I think. I know that people have to be concerned that they will not recover. On Sun, Jul 7, 2019 at 6:58 PM Susan Harkins wrote: > > I've known two people that had it and as you say, they recovered fully > eventually. > > Susan H > > > He unsubbed from DBA-OT months ago. He mentioned in a comment that it was > Bells Palsy. There was another comment that although it's supposedly > uncommon that many people know people who have had it. I commented saying > "Get well soon. I know a couple people who had it and they recovered to be > as normal as they were before" and he commented that he had hoped to be EVEN > BETTER than he was before. So he still has some humor in there even though > he can't smile right now. > > On Sun, Jul 7, 2019 at 5:47 PM Susan Harkins wrote: > > > > He hasn't told me so privately but it sounds like Bells Palsy. Painful > > and disfiguring -- for a while. It usually disappears on its own. > > There's no treatment, but they can treat them pain -- a bit. > > > > Susan H. > > > > -----Original Message----- > > From: AccessD On Behalf Of Jim > > Lawrence > > Sent: Sunday, July 7, 2019 6:12 PM > > To: Access Developers discussion and problem solving > > > > Subject: [AccessD] John B > > > > What happened to John B? > > > > He just placed a rather disturbing post on Facebook that it didn't > > make much sense to me but I obviously know none of the back story but > > hope he is alright. John if you are there? > > > > 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 > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From darren at activebilling.com.au Wed Jul 10 08:04:02 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Wed, 10 Jul 2019 23:04:02 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: References: Message-ID: <2F55FC37-9693-40EE-9DDD-08FF49CCE828@activebilling.com.au> Howdy all, How would I get the following string to be POSTed to a web site using VBA? This is the final and formatted string that works when sending the CURL request via a Terminal session curl -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' 'https://hooks.workast.app/1234567890 I tried to modify some code I got from Stuart (ages ago) but no success. I have no clue ?that?s why ? FYI: Workast is a site that allows for the addition of tasks for staff to review ? Simple enough but can?t get the POSTing bit from Access to work Many thanks in advance Darren From ssharkins at gmail.com Wed Jul 10 09:05:06 2019 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 10 Jul 2019 10:05:06 -0400 Subject: [AccessD] odd shortcut problem Message-ID: <041e01d53728$7cb05c90$761115b0$@gmail.com> I've run into an interesting problem (volunteer). I helped a young man create his first database and it's working fine. They're tracking memberships. When he opens the database from the server, everything works as expected. When they open the database from a local shortcut, it isn't saving changes and new records. I asked him to first verify that the shortcuts are actually opening the right file -- I know he had several versions as he worked. He says they are definitely pointing to the right file. Any thoughts? Susan H. From df.waters at outlook.com Wed Jul 10 09:10:21 2019 From: df.waters at outlook.com (Daniel Waters) Date: Wed, 10 Jul 2019 14:10:21 +0000 Subject: [AccessD] odd shortcut problem In-Reply-To: <041e01d53728$7cb05c90$761115b0$@gmail.com> References: <041e01d53728$7cb05c90$761115b0$@gmail.com> Message-ID: I've seen Windows try to revert shortcuts to their former files w/o asking or telling. I'd try having him delete his current shortcut and recreate it. Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: July 10, 2019 9:05 To: 'Access Developers discussion and problem solving' Subject: [AccessD] odd shortcut problem I've run into an interesting problem (volunteer). I helped a young man create his first database and it's working fine. They're tracking memberships. When he opens the database from the server, everything works as expected. When they open the database from a local shortcut, it isn't saving changes and new records. I asked him to first verify that the shortcuts are actually opening the right file -- I know he had several versions as he worked. He says they are definitely pointing to the right file. Any thoughts? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Wed Jul 10 09:19:53 2019 From: jamesbutton at blueyonder.co.uk (James Button) Date: Wed, 10 Jul 2019 15:19:53 +0100 Subject: [AccessD] odd shortcut problem In-Reply-To: References: <041e01d53728$7cb05c90$761115b0$@gmail.com> Message-ID: Presuming the 'user' will have logged into the server in order to access the database But - when run from a shortcut that is on a 'local' system, has the user logon to that local system got the appropriate authority on the server at that time And does the shortcut use the users credentials when accessing the database - If not, then could it be that the locally initiated process does not have update authority ? Maybe check if the database can be manually manipulated from the 'local user' Or is the local startup actually of a run-time facility? Also - implied 'commit' or explicitly specified before the 'app' closes the database. JimB -----Original Message----- From: AccessD On Behalf Of Daniel Waters Sent: Wednesday, July 10, 2019 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] odd shortcut problem I've seen Windows try to revert shortcuts to their former files w/o asking or telling. I'd try having him delete his current shortcut and recreate it. Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: July 10, 2019 9:05 To: 'Access Developers discussion and problem solving' Subject: [AccessD] odd shortcut problem I've run into an interesting problem (volunteer). I helped a young man create his first database and it's working fine. They're tracking memberships. When he opens the database from the server, everything works as expected. When they open the database from a local shortcut, it isn't saving changes and new records. I asked him to first verify that the shortcuts are actually opening the right file -- I know he had several versions as he worked. He says they are definitely pointing to the right file. Any thoughts? 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 ssharkins at gmail.com Wed Jul 10 09:31:35 2019 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 10 Jul 2019 10:31:35 -0400 Subject: [AccessD] odd shortcut problem In-Reply-To: References: <041e01d53728$7cb05c90$761115b0$@gmail.com> Message-ID: <044c01d5372c$2ec46810$8c4d3830$@gmail.com> I wish I'd thought of it -- duh. That's where we'll start. Susan H. I've seen Windows try to revert shortcuts to their former files w/o asking or telling. I'd try having him delete his current shortcut and recreate it. Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: July 10, 2019 9:05 To: 'Access Developers discussion and problem solving' Subject: [AccessD] odd shortcut problem I've run into an interesting problem (volunteer). I helped a young man create his first database and it's working fine. They're tracking memberships. When he opens the database from the server, everything works as expected. When they open the database from a local shortcut, it isn't saving changes and new records. I asked him to first verify that the shortcuts are actually opening the right file -- I know he had several versions as he worked. He says they are definitely pointing to the right file. Any thoughts? 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 stuart at lexacorp.com.pg Wed Jul 10 16:36:16 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Jul 2019 07:36:16 +1000 Subject: [AccessD] odd shortcut problem In-Reply-To: References: <041e01d53728$7cb05c90$761115b0$@gmail.com>, , Message-ID: <5D265A50.23169.64716FF1@stuart.lexacorp.com.pg> Agree. I'd bet that he doesn't have create rights on the server directory when logged in on the workstation, so he can't create the lock file. On 10 Jul 2019 at 15:19, James Button via AccessD wrote: > Presuming the 'user' will have logged into the server in order to > access the database But - when run from a shortcut that is on a > 'local' system, has the user logon to that local system got the > appropriate authority on the server at that time And does the shortcut > use the users credentials when accessing the database - If not, then > could it be that the locally initiated process does not have update > authority ? Maybe check if the database can be manually manipulated > from the 'local user' Or is the local startup actually of a run-time > facility? > > Also - implied 'commit' or explicitly specified before the 'app' > closes the database. > > JimB > > -----Original Message----- > From: AccessD On Behalf Of > Daniel Waters Sent: Wednesday, July 10, 2019 3:10 PM To: Access > Developers discussion and problem solving > Subject: Re: [AccessD] odd shortcut > problem > > I've seen Windows try to revert shortcuts to their former files w/o > asking or telling. > > I'd try having him delete his current shortcut and recreate it. > > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Susan Harkins Sent: July 10, 2019 9:05 To: 'Access Developers > discussion and problem solving' Subject: [AccessD] odd shortcut > problem > > I've run into an interesting problem (volunteer). I helped a young man > create his first database and it's working fine. They're tracking > memberships. When he opens the database from the server, everything > works as expected. When they open the database from a local shortcut, > it isn't saving changes and new records. > > I asked him to first verify that the shortcuts are actually opening > the right file -- I know he had several versions as he worked. He says > they are definitely pointing to the right file. > > Any thoughts? > 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 ssharkins at gmail.com Wed Jul 10 16:38:44 2019 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 10 Jul 2019 17:38:44 -0400 Subject: [AccessD] odd shortcut problem In-Reply-To: <5D265A50.23169.64716FF1@stuart.lexacorp.com.pg> References: <041e01d53728$7cb05c90$761115b0$@gmail.com>, , <5D265A50.23169.64716FF1@stuart.lexacorp.com.pg> Message-ID: <03bc01d53767$d9b16b20$8d144160$@gmail.com> He should have permission -- they use shortcuts for all kinds of files on the server. I'll ask him to create a shortcut to something else he has out there, just to check. Susan H. Agree. I'd bet that he doesn't have create rights on the server directory when logged in on the workstation, so he can't create the lock file. On 10 Jul 2019 at 15:19, James Button via AccessD wrote: > Presuming the 'user' will have logged into the server in order to > access the database But - when run from a shortcut that is on a > 'local' system, has the user logon to that local system got the > appropriate authority on the server at that time And does the shortcut > use the users credentials when accessing the database - If not, then > could it be that the locally initiated process does not have update > authority ? Maybe check if the database can be manually manipulated > from the 'local user' Or is the local startup actually of a run-time > facility? > > Also - implied 'commit' or explicitly specified before the 'app' > closes the database. > > JimB > > -----Original Message----- > From: AccessD On Behalf Of > Daniel Waters Sent: Wednesday, July 10, 2019 3:10 PM To: Access > Developers discussion and problem solving > Subject: Re: [AccessD] odd shortcut > problem > > I've seen Windows try to revert shortcuts to their former files w/o > asking or telling. > > I'd try having him delete his current shortcut and recreate it. > > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Susan Harkins Sent: July 10, 2019 9:05 To: 'Access Developers > discussion and problem solving' Subject: [AccessD] odd shortcut > problem > > I've run into an interesting problem (volunteer). I helped a young man > create his first database and it's working fine. They're tracking > memberships. When he opens the database from the server, everything > works as expected. When they open the database from a local shortcut, > it isn't saving changes and new records. > > I asked him to first verify that the shortcuts are actually opening > the right file -- I know he had several versions as he worked. He says > they are definitely pointing to the right file. > > Any thoughts? > 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 stuart at lexacorp.com.pg Wed Jul 10 16:53:22 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Jul 2019 07:53:22 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <2F55FC37-9693-40EE-9DDD-08FF49CCE828@activebilling.com.au> References: , <2F55FC37-9693-40EE-9DDD-08FF49CCE828@activebilling.com.au> Message-ID: <5D265E52.22602.648115B1@stuart.lexacorp.com.pg> SHELL with that string and let cURL do it? I'll dig out some actual POST code a bit later. On 10 Jul 2019 at 23:04, Darren - Active Billing wrote: > Howdy all, > > > > How would I get the following string to be POSTed to a web site using > VBA? > > > > This is the final and formatted string that works when sending the > CURL request via a Terminal session > > > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is > the Task Name for Task No: 4","description": "This is the Description > for Task No: 4","dueDate": "2019-10-07"}' > 'https://hooks.workast.app/1234567890 > > > > I tried to modify some code I got from Stuart (ages ago) but no > success. I have no clue ...that?s why > > > > FYI: Workast is a site that allows for the addition of tasks for staff > to review - Simple enough but can?t get the POSTing bit from > Access to work > > > > Many thanks in advance > > > > Darren > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Jul 10 18:25:34 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 11 Jul 2019 09:25:34 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource Second Send Message-ID: <475FC8E5-7E40-4984-BE7B-9B6A718ED7F9@activebilling.com.au> Posting again ? not sure the first one got through ------------------- Howdy all, How would I get the following string to be POSTed to a web site using VBA? This is the final and formatted string that works when sending the CURL request via a Terminal session curl -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' 'https://hooks.workast.app/1234567890? The following also worked form a terminal al screen curl 'https://hooks.workast.app/1234567890? -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' Even getting it into a batch file and being able to execute it would be enough Any ideas? I tried to modify some code I got from Stuart (ages ago) but no success. I have no clue ?that?s why ? FYI: Workast is a site that allows for the addition of tasks for staff to review ? Simple enough but can?t get the POSTing bit from Access to work Many thanks in advance Darren From wrwehler at gmail.com Wed Jul 10 18:36:34 2019 From: wrwehler at gmail.com (Ryan W) Date: Wed, 10 Jul 2019 18:36:34 -0500 Subject: [AccessD] A2003: POST a set of params to a Web Resource Second Send In-Reply-To: <475FC8E5-7E40-4984-BE7B-9B6A718ED7F9@activebilling.com.au> References: <475FC8E5-7E40-4984-BE7B-9B6A718ED7F9@activebilling.com.au> Message-ID: <1E0893B8-37F4-4B36-8599-A7602F767517@gmail.com> There?s a vba-tools set of modules out on GitHub to accomplish this. https://github.com/VBA-tools Sent from my iPhone > On Jul 10, 2019, at 6:25 PM, Darren - Active Billing wrote: > > Posting again ? not sure the first one got through > > > > ------------------- > > > > Howdy all, > > > > How would I get the following string to be POSTed to a web site using VBA? > > > > This is the final and formatted string that works when sending the CURL request via a Terminal session > > > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' 'https://hooks.workast.app/1234567890? > > > > The following also worked form a terminal al screen > > > > curl 'https://hooks.workast.app/1234567890? -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' > > > > Even getting it into a batch file and being able to execute it would be enough > > > > Any ideas? > > > > I tried to modify some code I got from Stuart (ages ago) but no success. I have no clue ?that?s why ? > > > > FYI: Workast is a site that allows for the addition of tasks for staff to review ? Simple enough but can?t get the POSTing bit from Access to work > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Jul 10 18:52:52 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 11 Jul 2019 09:52:52 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource Second Send In-Reply-To: <1E0893B8-37F4-4B36-8599-A7602F767517@gmail.com> References: <475FC8E5-7E40-4984-BE7B-9B6A718ED7F9@activebilling.com.au> <1E0893B8-37F4-4B36-8599-A7602F767517@gmail.com> Message-ID: <8F949CFF-370A-4105-B4E7-7681FDEEB865@activebilling.com.au> Hi Ryan Many thanks for the response. I'm not too bringht and this looks like 'real' programming to me and I don't really do much these days. This was a request from a friend, & I thought would be a simple HTTP post or run from a batch file. Would you know how to get that string below to run in a batch file? Many thank in advance Darren. ?On 11/7/19, 9:36 am, "AccessD on behalf of Ryan W" wrote: There?s a vba-tools set of modules out on GitHub to accomplish this. https://github.com/VBA-tools Sent from my iPhone > On Jul 10, 2019, at 6:25 PM, Darren - Active Billing wrote: > > Posting again ? not sure the first one got through > > > > ------------------- > > > > Howdy all, > > > > How would I get the following string to be POSTed to a web site using VBA? > > > > This is the final and formatted string that works when sending the CURL request via a Terminal session > > > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' 'https://hooks.workast.app/1234567890? > > > > The following also worked form a terminal al screen > > > > curl 'https://hooks.workast.app/1234567890? -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Description for Task No: 4","dueDate": "2019-10-07"}' > > > > Even getting it into a batch file and being able to execute it would be enough > > > > Any ideas? > > > > I tried to modify some code I got from Stuart (ages ago) but no success. I have no clue ?that?s why ? > > > > FYI: Workast is a site that allows for the addition of tasks for staff to review ? Simple enough but can?t get the POSTing bit from Access to work > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Wed Jul 10 18:54:26 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 11 Jul 2019 09:54:26 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <5D265E52.22602.648115B1@stuart.lexacorp.com.pg> References: <2F55FC37-9693-40EE-9DDD-08FF49CCE828@activebilling.com.au> <5D265E52.22602.648115B1@stuart.lexacorp.com.pg> Message-ID: <99A2C220-EC15-4654-8A0F-B22BF4132D97@activebilling.com.au> Hi Stuart Many thanks. I see this post did make it and I even got a response. Apologies for missing this - yes, I'd be most grateful, thanks Darren. ?On 11/7/19, 7:53 am, "AccessD on behalf of Stuart McLachlan" wrote: SHELL with that string and let cURL do it? I'll dig out some actual POST code a bit later. On 10 Jul 2019 at 23:04, Darren - Active Billing wrote: > Howdy all, > > > > How would I get the following string to be POSTed to a web site using > VBA? > > > > This is the final and formatted string that works when sending the > CURL request via a Terminal session > > > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is > the Task Name for Task No: 4","description": "This is the Description > for Task No: 4","dueDate": "2019-10-07"}' > 'https://hooks.workast.app/1234567890 > > > > I tried to modify some code I got from Stuart (ages ago) but no > success. I have no clue ...that?s why > > > > FYI: Workast is a site that allows for the addition of tasks for staff > to review - Simple enough but can?t get the POSTing bit from > Access to work > > > > Many thanks in advance > > > > Darren > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Jul 11 00:44:27 2019 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 11 Jul 2019 17:44:27 +1200 Subject: [AccessD] Problem Validating Program Error Message-ID: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> Hi Listers, A client has just purchased a new computer with Windows 10 running Office 2013. They previously had Windows 7 running Access 2013. They are running a local Access mdb linked to another mdb on a server. When they try to open an Access mdb file they get this error message "There is a problem with validating the program. The program will be closed down." This error message pops up after the program opens and has retrieved data to show on the first screen. 2 other users that are still on Windows 7 have no problems. Has anyone come across this before? Mr Google doesn't come up with anything. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From stuart at lexacorp.com.pg Thu Jul 11 21:56:09 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 12 Jul 2019 12:56:09 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <99A2C220-EC15-4654-8A0F-B22BF4132D97@activebilling.com.au> References: , <5D265E52.22602.648115B1@stuart.lexacorp.com.pg>, <99A2C220-EC15-4654-8A0F-B22BF4132D97@activebilling.com.au> Message-ID: <5D27F6C9.10455.6ABCA7D3@stuart.lexacorp.com.pg> Sorry about the delay. But I couldn't find a good example. I've just had to write one this morning to post an authetication code and retrieve a zip file, so the following version is based loosely on that. You need to URL encode your data. URL ENCODE/DECODE functions follow the main code. ---- Code HTTP POST------------- Option Compare Database Option Explicit Function GetDBDump() 'Requires a reference to Microsoft XML 2.0 or greater 'I've use Microsoft XML 6.0 in Office 10. Dim myXMLHTTP As XMLHTTP60 Set myXMLHTTP = New XMLHTTP60 Dim strResult As String Dim strPostData as String strPostData = URLEncode("text=This is theTask Name for Task No: 4&description=This is the Description for Task No: 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ "http://www.example.com/addtask.php", False myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" myXMLHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded" myXMLHTTP.send strPostData strResult = myXMLHTTP.responsetext debug.print strResult Set myXMLHTTP = Nothing End Function --------------END HTTP POST ------------------------------------- -------------URL ENCODE/DECODE --------------------------------- Public Function URLEncode(StringToEncode As String, Optional _ UsePlusRatherThanHexForSpace As Boolean = False) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToEncode) Select Case Asc(Mid(StringToEncode, CurChr, 1)) Case 48 To 57, 65 To 90, 97 To 122 TempAns = TempAns & Mid(StringToEncode, CurChr, 1) Case 32 If UsePlusRatherThanHexForSpace = True Then TempAns = TempAns & "+" Else TempAns = TempAns & "%" & Hex(32) End If Case Else TempAns = TempAns & "%" & _ Format(Hex(Asc(Mid(StringToEncode, _ CurChr, 1))), "00") End Select CurChr = CurChr + 1 Loop URLEncode = TempAns End Function Public Function URLDecode(StringToDecode As String) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToDecode) Select Case Mid(StringToDecode, CurChr, 1) Case "+" TempAns = TempAns & " " Case "%" TempAns = TempAns & Chr(Val("&h" & _ Mid(StringToDecode, CurChr + 1, 2))) CurChr = CurChr + 2 Case Else TempAns = TempAns & Mid(StringToDecode, CurChr, 1) End Select CurChr = CurChr + 1 Loop URLDecode = TempAns End Function On 11 Jul 2019 at 9:54, Darren - Active Billing wrote: > Hi Stuart > > Many thanks. I see this post did make it and I even got a response. > Apologies for missing this - yes, I'd be most grateful, thanks > > Darren. > > > On 11/7/19, 7:53 am, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > SHELL with that string and let cURL do it? > > I'll dig out some actual POST code a bit later. > > On 10 Jul 2019 at 23:04, Darren - Active Billing wrote: > > > Howdy all, > > > > > > > > How would I get the following string to be POSTed to a web site > using > VBA? > > > > This is the final and formatted string that > works when sending the > CURL request via a Terminal session > > > > > curl -XPOST -H "Content-type: application/json" -d '{"text": > "This is > the Task Name for Task No: 4","description": "This is > the Description > for Task No: 4","dueDate": "2019-10-07"}' > > 'https://hooks.workast.app/1234567890 > > > > I tried to modify > some code I got from Stuart (ages ago) but no > success. I have no > clue ...that?s why > > > > FYI: Workast is a site that allows for > the addition of tasks for staff > to review - Simple enough but > can?t get the POSTing bit from > Access to work > > > > Many > thanks in advance > > > > Darren > > -- > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: > http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Jul 11 22:07:45 2019 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 12 Jul 2019 15:07:45 +1200 Subject: [AccessD] Problem Validating Program Error In-Reply-To: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> References: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> Message-ID: <009201d5385e$fa9e3050$efda90f0$@dalyn.co.nz> Found the problem. The program code was looking for a file that didn't exist. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, 11 July 2019 5:44 p.m. To: 'Access Developers discussion and problem solving' Subject: [AccessD] Problem Validating Program Error Hi Listers, A client has just purchased a new computer with Windows 10 running Office 2013. They previously had Windows 7 running Access 2013. They are running a local Access mdb linked to another mdb on a server. When they try to open an Access mdb file they get this error message "There is a problem with validating the program. The program will be closed down." This error message pops up after the program opens and has retrieved data to show on the first screen. 2 other users that are still on Windows 7 have no problems. Has anyone come across this before? Mr Google doesn't come up with anything. 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 bensonforums at gmail.com Fri Jul 12 12:31:44 2019 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 12 Jul 2019 13:31:44 -0400 Subject: [AccessD] MZTools Letdown! Message-ID: Just discovered MZTools does not import objects properly into MS Access 2013 database. Here is what I wrote to the vendor. This just came to my attention today and I think it is a pretty serious failing. When I exported modules and did some editing of them in WinMerge then imported the altered files back into MS Access database, the following problems were observed: MS Access forms are not imported. Their code comes in ok as Class1, Class2, etc. This is a defect that can be lived with except that it is not always clear what the correspondence is between Class1 and whatever form that code is representative of. MS Reports - the code does not come in AT ALL. Why doesn't the code come in as Classes at least? Would have the same difficulty in terms of correspondence between report name and new Class module names, but at least the code would be present. AND THERE IS NO WARNING about this. Standard and Class Modules... New modules come in but old existing modules do not get overwritten and instead they come in with a numeric increment in the name. Therefore what I had to do was manually remove all class and standard modules, and then import them. From darren at activebilling.com.au Fri Jul 12 12:57:17 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Sat, 13 Jul 2019 03:57:17 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <5D27F6C9.10455.6ABCA7D3@stuart.lexacorp.com.pg> References: <5D265E52.22602.648115B1@stuart.lexacorp.com.pg> <99A2C220-EC15-4654-8A0F-B22BF4132D97@activebilling.com.au> <5D27F6C9.10455.6ABCA7D3@stuart.lexacorp.com.pg> Message-ID: <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au> Stuart, Thank you so much for replying. Sadly... no joy. Also - realise I have no clue what I am doing here. So I may have stuffed something. I get an error on the line "myXMLHTTP.send strPostData" Error = "Run-time error '-2146697211 (800c0005)': "The System Cannot Locate the resource specified" All I have done since getting you cool code below is, reference MSXML6 and Place my URL in the line you had at: myXMLHTTP.Open "POST", "http://www.example.com/addtask.php", False with myXMLHTTP.Open "POST", "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False Do you have any suggestions? Many thanks in advance. Darren. --------------------------------------------------------------------------- ?On 12/7/19, 12:56 pm, "AccessD on behalf of Stuart McLachlan" wrote: ---- Code HTTP POST------------- Option Compare Database Option Explicit Function GetDBDump() 'Requires a reference to Microsoft XML 2.0 or greater 'I've use Microsoft XML 6.0 in Office 10. Dim myXMLHTTP As XMLHTTP60 Set myXMLHTTP = New XMLHTTP60 Dim strResult As String Dim strPostData as String strPostData = URLEncode("text=This is theTask Name for Task No: 4&description=This is the Description for Task No: 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ "http://www.example.com/addtask.php", False myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" myXMLHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded" myXMLHTTP.send strPostData strResult = myXMLHTTP.responsetext debug.print strResult Set myXMLHTTP = Nothing End Function --------------END HTTP POST ------------------------------------- -------------URL ENCODE/DECODE --------------------------------- Public Function URLEncode(StringToEncode As String, Optional _ UsePlusRatherThanHexForSpace As Boolean = False) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToEncode) Select Case Asc(Mid(StringToEncode, CurChr, 1)) Case 48 To 57, 65 To 90, 97 To 122 TempAns = TempAns & Mid(StringToEncode, CurChr, 1) Case 32 If UsePlusRatherThanHexForSpace = True Then TempAns = TempAns & "+" Else TempAns = TempAns & "%" & Hex(32) End If Case Else TempAns = TempAns & "%" & _ Format(Hex(Asc(Mid(StringToEncode, _ CurChr, 1))), "00") End Select CurChr = CurChr + 1 Loop URLEncode = TempAns End Function Public Function URLDecode(StringToDecode As String) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToDecode) Select Case Mid(StringToDecode, CurChr, 1) Case "+" TempAns = TempAns & " " Case "%" TempAns = TempAns & Chr(Val("&h" & _ Mid(StringToDecode, CurChr + 1, 2))) CurChr = CurChr + 2 Case Else TempAns = TempAns & Mid(StringToDecode, CurChr, 1) End Select CurChr = CurChr + 1 Loop URLDecode = TempAns End Function From jwcolby at gmail.com Fri Jul 12 15:12:45 2019 From: jwcolby at gmail.com (John Colby) Date: Fri, 12 Jul 2019 16:12:45 -0400 Subject: [AccessD] MZTools Letdown! In-Reply-To: References: Message-ID: I would bet that this is a limitation (bug) in Access itself. AFAIK Access (JET) does the export and import. On Fri, Jul 12, 2019 at 1:32 PM Bill Benson wrote: > Just discovered MZTools does not import objects properly into MS Access > 2013 database. Here is what I wrote to the vendor. > > This just came to my attention today and I think it is a pretty serious > failing. When I exported modules and did some editing of them in WinMerge > then imported the altered files back into MS Access database, the following > problems were observed: > > MS Access forms are not imported. Their code comes in ok as Class1, Class2, > etc. This is a defect that can be lived with except that it is not always > clear what the correspondence is between Class1 and whatever form that code > is representative of. > > MS Reports - the code does not come in AT ALL. Why doesn't the code come in > as Classes at least? Would have the same difficulty in terms of > correspondence between report name and new Class module names, but at least > the code would be present. AND THERE IS NO WARNING about this. > > Standard and Class Modules... New modules come in but old existing modules > do not get overwritten and instead they come in with a numeric increment in > the name. Therefore what I had to do was manually remove all class and > standard modules, and then import them. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby Colby Consulting From jwcolby at gmail.com Fri Jul 12 15:13:59 2019 From: jwcolby at gmail.com (John Colby) Date: Fri, 12 Jul 2019 16:13:59 -0400 Subject: [AccessD] Problem Validating Program Error In-Reply-To: <009201d5385e$fa9e3050$efda90f0$@dalyn.co.nz> References: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> <009201d5385e$fa9e3050$efda90f0$@dalyn.co.nz> Message-ID: LOL. The old "file doesn't exist" problem. I know it well. On Thu, Jul 11, 2019 at 11:08 PM David Emerson wrote: > Found the problem. The program code was looking for a file that didn't > exist. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Thursday, 11 July 2019 5:44 p.m. > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Problem Validating Program Error > > Hi Listers, > > > > A client has just purchased a new computer with Windows 10 running Office > 2013. They previously had Windows 7 running Access 2013. They are running > a local Access mdb linked to another mdb on a server. > > > > When they try to open an Access mdb file they get this error message "There > is a problem with validating the program. The program will be closed > down." > This error message pops up after the program opens and has retrieved data > to > show on the first screen. > > > > 2 other users that are still on Windows 7 have no problems. > > > > Has anyone come across this before? Mr Google doesn't come up with > anything. > > > > 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 > -- John W. Colby Colby Consulting From bensonforums at gmail.com Sat Jul 13 17:33:48 2019 From: bensonforums at gmail.com (Bill Benson) Date: Sat, 13 Jul 2019 18:33:48 -0400 Subject: [AccessD] Problem Validating Program Error In-Reply-To: References: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> <009201d5385e$fa9e3050$efda90f0$@dalyn.co.nz> Message-ID: Wait - I am confused. Access was looking for a file that did not exist? As in, one of its installation files? Or some other file? The reason I ask is because I am not familiar with an Access native message saying that there is a problem validating the (Access?) program. Is that a message that happens if one of Access's own files is missing? Or was this a home grown error message within this particular application that was in response for checking a for a user or developer created file? TIA On Fri, Jul 12, 2019 at 4:14 PM John Colby wrote: > LOL. The old "file doesn't exist" problem. I know it well. > > On Thu, Jul 11, 2019 at 11:08 PM David Emerson > wrote: > > > Found the problem. The program code was looking for a file that didn't > > exist. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: Thursday, 11 July 2019 5:44 p.m. > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Problem Validating Program Error > > > > Hi Listers, > > > > > > > > A client has just purchased a new computer with Windows 10 running Office > > 2013. They previously had Windows 7 running Access 2013. They are > running > > a local Access mdb linked to another mdb on a server. > > > > > > > > When they try to open an Access mdb file they get this error message > "There > > is a problem with validating the program. The program will be closed > > down." > > This error message pops up after the program opens and has retrieved data > > to > > show on the first screen. > > > > > > > > 2 other users that are still on Windows 7 have no problems. > > > > > > > > Has anyone come across this before? Mr Google doesn't come up with > > anything. > > > > > > > > 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 > > > > > -- > John W. Colby > Colby Consulting > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Sat Jul 13 21:14:13 2019 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sun, 14 Jul 2019 14:14:13 +1200 Subject: [AccessD] Problem Validating Program Error In-Reply-To: References: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz> <009201d5385e$fa9e3050$efda90f0$@dalyn.co.nz> Message-ID: <000601d539e9$d4cf3450$7e6d9cf0$@dalyn.co.nz> Hi Bill, Your confusion is well founded. I looked further into the code (it wasn't mine). The message was actually a message put into the error trapping. The code that caused the message was this: strFile = "C:\program files\PCS4.csv" lngFileHandle = FreeFile Open strFile For Input Access Read As lngFileHandle The csv file is used to store information that is used in the setup of the Access screen. Because the file didn't exist Access showed the message. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Sunday, 14 July 2019 10:34 a.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem Validating Program Error Wait - I am confused. Access was looking for a file that did not exist? As in, one of its installation files? Or some other file? The reason I ask is because I am not familiar with an Access native message saying that there is a problem validating the (Access?) program. Is that a message that happens if one of Access's own files is missing? Or was this a home grown error message within this particular application that was in response for checking a for a user or developer created file? TIA On Fri, Jul 12, 2019 at 4:14 PM John Colby wrote: > LOL. The old "file doesn't exist" problem. I know it well. > > On Thu, Jul 11, 2019 at 11:08 PM David Emerson > wrote: > > > Found the problem. The program code was looking for a file that didn't > > exist. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: Thursday, 11 July 2019 5:44 p.m. > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Problem Validating Program Error > > > > Hi Listers, > > > > > > > > A client has just purchased a new computer with Windows 10 running Office > > 2013. They previously had Windows 7 running Access 2013. They are > running > > a local Access mdb linked to another mdb on a server. > > > > > > > > When they try to open an Access mdb file they get this error message > "There > > is a problem with validating the program. The program will be closed > > down." > > This error message pops up after the program opens and has retrieved data > > to > > show on the first screen. > > > > > > > > 2 other users that are still on Windows 7 have no problems. > > > > > > > > Has anyone come across this before? Mr Google doesn't come up with > > anything. > > > > > > > > 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 > > > > > -- > John W. Colby > Colby Consulting > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 13 23:00:45 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 14 Jul 2019 14:00:45 +1000 Subject: [AccessD] Problem Validating Program Error In-Reply-To: <000601d539e9$d4cf3450$7e6d9cf0$@dalyn.co.nz> References: <002901d537ab$b40e29a0$1c2a7ce0$@dalyn.co.nz>, , <000601d539e9$d4cf3450$7e6d9cf0$@dalyn.co.nz> Message-ID: <5D2AA8ED.13495.55DCB46@stuart.lexacorp.com.pg> Hard coded CSV file name in 'Program Files" cause a "validation error" message? Looks like either a stupid place to store options or a VERY ill thought out attempt at copy protection (or possibly both). You'd better be prepared for a few more surprises if the developer did things like that :( On 14 Jul 2019 at 14:14, David Emerson wrote: > Hi Bill, > > Your confusion is well founded. I looked further into the code (it > wasn't mine). The message was actually a message put into the error > trapping. > > The code that caused the message was this: > > strFile = "C:\program files\PCS4.csv" > lngFileHandle = FreeFile > Open strFile For Input Access Read As lngFileHandle > > The csv file is used to store information that is used in the setup of > the Access screen. Because the file didn't exist Access showed the > message. > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson Sent: Sunday, 14 July 2019 10:34 a.m. To: Access > Developers discussion and problem solving Subject: Re: [AccessD] > Problem Validating Program Error > > Wait - I am confused. Access was looking for a file that did not > exist? As in, one of its installation files? Or some other file? The > reason I ask is because I am not familiar with an Access native > message saying that there is a problem validating the (Access?) > program. Is that a message that happens if one of Access's own files > is missing? Or was this a home grown error message within this > particular application that was in response for checking a for a user > or developer created file? > > TIA > > On Fri, Jul 12, 2019 at 4:14 PM John Colby wrote: > > > LOL. The old "file doesn't exist" problem. I know it well. > > > > On Thu, Jul 11, 2019 at 11:08 PM David Emerson > > wrote: > > > > > Found the problem. The program code was looking for a file that > > > didn't exist. > > > > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > > Behalf Of David Emerson Sent: Thursday, 11 July 2019 5:44 p.m. To: > > > 'Access Developers discussion and problem solving' Subject: > > > [AccessD] Problem Validating Program Error > > > > > > Hi Listers, > > > > > > > > > > > > A client has just purchased a new computer with Windows 10 running > Office > > > 2013. They previously had Windows 7 running Access 2013. They > > > are > > running > > > a local Access mdb linked to another mdb on a server. > > > > > > > > > > > > When they try to open an Access mdb file they get this error > > > message > > "There > > > is a problem with validating the program. The program will be > > > closed down." This error message pops up after the program opens > > > and has retrieved > data > > > to > > > show on the first screen. > > > > > > > > > > > > 2 other users that are still on Windows 7 have no problems. > > > > > > > > > > > > Has anyone come across this before? Mr Google doesn't come up > > > with anything. > > > > > > > > > > > > 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 > > > > > > > > > -- > > John W. Colby > > Colby Consulting > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sun Jul 14 21:17:25 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Mon, 15 Jul 2019 12:17:25 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au> References: <5D265E52.22602.648115B1@stuart.lexacorp.com.pg> <99A2C220-EC15-4654-8A0F-B22BF4132D97@activebilling.com.au> <5D27F6C9.10455.6ABCA7D3@stuart.lexacorp.com.pg> <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au> Message-ID: <87B5E72A-24D6-4051-B8BA-0EF307A9A1EF@activebilling.com.au> Hi Stuart, Sorry to harass - Just wondering if I could chase you on this one below - Many thanks in advance Darren. ?On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active Billing" wrote: Stuart, Thank you so much for replying. Sadly... no joy. Also - realise I have no clue what I am doing here. So I may have stuffed something. I get an error on the line "myXMLHTTP.send strPostData" Error = "Run-time error '-2146697211 (800c0005)': "The System Cannot Locate the resource specified" All I have done since getting your cool code below is, reference MSXML6 and Place my URL in the line you had at: myXMLHTTP.Open "POST", "http://www.example.com/addtask.php", False with myXMLHTTP.Open "POST", "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False Do you have any suggestions? Many thanks in advance. Darren. --------------------------------------------------------------------------- ?On 12/7/19, 12:56 pm, "AccessD on behalf of Stuart McLachlan" wrote: ---- Code HTTP POST------------- Option Compare Database Option Explicit Function GetDBDump() 'Requires a reference to Microsoft XML 2.0 or greater 'I've use Microsoft XML 6.0 in Office 10. Dim myXMLHTTP As XMLHTTP60 Set myXMLHTTP = New XMLHTTP60 Dim strResult As String Dim strPostData as String strPostData = URLEncode("text=This is theTask Name for Task No: 4&description=This is the Description for Task No: 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ "http://www.example.com/addtask.php", False myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" myXMLHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded" myXMLHTTP.send strPostData strResult = myXMLHTTP.responsetext debug.print strResult Set myXMLHTTP = Nothing End Function --------------END HTTP POST ------------------------------------- -------------URL ENCODE/DECODE --------------------------------- Public Function URLEncode(StringToEncode As String, Optional _ UsePlusRatherThanHexForSpace As Boolean = False) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToEncode) Select Case Asc(Mid(StringToEncode, CurChr, 1)) Case 48 To 57, 65 To 90, 97 To 122 TempAns = TempAns & Mid(StringToEncode, CurChr, 1) Case 32 If UsePlusRatherThanHexForSpace = True Then TempAns = TempAns & "+" Else TempAns = TempAns & "%" & Hex(32) End If Case Else TempAns = TempAns & "%" & _ Format(Hex(Asc(Mid(StringToEncode, _ CurChr, 1))), "00") End Select CurChr = CurChr + 1 Loop URLEncode = TempAns End Function Public Function URLDecode(StringToDecode As String) As String Dim TempAns As String Dim CurChr As Integer CurChr = 1 Do Until CurChr - 1 = Len(StringToDecode) Select Case Mid(StringToDecode, CurChr, 1) Case "+" TempAns = TempAns & " " Case "%" TempAns = TempAns & Chr(Val("&h" & _ Mid(StringToDecode, CurChr + 1, 2))) CurChr = CurChr + 2 Case Else TempAns = TempAns & Mid(StringToDecode, CurChr, 1) End Select CurChr = CurChr + 1 Loop URLDecode = TempAns End Function -- 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 14 22:33:57 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 15 Jul 2019 13:33:57 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <87B5E72A-24D6-4051-B8BA-0EF307A9A1EF@activebilling.com.au> References: , <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au>, <87B5E72A-24D6-4051-B8BA-0EF307A9A1EF@activebilling.com.au> Message-ID: <5D2BF425.3272.A6B9C93@stuart.lexacorp.com.pg> That message means that you are not getting a response bac from the URL. (URL = Uniform RESOURCE locator) Without knowing a lot more about hooks.workast.app/Do7DOEFPZDzAS20cvtt6E, I can't tell why it is not working. On 15 Jul 2019 at 12:17, Darren - Active Billing wrote: > Hi Stuart, > > Sorry to harass - Just wondering if I could chase you on this one > below - Many thanks in advance > > Darren. > > > > On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active Billing" > darren at activebilling.com.au> wrote: > > Stuart, > > Thank you so much for replying. Sadly... no joy. > > Also - realise I have no clue what I am doing here. So I may have > stuffed something. > > I get an error on the line "myXMLHTTP.send strPostData" > > Error = "Run-time error '-2146697211 (800c0005)': "The System > Cannot Locate the resource specified" > > All I have done since getting your cool code below is, reference > MSXML6 and Place my URL in the line you had at: > > myXMLHTTP.Open "POST", "http://www.example.com/addtask.php", > False > > with > > myXMLHTTP.Open "POST", > "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False > > Do you have any suggestions? > > Many thanks in advance. > > Darren. > > ------------------------------------------------------------------ > --------- > > On 12/7/19, 12:56 pm, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > ---- Code HTTP POST------------- > > Option Compare Database > Option Explicit > > Function GetDBDump() > 'Requires a reference to Microsoft XML 2.0 or greater > 'I've use Microsoft XML 6.0 in Office 10. > > Dim myXMLHTTP As XMLHTTP60 > Set myXMLHTTP = New XMLHTTP60 > Dim strResult As String > Dim strPostData as String > strPostData = URLEncode("text=This is theTask Name for Task > No: 4&description=This is the Description for Task No: > 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ > "http://www.example.com/addtask.php", False > myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.0)" > myXMLHTTP.setRequestHeader "Content-type", > "application/x-www-form-urlencoded" myXMLHTTP.send strPostData > strResult = myXMLHTTP.responsetext debug.print strResult Set > myXMLHTTP = Nothing End Function > > > --------------END HTTP POST > ------------------------------------- > > -------------URL ENCODE/DECODE > --------------------------------- > > Public Function URLEncode(StringToEncode As String, Optional _ > UsePlusRatherThanHexForSpace As Boolean = False) As String > > Dim TempAns As String > Dim CurChr As Integer > CurChr = 1 > Do Until CurChr - 1 = Len(StringToEncode) > Select Case Asc(Mid(StringToEncode, CurChr, 1)) > Case 48 To 57, 65 To 90, 97 To 122 > TempAns = TempAns & Mid(StringToEncode, CurChr, 1) > Case 32 > If UsePlusRatherThanHexForSpace = True Then > TempAns = TempAns & "+" > Else > TempAns = TempAns & "%" & Hex(32) > End If > Case Else > TempAns = TempAns & "%" & _ > Format(Hex(Asc(Mid(StringToEncode, _ > CurChr, 1))), "00") > End Select > > CurChr = CurChr + 1 > Loop > > URLEncode = TempAns > End Function > > > Public Function URLDecode(StringToDecode As String) As String > > Dim TempAns As String > Dim CurChr As Integer > > CurChr = 1 > > Do Until CurChr - 1 = Len(StringToDecode) > Select Case Mid(StringToDecode, CurChr, 1) > Case "+" > TempAns = TempAns & " " > Case "%" > TempAns = TempAns & Chr(Val("&h" & _ > Mid(StringToDecode, CurChr + 1, 2))) > CurChr = CurChr + 2 > Case Else > TempAns = TempAns & Mid(StringToDecode, CurChr, 1) > End Select > > CurChr = CurChr + 1 > Loop > > URLDecode = TempAns > 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 darren at activebilling.com.au Sun Jul 14 22:39:43 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Mon, 15 Jul 2019 13:39:43 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <5D2BF425.3272.A6B9C93@stuart.lexacorp.com.pg> References: <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au> <87B5E72A-24D6-4051-B8BA-0EF307A9A1EF@activebilling.com.au> <5D2BF425.3272.A6B9C93@stuart.lexacorp.com.pg> Message-ID: <625BE3F6-B69B-460D-AC60-2CCA94D86F3E@activebilling.com.au> Ahhh - OK - So it's kind of transacting - OK Many thanks - I will go and confirm the API Key values Just goes to show hee how little I know of this stuff. I assumed the request hadn't even been parsed. Let alone this error being a respons (Albeit an unwanted one) Many thanks Stuart. Darren. ?On 15/7/19, 1:33 pm, "AccessD on behalf of Stuart McLachlan" wrote: That message means that you are not getting a response bac from the URL. (URL = Uniform RESOURCE locator) Without knowing a lot more about hooks.workast.app/Do7DOEFPZDzAS20cvtt6E, I can't tell why it is not working. On 15 Jul 2019 at 12:17, Darren - Active Billing wrote: > Hi Stuart, > > Sorry to harass - Just wondering if I could chase you on this one > below - Many thanks in advance > > Darren. > > > > On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active Billing" > darren at activebilling.com.au> wrote: > > Stuart, > > Thank you so much for replying. Sadly... no joy. > > Also - realise I have no clue what I am doing here. So I may have > stuffed something. > > I get an error on the line "myXMLHTTP.send strPostData" > > Error = "Run-time error '-2146697211 (800c0005)': "The System > Cannot Locate the resource specified" > > All I have done since getting your cool code below is, reference > MSXML6 and Place my URL in the line you had at: > > myXMLHTTP.Open "POST", "http://www.example.com/addtask.php", > False > > with > > myXMLHTTP.Open "POST", > "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False > > Do you have any suggestions? > > Many thanks in advance. > > Darren. > > ------------------------------------------------------------------ > --------- > > On 12/7/19, 12:56 pm, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > ---- Code HTTP POST------------- > > Option Compare Database > Option Explicit > > Function GetDBDump() > 'Requires a reference to Microsoft XML 2.0 or greater > 'I've use Microsoft XML 6.0 in Office 10. > > Dim myXMLHTTP As XMLHTTP60 > Set myXMLHTTP = New XMLHTTP60 > Dim strResult As String > Dim strPostData as String > strPostData = URLEncode("text=This is theTask Name for Task > No: 4&description=This is the Description for Task No: > 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ > "http://www.example.com/addtask.php", False > myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.0)" > myXMLHTTP.setRequestHeader "Content-type", > "application/x-www-form-urlencoded" myXMLHTTP.send strPostData > strResult = myXMLHTTP.responsetext debug.print strResult Set > myXMLHTTP = Nothing End Function > > > --------------END HTTP POST > ------------------------------------- > > -------------URL ENCODE/DECODE > --------------------------------- > > Public Function URLEncode(StringToEncode As String, Optional _ > UsePlusRatherThanHexForSpace As Boolean = False) As String > > Dim TempAns As String > Dim CurChr As Integer > CurChr = 1 > Do Until CurChr - 1 = Len(StringToEncode) > Select Case Asc(Mid(StringToEncode, CurChr, 1)) > Case 48 To 57, 65 To 90, 97 To 122 > TempAns = TempAns & Mid(StringToEncode, CurChr, 1) > Case 32 > If UsePlusRatherThanHexForSpace = True Then > TempAns = TempAns & "+" > Else > TempAns = TempAns & "%" & Hex(32) > End If > Case Else > TempAns = TempAns & "%" & _ > Format(Hex(Asc(Mid(StringToEncode, _ > CurChr, 1))), "00") > End Select > > CurChr = CurChr + 1 > Loop > > URLEncode = TempAns > End Function > > > Public Function URLDecode(StringToDecode As String) As String > > Dim TempAns As String > Dim CurChr As Integer > > CurChr = 1 > > Do Until CurChr - 1 = Len(StringToDecode) > Select Case Mid(StringToDecode, CurChr, 1) > Case "+" > TempAns = TempAns & " " > Case "%" > TempAns = TempAns & Chr(Val("&h" & _ > Mid(StringToDecode, CurChr + 1, 2))) > CurChr = CurChr + 2 > Case Else > TempAns = TempAns & Mid(StringToDecode, CurChr, 1) > End Select > > CurChr = CurChr + 1 > Loop > > URLDecode = TempAns > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Sun Jul 14 23:19:25 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Mon, 15 Jul 2019 14:19:25 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <625BE3F6-B69B-460D-AC60-2CCA94D86F3E@activebilling.com.au> References: <23D05CDB-C1D3-440C-9438-D03088273A87@activebilling.com.au> <87B5E72A-24D6-4051-B8BA-0EF307A9A1EF@activebilling.com.au> <5D2BF425.3272.A6B9C93@stuart.lexacorp.com.pg> <625BE3F6-B69B-460D-AC60-2CCA94D86F3E@activebilling.com.au> Message-ID: <0E69BA77-BD7A-44CA-BD56-73B4D8DB9763@activebilling.com.au> Frustratingly - This exact block of text works fine in a Terminal Session on a Mac curl -XPOST -H "Content-type: application/json" -d '{"text": "This is the Task Name for Task No: 4","description": "This is the Task Description for Task No: 4","dueDate": "2019-10-07"}' 'https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E' but I can?t get it to run in a Windows command window using some "curl.exe" executable I grabbed from the web. Anyone know how I might get it to run in a batch file? Many thanks. Darren. ?On 15/7/19, 1:39 pm, "AccessD on behalf of Darren - Active Billing" wrote: Ahhh - OK - So it's kind of transacting - OK Many thanks - I will go and confirm the API Key values Just goes to show hee how little I know of this stuff. I assumed the request hadn't even been parsed. Let alone this error being a respons (Albeit an unwanted one) Many thanks Stuart. Darren. ?On 15/7/19, 1:33 pm, "AccessD on behalf of Stuart McLachlan" wrote: That message means that you are not getting a response bac from the URL. (URL = Uniform RESOURCE locator) Without knowing a lot more about hooks.workast.app/Do7DOEFPZDzAS20cvtt6E, I can't tell why it is not working. On 15 Jul 2019 at 12:17, Darren - Active Billing wrote: > Hi Stuart, > > Sorry to harass - Just wondering if I could chase you on this one > below - Many thanks in advance > > Darren. > > > > On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active Billing" > darren at activebilling.com.au> wrote: > > Stuart, > > Thank you so much for replying. Sadly... no joy. > > Also - realise I have no clue what I am doing here. So I may have > stuffed something. > > I get an error on the line "myXMLHTTP.send strPostData" > > Error = "Run-time error '-2146697211 (800c0005)': "The System > Cannot Locate the resource specified" > > All I have done since getting your cool code below is, reference > MSXML6 and Place my URL in the line you had at: > > myXMLHTTP.Open "POST", "http://www.example.com/addtask.php", > False > > with > > myXMLHTTP.Open "POST", > "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False > > Do you have any suggestions? > > Many thanks in advance. > > Darren. > > ------------------------------------------------------------------ > --------- > > On 12/7/19, 12:56 pm, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > ---- Code HTTP POST------------- > > Option Compare Database > Option Explicit > > Function GetDBDump() > 'Requires a reference to Microsoft XML 2.0 or greater > 'I've use Microsoft XML 6.0 in Office 10. > > Dim myXMLHTTP As XMLHTTP60 > Set myXMLHTTP = New XMLHTTP60 > Dim strResult As String > Dim strPostData as String > strPostData = URLEncode("text=This is theTask Name for Task > No: 4&description=This is the Description for Task No: > 4&dueDate:'2019-10-07'") myXMLHTTP.Open "POST", _ > "http://www.example.com/addtask.php", False > myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.0)" > myXMLHTTP.setRequestHeader "Content-type", > "application/x-www-form-urlencoded" myXMLHTTP.send strPostData > strResult = myXMLHTTP.responsetext debug.print strResult Set > myXMLHTTP = Nothing End Function > > > --------------END HTTP POST > ------------------------------------- > > -------------URL ENCODE/DECODE > --------------------------------- > > Public Function URLEncode(StringToEncode As String, Optional _ > UsePlusRatherThanHexForSpace As Boolean = False) As String > > Dim TempAns As String > Dim CurChr As Integer > CurChr = 1 > Do Until CurChr - 1 = Len(StringToEncode) > Select Case Asc(Mid(StringToEncode, CurChr, 1)) > Case 48 To 57, 65 To 90, 97 To 122 > TempAns = TempAns & Mid(StringToEncode, CurChr, 1) > Case 32 > If UsePlusRatherThanHexForSpace = True Then > TempAns = TempAns & "+" > Else > TempAns = TempAns & "%" & Hex(32) > End If > Case Else > TempAns = TempAns & "%" & _ > Format(Hex(Asc(Mid(StringToEncode, _ > CurChr, 1))), "00") > End Select > > CurChr = CurChr + 1 > Loop > > URLEncode = TempAns > End Function > > > Public Function URLDecode(StringToDecode As String) As String > > Dim TempAns As String > Dim CurChr As Integer > > CurChr = 1 > > Do Until CurChr - 1 = Len(StringToDecode) > Select Case Mid(StringToDecode, CurChr, 1) > Case "+" > TempAns = TempAns & " " > Case "%" > TempAns = TempAns & Chr(Val("&h" & _ > Mid(StringToDecode, CurChr + 1, 2))) > CurChr = CurChr + 2 > Case Else > TempAns = TempAns & Mid(StringToDecode, CurChr, 1) > End Select > > CurChr = CurChr + 1 > Loop > > URLDecode = TempAns > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 14 23:38:15 2019 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 15 Jul 2019 14:38:15 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <0E69BA77-BD7A-44CA-BD56-73B4D8DB9763@activebilling.com.au> References: , <625BE3F6-B69B-460D-AC60-2CCA94D86F3E@activebilling.com.au>, <0E69BA77-BD7A-44CA-BD56-73B4D8DB9763@activebilling.com.au> Message-ID: <5D2C0337.25822.AA67B7D@stuart.lexacorp.com.pg> That looks like a possible Firewall block them. You may have to let Ports 80 and 443 (for https) through for MS Access and/or cURL. On 15 Jul 2019 at 14:19, Darren - Active Billing wrote: > Frustratingly - This exact block of text works fine in a Terminal > Session on a Mac > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is > the Task Name for Task No: 4","description": "This is the Task > Description for Task No: 4","dueDate": "2019-10-07"}' > 'https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E' > > but I can?t get it to run in a Windows command window using some > "curl.exe" executable I grabbed from the web. > > Anyone know how I might get it to run in a batch file? > > Many thanks. > > Darren. > > > On 15/7/19, 1:39 pm, "AccessD on behalf of Darren - Active Billing" > darren at activebilling.com.au> wrote: > > > Ahhh - OK - So it's kind of transacting - OK Many thanks - I will > go and confirm the API Key values > > Just goes to show hee how little I know of this stuff. I assumed > the request hadn't even been parsed. Let alone this error being a > respons (Albeit an unwanted one) > > Many thanks Stuart. > > Darren. > > > On 15/7/19, 1:33 pm, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > That message means that you are not getting a response bac > from the URL. > > (URL = Uniform RESOURCE locator) > > Without knowing a lot more about > hooks.workast.app/Do7DOEFPZDzAS20cvtt6E, I can't tell why it > is not working. > > > On 15 Jul 2019 at 12:17, Darren - Active Billing wrote: > > > Hi Stuart, > > > > Sorry to harass - Just wondering if I could chase you on > this one > below - Many thanks in advance > > Darren. > > > > > On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active > Billing" > > darren at activebilling.com.au> wrote: > > Stuart, > > > Thank you so much for replying. Sadly... no joy. > > Also > - realise I have no clue what I am doing here. So I may have > > stuffed something. > > I get an error on the line > "myXMLHTTP.send strPostData" > > Error = "Run-time error > '-2146697211 (800c0005)': "The System > Cannot Locate the > resource specified" > > All I have done since getting your > cool code below is, reference > MSXML6 and Place my URL in > the line you had at: > > myXMLHTTP.Open "POST", > "http://www.example.com/addtask.php", > False > > > with > > myXMLHTTP.Open "POST", > > "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False > > > Do you have any suggestions? > > Many thanks in advance. > > > Darren. > > > -------------------------------------------------------------- > ---- > --------- > > On 12/7/19, 12:56 pm, "AccessD on > behalf of Stuart McLachlan" > > > stuart at lexacorp.com.pg> wrote: > > ---- Code HTTP > POST------------- > > Option Compare Database > > Option Explicit > > Function GetDBDump() > > 'Requires a reference to Microsoft XML 2.0 or greater > > 'I've use Microsoft XML 6.0 in Office 10. > > Dim > myXMLHTTP As XMLHTTP60 > Set myXMLHTTP = New XMLHTTP60 > > Dim strResult As String > Dim strPostData as > String > strPostData = URLEncode("text=This is > theTask Name for Task > No: 4&description=This is the > Description for Task No: > 4&dueDate:'2019-10-07'") > myXMLHTTP.Open "POST", _ > > "http://www.example.com/addtask.php", False > > myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 > > (compatible; MSIE 6.0; Windows NT 5.0)" > > myXMLHTTP.setRequestHeader "Content-type", > > "application/x-www-form-urlencoded" myXMLHTTP.send strPostData > > strResult = myXMLHTTP.responsetext debug.print > strResult Set > myXMLHTTP = Nothing End Function > > > > --------------END HTTP POST > > ------------------------------------- > > > -------------URL ENCODE/DECODE > > --------------------------------- > > Public Function > URLEncode(StringToEncode As String, Optional _ > > UsePlusRatherThanHexForSpace As Boolean = False) As String > > > Dim TempAns As String > Dim CurChr As Integer > > CurChr = 1 > Do Until CurChr - 1 = > Len(StringToEncode) > Select Case > Asc(Mid(StringToEncode, CurChr, 1)) > Case 48 To > 57, 65 To 90, 97 To 122 > TempAns = TempAns & > Mid(StringToEncode, CurChr, 1) > Case 32 > > If UsePlusRatherThanHexForSpace = True Then > > TempAns = TempAns & "+" > Else > > TempAns = TempAns & "%" & Hex(32) > End If > > Case Else > TempAns = TempAns & > "%" & _ > > Format(Hex(Asc(Mid(StringToEncode, _ > > CurChr, 1))), "00") > End Select > > CurChr > = CurChr + 1 > Loop > > URLEncode = TempAns > > End Function > > > Public Function > URLDecode(StringToDecode As String) As String > > Dim > TempAns As String > Dim CurChr As Integer > > > CurChr = 1 > > Do Until CurChr - 1 = > Len(StringToDecode) > Select Case > Mid(StringToDecode, CurChr, 1) > Case "+" > > TempAns = TempAns & " " > Case "%" > > TempAns = TempAns & Chr(Val("&h" & _ > > Mid(StringToDecode, CurChr + 1, 2))) > CurChr = > CurChr + 2 > Case Else > TempAns = > TempAns & Mid(StringToDecode, CurChr, 1) > End > Select > > CurChr = CurChr + 1 > Loop > > > URLDecode = TempAns > 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 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jul 15 02:21:44 2019 From: darren at activebilling.com.au (Darren - Active Billing) Date: Mon, 15 Jul 2019 17:21:44 +1000 Subject: [AccessD] A2003: POST a set of params to a Web Resource In-Reply-To: <5D2C0337.25822.AA67B7D@stuart.lexacorp.com.pg> References: <625BE3F6-B69B-460D-AC60-2CCA94D86F3E@activebilling.com.au> <0E69BA77-BD7A-44CA-BD56-73B4D8DB9763@activebilling.com.au> <5D2C0337.25822.AA67B7D@stuart.lexacorp.com.pg> Message-ID: Thank you for your persistence Way over my head - We'll abandon ship at this stage. I'll let 'em know, to try other means __ Many many thanks for your perseverance Darren ?On 15/7/19, 2:38 pm, "AccessD on behalf of Stuart McLachlan" wrote: That looks like a possible Firewall block them. You may have to let Ports 80 and 443 (for https) through for MS Access and/or cURL. On 15 Jul 2019 at 14:19, Darren - Active Billing wrote: > Frustratingly - This exact block of text works fine in a Terminal > Session on a Mac > > curl -XPOST -H "Content-type: application/json" -d '{"text": "This is > the Task Name for Task No: 4","description": "This is the Task > Description for Task No: 4","dueDate": "2019-10-07"}' > 'https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E' > > but I can?t get it to run in a Windows command window using some > "curl.exe" executable I grabbed from the web. > > Anyone know how I might get it to run in a batch file? > > Many thanks. > > Darren. > > > On 15/7/19, 1:39 pm, "AccessD on behalf of Darren - Active Billing" > darren at activebilling.com.au> wrote: > > > Ahhh - OK - So it's kind of transacting - OK Many thanks - I will > go and confirm the API Key values > > Just goes to show hee how little I know of this stuff. I assumed > the request hadn't even been parsed. Let alone this error being a > respons (Albeit an unwanted one) > > Many thanks Stuart. > > Darren. > > > On 15/7/19, 1:33 pm, "AccessD on behalf of Stuart McLachlan" > stuart at lexacorp.com.pg> wrote: > > That message means that you are not getting a response bac > from the URL. > > (URL = Uniform RESOURCE locator) > > Without knowing a lot more about > hooks.workast.app/Do7DOEFPZDzAS20cvtt6E, I can't tell why it > is not working. > > > On 15 Jul 2019 at 12:17, Darren - Active Billing wrote: > > > Hi Stuart, > > > > Sorry to harass - Just wondering if I could chase you on > this one > below - Many thanks in advance > > Darren. > > > > > On 13/7/19, 3:57 am, "AccessD on behalf of Darren - Active > Billing" > > darren at activebilling.com.au> wrote: > > Stuart, > > > Thank you so much for replying. Sadly... no joy. > > Also > - realise I have no clue what I am doing here. So I may have > > stuffed something. > > I get an error on the line > "myXMLHTTP.send strPostData" > > Error = "Run-time error > '-2146697211 (800c0005)': "The System > Cannot Locate the > resource specified" > > All I have done since getting your > cool code below is, reference > MSXML6 and Place my URL in > the line you had at: > > myXMLHTTP.Open "POST", > "http://www.example.com/addtask.php", > False > > > with > > myXMLHTTP.Open "POST", > > "https://hooks.workast.app/Do7DOEFPZDzAS20cvtt6E", False > > > Do you have any suggestions? > > Many thanks in advance. > > > Darren. > > > -------------------------------------------------------------- > ---- > --------- > > On 12/7/19, 12:56 pm, "AccessD on > behalf of Stuart McLachlan" > > > stuart at lexacorp.com.pg> wrote: > > ---- Code HTTP > POST------------- > > Option Compare Database > > Option Explicit > > Function GetDBDump() > > 'Requires a reference to Microsoft XML 2.0 or greater > > 'I've use Microsoft XML 6.0 in Office 10. > > Dim > myXMLHTTP As XMLHTTP60 > Set myXMLHTTP = New XMLHTTP60 > > Dim strResult As String > Dim strPostData as > String > strPostData = URLEncode("text=This is > theTask Name for Task > No: 4&description=This is the > Description for Task No: > 4&dueDate:'2019-10-07'") > myXMLHTTP.Open "POST", _ > > "http://www.example.com/addtask.php", False > > myXMLHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 > > (compatible; MSIE 6.0; Windows NT 5.0)" > > myXMLHTTP.setRequestHeader "Content-type", > > "application/x-www-form-urlencoded" myXMLHTTP.send strPostData > > strResult = myXMLHTTP.responsetext debug.print > strResult Set > myXMLHTTP = Nothing End Function > > > > --------------END HTTP POST > > ------------------------------------- > > > -------------URL ENCODE/DECODE > > --------------------------------- > > Public Function > URLEncode(StringToEncode As String, Optional _ > > UsePlusRatherThanHexForSpace As Boolean = False) As String > > > Dim TempAns As String > Dim CurChr As Integer > > CurChr = 1 > Do Until CurChr - 1 = > Len(StringToEncode) > Select Case > Asc(Mid(StringToEncode, CurChr, 1)) > Case 48 To > 57, 65 To 90, 97 To 122 > TempAns = TempAns & > Mid(StringToEncode, CurChr, 1) > Case 32 > > If UsePlusRatherThanHexForSpace = True Then > > TempAns = TempAns & "+" > Else > > TempAns = TempAns & "%" & Hex(32) > End If > > Case Else > TempAns = TempAns & > "%" & _ > > Format(Hex(Asc(Mid(StringToEncode, _ > > CurChr, 1))), "00") > End Select > > CurChr > = CurChr + 1 > Loop > > URLEncode = TempAns > > End Function > > > Public Function > URLDecode(StringToDecode As String) As String > > Dim > TempAns As String > Dim CurChr As Integer > > > CurChr = 1 > > Do Until CurChr - 1 = > Len(StringToDecode) > Select Case > Mid(StringToDecode, CurChr, 1) > Case "+" > > TempAns = TempAns & " " > Case "%" > > TempAns = TempAns & Chr(Val("&h" & _ > > Mid(StringToDecode, CurChr + 1, 2))) > CurChr = > CurChr + 2 > Case Else > TempAns = > TempAns & Mid(StringToDecode, CurChr, 1) > End > Select > > CurChr = CurChr + 1 > Loop > > > URLDecode = TempAns > 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 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 19 11:18:47 2019 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Jul 2019 16:18:47 +0000 Subject: [AccessD] Ranking rows Message-ID: Hi all Yet an article on row numbering, this time on how to rank rows: https://www.experts-exchange.com/articles/33651/Ranking-rows-in-Microsoft-Access.html To rank something isn't that difficult. Basically, it is just to sort on the values to rank - points, goals, sales, citizens, whatever - in descending order or (typically for time) ascending order. But how to rank dupes? Five methods exist, and they can all be implemented in pure SQL or using VBA. If you don't have an account, browse for the link: Read the full article. Code is also on GitHub: https://github.com/GustavBrock/VBA.RowNumbers /gustav From accessd at shaw.ca Fri Jul 19 15:04:27 2019 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 19 Jul 2019 14:04:27 -0600 (MDT) Subject: [AccessD] Ranking rows In-Reply-To: References: Message-ID: <896921123.372105200.1563566667970.JavaMail.zimbra@shaw.ca> Hi Gustav: Very well done. Great piece of code. Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, July 19, 2019 9:18:47 AM Subject: [AccessD] Ranking rows Hi all Yet an article on row numbering, this time on how to rank rows: https://www.experts-exchange.com/articles/33651/Ranking-rows-in-Microsoft-Access.html To rank something isn't that difficult. Basically, it is just to sort on the values to rank - points, goals, sales, citizens, whatever - in descending order or (typically for time) ascending order. But how to rank dupes? Five methods exist, and they can all be implemented in pure SQL or using VBA. If you don't have an account, browse for the link: Read the full article. Code is also on GitHub: https://github.com/GustavBrock/VBA.RowNumbers /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Fri Jul 19 15:44:19 2019 From: jackandpat.d at gmail.com (jack drawbridge) Date: Fri, 19 Jul 2019 16:44:19 -0400 Subject: [AccessD] Ranking rows In-Reply-To: <896921123.372105200.1563566667970.JavaMail.zimbra@shaw.ca> References: <896921123.372105200.1563566667970.JavaMail.zimbra@shaw.ca> Message-ID: Ditto to Jim's comment. Thanks for sharing Gustav. On Fri, Jul 19, 2019 at 4:05 PM Jim Lawrence wrote: > Hi Gustav: > > Very well done. Great piece of code. > > Jim > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Friday, July 19, 2019 9:18:47 AM > Subject: [AccessD] Ranking rows > > Hi all > > Yet an article on row numbering, this time on how to rank rows: > > > https://www.experts-exchange.com/articles/33651/Ranking-rows-in-Microsoft-Access.html > > > To rank something isn't that difficult. Basically, it is just to sort on > the values to rank - points, goals, sales, citizens, whatever - in > descending order or (typically for time) ascending order. > But how to rank dupes? Five methods exist, and they can all be implemented > in pure SQL or using VBA. > > > If you don't have an account, browse for the link: Read the full article. > > Code is also on GitHub: https://github.com/GustavBrock/VBA.RowNumbers > > /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 fhtapia at gmail.com Tue Jul 23 07:35:24 2019 From: fhtapia at gmail.com (fhtapia at gmail.com) Date: Tue, 23 Jul 2019 05:35:24 -0700 Subject: [AccessD] Ranking rows In-Reply-To: References: <896921123.372105200.1563566667970.JavaMail.zimbra@shaw.ca> Message-ID: Kudos On Fri, Jul 19, 2019 at 1:45 PM jack drawbridge wrote: > Ditto to Jim's comment. Thanks for sharing Gustav. > > On Fri, Jul 19, 2019 at 4:05 PM Jim Lawrence wrote: > > > Hi Gustav: > > > > Very well done. Great piece of code. > > > > Jim > > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com> > > Sent: Friday, July 19, 2019 9:18:47 AM > > Subject: [AccessD] Ranking rows > > > > Hi all > > > > Yet an article on row numbering, this time on how to rank rows: > > > > > > > https://www.experts-exchange.com/articles/33651/Ranking-rows-in-Microsoft-Access.html > > > > > > To rank something isn't that difficult. Basically, it is just to sort on > > the values to rank - points, goals, sales, citizens, whatever - in > > descending order or (typically for time) ascending order. > > But how to rank dupes? Five methods exist, and they can all be > implemented > > in pure SQL or using VBA. > > > > > > If you don't have an account, browse for the link: Read the full article. > > > > Code is also on GitHub: https://github.com/GustavBrock/VBA.RowNumbers > > > > /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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From Chester_Kaup at kindermorgan.com Tue Jul 23 13:08:46 2019 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 23 Jul 2019 18:08:46 +0000 Subject: [AccessD] Query sub query not working Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CBB585B906@HOUEX11.kindermorgan.com> This query is asking for input rather than generating any. I have reviewed the table and name fields and must be missing something. Below is the SQL and a portion of the source table. Thanks for your assistance SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion Hierarchy].Hierarchy AS t FROM [tbl Dual Completion Hierarchy] WHERE ((([tbl Dual Completion Hierarchy].Hierarchy) In (SELECT Max([tbl Dual Completion Hierarchy].Hierarchy) from [tbl Dual Completion Hierarchy] as t2 where t2.PID =t.PID))); tbl Dual Completion Hierarchy PID Hierarchy 42415343720000 18 42415343720001 18 42415343820000 5 42415343820001 5 42415343910000 5 42415343910001 5 42415344030000 18 42415344030001 18 42415344070000 17 42415344070001 2 42415344070001 3 42415344080000 5 42415344080000 13 42415344080001 5 42415344080001 13 From paul.hartland at googlemail.com Tue Jul 23 13:17:53 2019 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 23 Jul 2019 19:17:53 +0100 Subject: [AccessD] Query sub query not working In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CBB585B906@HOUEX11.kindermorgan.com> References: <8E16E03987F1FD4FB0A9BEBF7CC160CBB585B906@HOUEX11.kindermorgan.com> Message-ID: Your alias t is on the field & not the table... SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion Hierarchy].Hierarchy AS t FROM [tbl Dual Completion Hierarchy] Should be SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion Hierarchy].Hierarchy FROM [tbl Dual Completion Hierarchy] as t Paul On Tue, 23 Jul 2019, 19:09 Kaup, Chester, wrote: > This query is asking for input rather than generating any. I have reviewed > the table and name fields and must be missing something. Below is the SQL > and a portion of the source table. Thanks for your assistance > > SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion > Hierarchy].Hierarchy AS t > FROM [tbl Dual Completion Hierarchy] > WHERE ((([tbl Dual Completion Hierarchy].Hierarchy) In (SELECT Max([tbl > Dual Completion Hierarchy].Hierarchy) from [tbl Dual Completion Hierarchy] > as t2 where t2.PID =t.PID))); > > tbl Dual Completion Hierarchy > > PID > > Hierarchy > > 42415343720000 > > 18 > > 42415343720001 > > 18 > > 42415343820000 > > 5 > > 42415343820001 > > 5 > > 42415343910000 > > 5 > > 42415343910001 > > 5 > > 42415344030000 > > 18 > > 42415344030001 > > 18 > > 42415344070000 > > 17 > > 42415344070001 > > 2 > > 42415344070001 > > 3 > > 42415344080000 > > 5 > > 42415344080000 > > 13 > > 42415344080001 > > 5 > > 42415344080001 > > 13 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Jul 23 13:24:32 2019 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 23 Jul 2019 18:24:32 +0000 Subject: [AccessD] Query sub query not working In-Reply-To: References: <8E16E03987F1FD4FB0A9BEBF7CC160CBB585B906@HOUEX11.kindermorgan.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CBB585B921@HOUEX11.kindermorgan.com> Thank You! -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Tuesday, July 23, 2019 1:18 PM To: Access List Cc: Paul Hartland Subject: Re: [AccessD] Query sub query not working [This email message was received from the Internet and came from outside of Kinder Morgan] Your alias t is on the field & not the table... SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion Hierarchy].Hierarchy AS t FROM [tbl Dual Completion Hierarchy] Should be SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion Hierarchy].Hierarchy FROM [tbl Dual Completion Hierarchy] as t Paul On Tue, 23 Jul 2019, 19:09 Kaup, Chester, wrote: > This query is asking for input rather than generating any. I have reviewed > the table and name fields and must be missing something. Below is the SQL > and a portion of the source table. Thanks for your assistance > > SELECT [tbl Dual Completion Hierarchy].PID, [tbl Dual Completion > Hierarchy].Hierarchy AS t > FROM [tbl Dual Completion Hierarchy] > WHERE ((([tbl Dual Completion Hierarchy].Hierarchy) In (SELECT Max([tbl > Dual Completion Hierarchy].Hierarchy) from [tbl Dual Completion Hierarchy] > as t2 where t2.PID =t.PID))); > > tbl Dual Completion Hierarchy > > PID > > Hierarchy > > 42415343720000 > > 18 > > 42415343720001 > > 18 > > 42415343820000 > > 5 > > 42415343820001 > > 5 > > 42415343910000 > > 5 > > 42415343910001 > > 5 > > 42415344030000 > > 18 > > 42415344030001 > > 18 > > 42415344070000 > > 17 > > 42415344070001 > > 2 > > 42415344070001 > > 3 > > 42415344080000 > > 5 > > 42415344080000 > > 13 > > 42415344080001 > > 5 > > 42415344080001 > > 13 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com