From jackandpat.d at gmail.com Thu Mar 2 08:50:35 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 2 Mar 2017 09:50:35 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info Message-ID: Hi Group, I've been retired for many years and don't do much with Access or database. I do participate in a few Access related forums. We used ErWin -corporate license way back when working. I have used ErWin Community Edition (free but with several constraints) to build data models to assist posters. Yesterday, I found that the Community Edition was no longer available. Nada. No community edition will be available in future. So my question is -does anyone have/use a free tool to build ERDs. If so, could you recommend same and provide any links to further info. Thanks in advance. jack From charlotte.foust at gmail.com Thu Mar 2 09:04:47 2017 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 2 Mar 2017 07:04:47 -0800 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: It isn't free but low cost: dbSchema. I had to find something after they removed the modelling tools from Visio. Charlotte Foust 916-206-4336 On Mar 2, 2017 6:52 AM, "jack drawbridge" wrote: Hi Group, I've been retired for many years and don't do much with Access or database. I do participate in a few Access related forums. We used ErWin -corporate license way back when working. I have used ErWin Community Edition (free but with several constraints) to build data models to assist posters. Yesterday, I found that the Community Edition was no longer available. Nada. No community edition will be available in future. So my question is -does anyone have/use a free tool to build ERDs. If so, could you recommend same and provide any links to further info. Thanks in advance. jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Mar 2 09:12:42 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 02 Mar 2017 10:12:42 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: <874A82CFC6C249EF9AA36EF967036FB5@XPS> I was looking at dbSchema which Charlotte suggested and tripped over this: https://www.quora.com/What-is-the-best-free-DB-schema-design-tool Suggests a few that you might want to look at depending on the situation. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, March 02, 2017 09:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT- Data model -ERD Tool - request for info Hi Group, I've been retired for many years and don't do much with Access or database. I do participate in a few Access related forums. We used ErWin -corporate license way back when working. I have used ErWin Community Edition (free but with several constraints) to build data models to assist posters. Yesterday, I found that the Community Edition was no longer available. Nada. No community edition will be available in future. So my question is -does anyone have/use a free tool to build ERDs. If so, could you recommend same and provide any links to further info. Thanks in advance. jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Mar 2 09:13:32 2017 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 2 Mar 2017 10:13:32 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: I have used ERwin but far preferred PowerDesigner, developed by Sybase but now apparently owned by SAP. Also, I don't whether this will apply to you, but on Linux there are several good tools, all free. Arthur On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust wrote: > It isn't free but low cost: dbSchema. I had to find something after they > removed the modelling tools from Visio. > > Charlotte Foust > 916-206-4336 > > On Mar 2, 2017 6:52 AM, "jack drawbridge" wrote: > > Hi Group, > > I've been retired for many years and don't do much with Access or database. > I do participate in a few Access related forums. We used ErWin -corporate > license way back when working. > > I have used ErWin Community Edition (free but with several constraints) to > build data models to assist posters. Yesterday, I found that the Community > Edition was no longer available. Nada. No community edition will be > available in future. > > So my question is -does anyone have/use a free tool to build ERDs. If so, > could you recommend same and provide any links to further info. > Thanks in advance. > > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur From jackandpat.d at gmail.com Thu Mar 2 09:40:08 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 2 Mar 2017 10:40:08 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: Thanks folks for the quick responses. Charlotte, I am watching a tutorial on dbSchema, and have looked at MySql workbench. Thanks for the link Jim. I'll check it out. Arthur, I'm not into Linux per se, but will try that route if I can't find a suitable tool for Windows. I really liked Erwin Community edition --even though I only scratched the surface of its functionality. I'm really only dealing with a few tables/entities (10-15 at most) various relationships and ease of use -- oh yes and FREE. Thanks for your responses. jack On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller wrote: > I have used ERwin but far preferred PowerDesigner, developed by Sybase but > now apparently owned by SAP. Also, I don't whether this will apply to you, > but on Linux there are several good tools, all free. > > Arthur > > On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > It isn't free but low cost: dbSchema. I had to find something after > they > > removed the modelling tools from Visio. > > > > Charlotte Foust > > 916-206-4336 > > > > On Mar 2, 2017 6:52 AM, "jack drawbridge" > wrote: > > > > Hi Group, > > > > I've been retired for many years and don't do much with Access or > database. > > I do participate in a few Access related forums. We used ErWin -corporate > > license way back when working. > > > > I have used ErWin Community Edition (free but with several constraints) > to > > build data models to assist posters. Yesterday, I found that the > Community > > Edition was no longer available. Nada. No community edition will be > > available in future. > > > > So my question is -does anyone have/use a free tool to build ERDs. If so, > > could you recommend same and provide any links to further info. > > Thanks in advance. > > > > jack > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Thu Mar 2 14:16:01 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 2 Mar 2017 15:16:01 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: Jim, I did download and try SQL Power Architect. Seems more than adequate for small model. It deals with physical rather than logical, but that's fine. It's hard to be more specific since I just loaded it, watched some youtube and built a Customer-Order-Product model. I will look at other tools at some point. On Thu, Mar 2, 2017 at 10:40 AM, jack drawbridge wrote: > Thanks folks for the quick responses. > Charlotte, I am watching a tutorial on dbSchema, and have looked at MySql > workbench. > Thanks for the link Jim. I'll check it out. > Arthur, I'm not into Linux per se, but will try that route if I can't find > a suitable tool for Windows. > > I really liked Erwin Community edition --even though I only scratched the > surface of its functionality. I'm really only dealing with a few > tables/entities (10-15 at most) various relationships and ease of use -- > oh yes and FREE. > > Thanks for your responses. > jack > > On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller > wrote: > >> I have used ERwin but far preferred PowerDesigner, developed by Sybase but >> now apparently owned by SAP. Also, I don't whether this will apply to you, >> but on Linux there are several good tools, all free. >> >> Arthur >> >> On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < >> charlotte.foust at gmail.com> >> wrote: >> >> > It isn't free but low cost: dbSchema. I had to find something after >> they >> > removed the modelling tools from Visio. >> > >> > Charlotte Foust >> > 916-206-4336 >> > >> > On Mar 2, 2017 6:52 AM, "jack drawbridge" >> wrote: >> > >> > Hi Group, >> > >> > I've been retired for many years and don't do much with Access or >> database. >> > I do participate in a few Access related forums. We used ErWin >> -corporate >> > license way back when working. >> > >> > I have used ErWin Community Edition (free but with several >> constraints) to >> > build data models to assist posters. Yesterday, I found that the >> Community >> > Edition was no longer available. Nada. No community edition will be >> > available in future. >> > >> > So my question is -does anyone have/use a free tool to build ERDs. If >> so, >> > could you recommend same and provide any links to further info. >> > Thanks in advance. >> > >> > jack >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> Arthur >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From pcs.accessd at gmail.com Thu Mar 2 17:18:13 2017 From: pcs.accessd at gmail.com (Borge Hansen) Date: Thu, 2 Mar 2017 23:18:13 +0000 (UTC) Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: Message-ID: <6475BA897AD0BD77.614F1CD8-DC7C-492E-B2E5-D775CBAB4390@mail.outlook.com> There is also Toad.?They have a freeware version.?Have a look at:http://www.toadworld.com/m/freeware/borge? Get Outlook for iOS On Fri, Mar 3, 2017 at 4:18 AM +0800, "jack drawbridge" wrote: Jim, I did download and try SQL Power Architect. Seems more than adequate for small model. It deals with physical rather than logical, but that's fine. It's hard to be more specific since I just loaded it, watched some youtube and built a Customer-Order-Product model. I will look at other tools at some point. On Thu, Mar 2, 2017 at 10:40 AM, jack drawbridge wrote: > Thanks folks for the quick responses. > Charlotte, I am watching a tutorial on dbSchema, and have looked at MySql > workbench. > Thanks for the link Jim. I'll check it out. > Arthur, I'm not into Linux per se, but will try that route if I can't find > a suitable tool for Windows. > > I really liked Erwin Community edition --even though I only scratched the > surface of its functionality. I'm really only dealing with a few > tables/entities (10-15 at most) various relationships and ease of use -- > oh yes and FREE. > > Thanks for your responses. > jack > > On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller > wrote: > >> I have used ERwin but far preferred PowerDesigner, developed by Sybase but >> now apparently owned by SAP. Also, I don't whether this will apply to you, >> but on Linux there are several good tools, all free. >> >> Arthur >> >> On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < >> charlotte.foust at gmail.com> >> wrote: >> >> > It isn't free but low cost: dbSchema. I had to find something after >> they >> > removed the modelling tools from Visio. >> > >> > Charlotte Foust >> > 916-206-4336 >> > >> > On Mar 2, 2017 6:52 AM, "jack drawbridge" >> wrote: >> > >> > Hi Group, >> > >> > I've been retired for many years and don't do much with Access or >> database. >> > I do participate in a few Access related forums. We used ErWin >> -corporate >> > license way back when working. >> > >> > I have used ErWin Community Edition (free but with several >> constraints) to >> > build data models to assist posters. Yesterday, I found that the >> Community >> > Edition was no longer available. Nada. No community edition will be >> > available in future. >> > >> > So my question is -does anyone have/use a free tool to build ERDs. If >> so, >> > could you recommend same and provide any links to further info. >> > Thanks in advance. >> > >> > jack >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> Arthur >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Thu Mar 2 17:44:02 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 2 Mar 2017 18:44:02 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: <6475BA897AD0BD77.614F1CD8-DC7C-492E-B2E5-D775CBAB4390@mail.outlook.com> Message-ID: Borge, I did some more searching and found this link http://www.toadworld.com/m/freeware/553 There is info here on the right side of the page re freeware versions. http://www.toadworld.com/products/toad-data-modeler I do notice DELL on many items. I will try again and download the freeware (32/64?) mainly because it deals with logical and physical models. Thanks again for your response. jack On Thu, Mar 2, 2017 at 6:33 PM, jack drawbridge wrote: > Thanks Borge. I did see Toad and did get a copy of free edition a few > months ago. I found it a little more cumbersome than ErWin community, and > each time I open the free version I meet a screen asking me about Toad. If > I cancel that form, I do get to use the free version. I also find it > difficult to get straight to the free version info. It seems hidden behind > a lot of marketing(possibly because of ownership changes???) I do like that > you can generate an Access database from the data model with Toad. > I do get a warning that my license will expire in XX days??? > I just looked at your link an found the following. > If you have other info on Toad, I would like to try it again. > > Thanks > jack > > On Thu, Mar 2, 2017 at 6:18 PM, Borge Hansen > wrote: > >> There is also Toad. They have a freeware version. Have a look at: >> http://www.toadworld.com/m/freeware/borge >> Get Outlook for iOS >> >> >> >> >> On Fri, Mar 3, 2017 at 4:18 AM +0800, "jack drawbridge" < >> jackandpat.d at gmail.com> wrote: >> >> >> >> >> >> >> >> >> >> >> Jim, >> >> I did download and try SQL Power Architect. Seems more than adequate for >> small model. It deals with physical rather than logical, but that's fine. >> It's hard to be more specific since I just loaded it, watched some youtube >> and built a Customer-Order-Product model. >> I will look at other tools at some point. >> >> On Thu, Mar 2, 2017 at 10:40 AM, jack drawbridge >> wrote: >> >> > Thanks folks for the quick responses. >> > Charlotte, I am watching a tutorial on dbSchema, and have looked at >> MySql >> > workbench. >> > Thanks for the link Jim. I'll check it out. >> > Arthur, I'm not into Linux per se, but will try that route if I can't >> find >> > a suitable tool for Windows. >> > >> > I really liked Erwin Community edition --even though I only scratched >> the >> > surface of its functionality. I'm really only dealing with a few >> > tables/entities (10-15 at most) various relationships and ease of use >> -- >> > oh yes and FREE. >> > >> > Thanks for your responses. >> > jack >> > >> > On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller >> > wrote: >> > >> >> I have used ERwin but far preferred PowerDesigner, developed by Sybase >> but >> >> now apparently owned by SAP. Also, I don't whether this will apply to >> you, >> >> but on Linux there are several good tools, all free. >> >> >> >> Arthur >> >> >> >> On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < >> >> charlotte.foust at gmail.com> >> >> wrote: >> >> >> >> > It isn't free but low cost: dbSchema. I had to find something after >> >> they >> >> > removed the modelling tools from Visio. >> >> > >> >> > Charlotte Foust >> >> > 916-206-4336 >> >> > >> >> > On Mar 2, 2017 6:52 AM, "jack drawbridge" >> >> wrote: >> >> > >> >> > Hi Group, >> >> > >> >> > I've been retired for many years and don't do much with Access or >> >> database. >> >> > I do participate in a few Access related forums. We used ErWin >> >> -corporate >> >> > license way back when working. >> >> > >> >> > I have used ErWin Community Edition (free but with several >> >> constraints) to >> >> > build data models to assist posters. Yesterday, I found that the >> >> Community >> >> > Edition was no longer available. Nada. No community edition will be >> >> > available in future. >> >> > >> >> > So my question is -does anyone have/use a free tool to build ERDs. If >> >> so, >> >> > could you recommend same and provide any links to further info. >> >> > Thanks in advance. >> >> > >> >> > jack >> >> > -- >> >> > AccessD mailing list >> >> > AccessD at databaseadvisors.com >> >> > http://databaseadvisors.com/mailman/listinfo/accessd >> >> > Website: http://www.databaseadvisors.com >> >> > -- >> >> > AccessD mailing list >> >> > AccessD at databaseadvisors.com >> >> > http://databaseadvisors.com/mailman/listinfo/accessd >> >> > Website: http://www.databaseadvisors.com >> >> > >> >> >> >> >> >> >> >> -- >> >> Arthur >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> > >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From jackandpat.d at gmail.com Thu Mar 2 17:49:26 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 2 Mar 2017 18:49:26 -0500 Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: References: <6475BA897AD0BD77.614F1CD8-DC7C-492E-B2E5-D775CBAB4390@mail.outlook.com> Message-ID: Note this is a repost of an earlier attempt. I had an attachment that was too large; canceled, but had already sent a followup with current info re Toad freeware version. - ------ Thanks Borge. I did see Toad and did get a copy of free edition a few months ago. I found it a little more cumbersome than ErWin community, and each time I open the free version I meet a screen asking me about Toad. If I cancel that form, I do get to use the free version. I also find it difficult to get straight to the free version info. It seems hidden behind a lot of marketing(possibly because of ownership changes???) I do like that you can generate an Access database from the data model with Toad. I do get a warning that my license will expire in XX days??? I just looked at your link an found that the page could not be found. . On Thu, Mar 2, 2017 at 6:44 PM, jack drawbridge wrote: > Borge, > > I did some more searching and found this link > http://www.toadworld.com/m/freeware/553 > > There is info here on the right side of the page re freeware versions. > http://www.toadworld.com/products/toad-data-modeler > > I do notice DELL on many items. > I will try again and download the freeware (32/64?) mainly because it > deals with logical and physical models. > > Thanks again for your response. > > jack > > On Thu, Mar 2, 2017 at 6:33 PM, jack drawbridge > wrote: > >> Thanks Borge. I did see Toad and did get a copy of free edition a few >> months ago. I found it a little more cumbersome than ErWin community, and >> each time I open the free version I meet a screen asking me about Toad. If >> I cancel that form, I do get to use the free version. I also find it >> difficult to get straight to the free version info. It seems hidden behind >> a lot of marketing(possibly because of ownership changes???) I do like that >> you can generate an Access database from the data model with Toad. >> I do get a warning that my license will expire in XX days??? >> I just looked at your link an found the following. >> If you have other info on Toad, I would like to try it again. >> >> Thanks >> jack >> >> On Thu, Mar 2, 2017 at 6:18 PM, Borge Hansen >> wrote: >> >>> There is also Toad. They have a freeware version. Have a look at: >>> http://www.toadworld.com/m/freeware/borge >>> Get Outlook for iOS >>> >>> >>> >>> >>> On Fri, Mar 3, 2017 at 4:18 AM +0800, "jack drawbridge" < >>> jackandpat.d at gmail.com> wrote: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Jim, >>> >>> I did download and try SQL Power Architect. Seems more than adequate for >>> small model. It deals with physical rather than logical, but that's fine. >>> It's hard to be more specific since I just loaded it, watched some >>> youtube >>> and built a Customer-Order-Product model. >>> I will look at other tools at some point. >>> >>> On Thu, Mar 2, 2017 at 10:40 AM, jack drawbridge >>> wrote: >>> >>> > Thanks folks for the quick responses. >>> > Charlotte, I am watching a tutorial on dbSchema, and have looked at >>> MySql >>> > workbench. >>> > Thanks for the link Jim. I'll check it out. >>> > Arthur, I'm not into Linux per se, but will try that route if I can't >>> find >>> > a suitable tool for Windows. >>> > >>> > I really liked Erwin Community edition --even though I only scratched >>> the >>> > surface of its functionality. I'm really only dealing with a few >>> > tables/entities (10-15 at most) various relationships and ease of use >>> -- >>> > oh yes and FREE. >>> > >>> > Thanks for your responses. >>> > jack >>> > >>> > On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller >>> > wrote: >>> > >>> >> I have used ERwin but far preferred PowerDesigner, developed by >>> Sybase but >>> >> now apparently owned by SAP. Also, I don't whether this will apply to >>> you, >>> >> but on Linux there are several good tools, all free. >>> >> >>> >> Arthur >>> >> >>> >> On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < >>> >> charlotte.foust at gmail.com> >>> >> wrote: >>> >> >>> >> > It isn't free but low cost: dbSchema. I had to find something >>> after >>> >> they >>> >> > removed the modelling tools from Visio. >>> >> > >>> >> > Charlotte Foust >>> >> > 916-206-4336 >>> >> > >>> >> > On Mar 2, 2017 6:52 AM, "jack drawbridge" >>> >> wrote: >>> >> > >>> >> > Hi Group, >>> >> > >>> >> > I've been retired for many years and don't do much with Access or >>> >> database. >>> >> > I do participate in a few Access related forums. We used ErWin >>> >> -corporate >>> >> > license way back when working. >>> >> > >>> >> > I have used ErWin Community Edition (free but with several >>> >> constraints) to >>> >> > build data models to assist posters. Yesterday, I found that the >>> >> Community >>> >> > Edition was no longer available. Nada. No community edition will be >>> >> > available in future. >>> >> > >>> >> > So my question is -does anyone have/use a free tool to build ERDs. >>> If >>> >> so, >>> >> > could you recommend same and provide any links to further info. >>> >> > Thanks in advance. >>> >> > >>> >> > jack >>> >> > -- >>> >> > AccessD mailing list >>> >> > AccessD at databaseadvisors.com >>> >> > http://databaseadvisors.com/mailman/listinfo/accessd >>> >> > Website: http://www.databaseadvisors.com >>> >> > -- >>> >> > AccessD mailing list >>> >> > AccessD at databaseadvisors.com >>> >> > http://databaseadvisors.com/mailman/listinfo/accessd >>> >> > Website: http://www.databaseadvisors.com >>> >> > >>> >> >>> >> >>> >> >>> >> -- >>> >> Arthur >>> >> -- >>> >> AccessD mailing list >>> >> AccessD at databaseadvisors.com >>> >> http://databaseadvisors.com/mailman/listinfo/accessd >>> >> Website: http://www.databaseadvisors.com >>> >> >>> > >>> > >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> > From accessd at shaw.ca Thu Mar 2 18:16:32 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 2 Mar 2017 17:16:32 -0700 (MST) Subject: [AccessD] OT- Data model -ERD Tool - request for info In-Reply-To: <6475BA897AD0BD77.614F1CD8-DC7C-492E-B2E5-D775CBAB4390@mail.outlook.com> References: <6475BA897AD0BD77.614F1CD8-DC7C-492E-B2E5-D775CBAB4390@mail.outlook.com> Message-ID: <1996821306.50466949.1488500192936.JavaMail.zimbra@shaw.ca> An excellent package. Back in the day, used the package for years and loved it. Jim ----- Original Message ----- From: "Borge Hansen" To: "Access Developers discussion and problem solving" Sent: Thursday, March 2, 2017 3:18:13 PM Subject: Re: [AccessD] OT- Data model -ERD Tool - request for info There is also Toad.?They have a freeware version.?Have a look at:http://www.toadworld.com/m/freeware/borge? Get Outlook for iOS On Fri, Mar 3, 2017 at 4:18 AM +0800, "jack drawbridge" wrote: Jim, I did download and try SQL Power Architect. Seems more than adequate for small model. It deals with physical rather than logical, but that's fine. It's hard to be more specific since I just loaded it, watched some youtube and built a Customer-Order-Product model. I will look at other tools at some point. On Thu, Mar 2, 2017 at 10:40 AM, jack drawbridge wrote: > Thanks folks for the quick responses. > Charlotte, I am watching a tutorial on dbSchema, and have looked at MySql > workbench. > Thanks for the link Jim. I'll check it out. > Arthur, I'm not into Linux per se, but will try that route if I can't find > a suitable tool for Windows. > > I really liked Erwin Community edition --even though I only scratched the > surface of its functionality. I'm really only dealing with a few > tables/entities (10-15 at most) various relationships and ease of use -- > oh yes and FREE. > > Thanks for your responses. > jack > > On Thu, Mar 2, 2017 at 10:13 AM, Arthur Fuller > wrote: > >> I have used ERwin but far preferred PowerDesigner, developed by Sybase but >> now apparently owned by SAP. Also, I don't whether this will apply to you, >> but on Linux there are several good tools, all free. >> >> Arthur >> >> On Thu, Mar 2, 2017 at 10:04 AM, Charlotte Foust < >> charlotte.foust at gmail.com> >> wrote: >> >> > It isn't free but low cost: dbSchema. I had to find something after >> they >> > removed the modelling tools from Visio. >> > >> > Charlotte Foust >> > 916-206-4336 >> > >> > On Mar 2, 2017 6:52 AM, "jack drawbridge" >> wrote: >> > >> > Hi Group, >> > >> > I've been retired for many years and don't do much with Access or >> database. >> > I do participate in a few Access related forums. We used ErWin >> -corporate >> > license way back when working. >> > >> > I have used ErWin Community Edition (free but with several >> constraints) to >> > build data models to assist posters. Yesterday, I found that the >> Community >> > Edition was no longer available. Nada. No community edition will be >> > available in future. >> > >> > So my question is -does anyone have/use a free tool to build ERDs. If >> so, >> > could you recommend same and provide any links to further info. >> > Thanks in advance. >> > >> > jack >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> Arthur >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Mar 3 01:22:22 2017 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Mar 2017 07:22:22 +0000 Subject: [AccessD] OT: Friday humour Message-ID: Hi all At least in Scandinavia we all know about IKEA and all the (not always fair) jokes about the shortcomings of their products. In case you have missed it, this posting from The Postillon is great as it is two-fold - which you'll notice when you study the parts list: http://www.the-postillon.com/2017/01/border-wall-ikea.html Further, which you may not catch, the naming - when read in Swedish - is joking with the typical Swedish pronunciation in "school English" of the English words. As Danes, of course we love that here at the office! /gustav From Salato at ky.gov Fri Mar 3 09:24:45 2017 From: Salato at ky.gov (FW Salato Center) Date: Fri, 3 Mar 2017 15:24:45 +0000 Subject: [AccessD] Automate backup Message-ID: I have a small 2007 database on a shared drive that only a few people access infrequently. I need to upgrade it to 2016, but that shouldn't be too bad. I also want to add a routine that creates a backup automatically when the accdb file is closed - regardless of how it's closed. The db isn't split - I know... I know... but trust me... in this case, it just isn't warranted. The interface now has an option to create a backup, so it shouldn't require a lot of work, but I'm not finding any code snippets for this - everything I've found is old and insanely convoluted. Any help? Susan H. From gustav at cactus.dk Fri Mar 3 09:43:35 2017 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Mar 2017 15:43:35 +0000 Subject: [AccessD] Automate backup Message-ID: Hi Susan You can set up a scheduled task and/or a shortcut that calls a bat file than runs a simple file copy to a shared folder or USB drive. Can't possibly be simpler. That's what we do at several clients. Then encrypt the file, zip it, and FTP it to a server of ours - to have an additional copy. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af FW Salato Center Sendt: 3. marts 2017 16:25 Til: Access Developers discussion and problem solving Emne: [AccessD] Automate backup I have a small 2007 database on a shared drive that only a few people access infrequently. I need to upgrade it to 2016, but that shouldn't be too bad. I also want to add a routine that creates a backup automatically when the accdb file is closed - regardless of how it's closed. The db isn't split - I know... I know... but trust me... in this case, it just isn't warranted. The interface now has an option to create a backup, so it shouldn't require a lot of work, but I'm not finding any code snippets for this - everything I've found is old and insanely convoluted. Any help? Susan H. From charlotte.foust at gmail.com Fri Mar 3 10:36:02 2017 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 3 Mar 2017 08:36:02 -0800 Subject: [AccessD] Automate backup In-Reply-To: References: Message-ID: How about an auto close macro? I'm not sure how you would trigger a task based on the database closing. Charlotte Foust 916-206-4336 On Mar 3, 2017 7:25 AM, "FW Salato Center" wrote: > I have a small 2007 database on a shared drive that only a few people > access infrequently. I need to upgrade it to 2016, but that shouldn't be > too bad. I also want to add a routine that creates a backup automatically > when the accdb file is closed - regardless of how it's closed. The db isn't > split - I know... I know... but trust me... in this case, it just isn't > warranted. > > The interface now has an option to create a backup, so it shouldn't > require a lot of work, but I'm not finding any code snippets for this - > everything I've found is old and insanely convoluted. > > Any help? > > 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 Fri Mar 3 10:53:02 2017 From: jamesbutton at blueyonder.co.uk (James Button) Date: Fri, 3 Mar 2017 16:53:02 -0000 Subject: [AccessD] Automate backup In-Reply-To: References: Message-ID: Depending on the concurrency activities - You may have problems with a .bat or other scheduled process getting access to the file when a particular user closes the file - OK convoluted maybe but what seems to be a simple process is complicated by the OS - A script initiated at the opening of the file - which could be a .cmd script that does the open for the user, and then - either after a set interval, or as the next running task in the script Initiates a backup process such as robocopy? That facility will need to wait, or have a delay loop facility to hold off the processing until it can get exclusive use of the database file And also stop multiple copies of the script from running concurrently, or being scheduled As in once it is scheduled to run all other attempts to start it get ignored, or voided. And - there is then the time when user 1 finished using the file and the backup started so user 2 (or even user 1) cannot immediately access the database. JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, March 3, 2017 4:36 PM To: Access Developers discussion and problem Subject: Re: [AccessD] Automate backup How about an auto close macro? I'm not sure how you would trigger a task based on the database closing. Charlotte Foust 916-206-4336 On Mar 3, 2017 7:25 AM, "FW Salato Center" wrote: > I have a small 2007 database on a shared drive that only a few people > access infrequently. I need to upgrade it to 2016, but that shouldn't be > too bad. I also want to add a routine that creates a backup automatically > when the accdb file is closed - regardless of how it's closed. The db isn't > split - I know... I know... but trust me... in this case, it just isn't > warranted. > > The interface now has an option to create a backup, so it shouldn't > require a lot of work, but I'm not finding any code snippets for this - > everything I've found is old and insanely convoluted. > > Any help? > > 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 rockysmolin at bchacc.com Fri Mar 3 11:19:04 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 3 Mar 2017 09:19:04 -0800 Subject: [AccessD] Automate backup In-Reply-To: References: Message-ID: <006301d29442$42bd4ba0$c837e2e0$@bchacc.com> It would be easy to put a file script Copy in the Click event of your Exit button on the Main Menu or wherever. But I don't know how you'd trap that if they clicked the close window button on the upper right corner. Although you could modify the forms to disable the window close button. HTH R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of FW Salato Center Sent: Friday, March 03, 2017 7:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Automate backup I have a small 2007 database on a shared drive that only a few people access infrequently. I need to upgrade it to 2016, but that shouldn't be too bad. I also want to add a routine that creates a backup automatically when the accdb file is closed - regardless of how it's closed. The db isn't split - I know... I know... but trust me... in this case, it just isn't warranted. The interface now has an option to create a backup, so it shouldn't require a lot of work, but I'm not finding any code snippets for this - everything I've found is old and insanely convoluted. Any help? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Mar 3 12:05:55 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 03 Mar 2017 13:05:55 -0500 Subject: [AccessD] Automate backup In-Reply-To: References: Message-ID: Have to keep in mind though that this can yield an inconsistent backup if the database is in active use. JET doesn't lock the main DB file when someone is in, so this can happen. As JimB talked about in his post, to get a consistent backup, you need some method of ensuring that every one is out, and then making sure no one is in till your done copying the file. But with that said, chances are if you backup in off-hours, the DB will not be active anyway and you'll get a viable backup even if users are still in. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, March 03, 2017 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automate backup Hi Susan You can set up a scheduled task and/or a shortcut that calls a bat file than runs a simple file copy to a shared folder or USB drive. Can't possibly be simpler. That's what we do at several clients. Then encrypt the file, zip it, and FTP it to a server of ours - to have an additional copy. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af FW Salato Center Sendt: 3. marts 2017 16:25 Til: Access Developers discussion and problem solving Emne: [AccessD] Automate backup I have a small 2007 database on a shared drive that only a few people access infrequently. I need to upgrade it to 2016, but that shouldn't be too bad. I also want to add a routine that creates a backup automatically when the accdb file is closed - regardless of how it's closed. The db isn't split - I know... I know... but trust me... in this case, it just isn't warranted. The interface now has an option to create a backup, so it shouldn't require a lot of work, but I'm not finding any code snippets for this - everything I've found is old and insanely convoluted. Any help? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Mar 3 13:35:34 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 3 Mar 2017 12:35:34 -0700 (MST) Subject: [AccessD] OT: Friday humour In-Reply-To: References: Message-ID: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> Hilarious. :-) Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, March 2, 2017 11:22:22 PM Subject: [AccessD] OT: Friday humour Hi all At least in Scandinavia we all know about IKEA and all the (not always fair) jokes about the shortcomings of their products. In case you have missed it, this posting from The Postillon is great as it is two-fold - which you'll notice when you study the parts list: http://www.the-postillon.com/2017/01/border-wall-ikea.html Further, which you may not catch, the naming - when read in Swedish - is joking with the typical Swedish pronunciation in "school English" of the English words. As Danes, of course we love that here at the office! /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Mar 3 14:30:19 2017 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 3 Mar 2017 12:30:19 -0800 Subject: [AccessD] OT: Friday humour In-Reply-To: References: Message-ID: Now the is funny! LOL Charlotte Foust 916-206-4336 On Mar 2, 2017 11:23 PM, "Gustav Brock" wrote: > Hi all > > At least in Scandinavia we all know about IKEA and all the (not always > fair) jokes about the shortcomings of their products. > > In case you have missed it, this posting from The Postillon is great as it > is two-fold - which you'll notice when you study the parts list: > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > Further, which you may not catch, the naming - when read in Swedish - is > joking with the typical Swedish pronunciation in "school English" of the > English words. As Danes, of course we love that here at the office! > > /gustav > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Fri Mar 3 18:22:00 2017 From: jwcolby at gmail.com (John Colby) Date: Fri, 3 Mar 2017 19:22:00 -0500 Subject: [AccessD] OT: Friday humour In-Reply-To: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> Message-ID: <58BA08A8.4060803@Gmail.com> Maybe the one of our political parties could fund an IkeaWall around Washington DC, thus "walling in" the insanity currently emanating from the white house? This might actually work as those inside would likely never be able to figure out how to make a hole in it to escape. We could just wait for a few months, come back and bury the bodies, then start a whole new government. Or perhaps a kickstarter project to pay for the whole thing? And MUCH cheaper than one for the whole border. On 3/3/2017 2:35 PM, Jim Lawrence wrote: > Hilarious. :-) > > Jim > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > Sent: Thursday, March 2, 2017 11:22:22 PM > Subject: [AccessD] OT: Friday humour > > Hi all > > At least in Scandinavia we all know about IKEA and all the (not always fair) jokes about the shortcomings of their products. > > In case you have missed it, this posting from The Postillon is great as it is two-fold - which you'll notice when you study the parts list: > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > Further, which you may not catch, the naming - when read in Swedish - is joking with the typical Swedish pronunciation in "school English" of the English words. As Danes, of course we love that here at the office! > > /gustav -- John W. Colby From tinanfields at torchlake.com Sat Mar 4 10:29:31 2017 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 4 Mar 2017 11:29:31 -0500 Subject: [AccessD] OT: Friday humour In-Reply-To: References: Message-ID: Fun! Thanks, Gustav. T Tina Norris Fields tinanfields-at-torchlake-dot-com 231-322-2787 On 03/03/17 2:22 AM, Gustav Brock wrote: > Hi all > > At least in Scandinavia we all know about IKEA and all the (not always fair) jokes about the shortcomings of their products. > > In case you have missed it, this posting from The Postillon is great as it is two-fold - which you'll notice when you study the parts list: > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > Further, which you may not catch, the naming - when read in Swedish - is joking with the typical Swedish pronunciation in "school English" of the English words. As Danes, of course we love that here at the office! > > /gustav From accessd at shaw.ca Sat Mar 4 13:29:22 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 4 Mar 2017 12:29:22 -0700 (MST) Subject: [AccessD] OT: Friday humour In-Reply-To: <58BA08A8.4060803@Gmail.com> References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> <58BA08A8.4060803@Gmail.com> Message-ID: <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> Good thinking. ;-) Jim ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Friday, March 3, 2017 4:22:00 PM Subject: Re: [AccessD] OT: Friday humour Maybe the one of our political parties could fund an IkeaWall around Washington DC, thus "walling in" the insanity currently emanating from the white house? This might actually work as those inside would likely never be able to figure out how to make a hole in it to escape. We could just wait for a few months, come back and bury the bodies, then start a whole new government. Or perhaps a kickstarter project to pay for the whole thing? And MUCH cheaper than one for the whole border. On 3/3/2017 2:35 PM, Jim Lawrence wrote: > Hilarious. :-) > > Jim > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > Sent: Thursday, March 2, 2017 11:22:22 PM > Subject: [AccessD] OT: Friday humour > > Hi all > > At least in Scandinavia we all know about IKEA and all the (not always fair) jokes about the shortcomings of their products. > > In case you have missed it, this posting from The Postillon is great as it is two-fold - which you'll notice when you study the parts list: > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > Further, which you may not catch, the naming - when read in Swedish - is joking with the typical Swedish pronunciation in "school English" of the English words. As Danes, of course we love that here at the office! > > /gustav -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Sun Mar 5 17:24:24 2017 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 5 Mar 2017 18:24:24 -0500 Subject: [AccessD] OT: Friday humour In-Reply-To: <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> <58BA08A8.4060803@Gmail.com> <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> Message-ID: " assembled with the help of a hex key" Is that for added security? (ie, encryption)? On Sat, Mar 4, 2017 at 2:29 PM, Jim Lawrence wrote: > Good thinking. ;-) > > Jim > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Friday, March 3, 2017 4:22:00 PM > Subject: Re: [AccessD] OT: Friday humour > > Maybe the one of our political parties could fund an IkeaWall around > Washington DC, thus "walling in" the insanity currently emanating from > the white house? This might actually work as those inside would likely > never be able to figure out how to make a hole in it to escape. We > could just wait for a few months, come back and bury the bodies, then > start a whole new government. > > Or perhaps a kickstarter project to pay for the whole thing? And MUCH > cheaper than one for the whole border. > > On 3/3/2017 2:35 PM, Jim Lawrence wrote: > > Hilarious. :-) > > > > Jim > > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > > Sent: Thursday, March 2, 2017 11:22:22 PM > > Subject: [AccessD] OT: Friday humour > > > > Hi all > > > > At least in Scandinavia we all know about IKEA and all the (not always > fair) jokes about the shortcomings of their products. > > > > In case you have missed it, this posting from The Postillon is great as > it is two-fold - which you'll notice when you study the parts list: > > > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > > > Further, which you may not catch, the naming - when read in Swedish - is > joking with the typical Swedish pronunciation in "school English" of the > English words. As Danes, of course we love that here at the office! > > > > /gustav > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Mar 6 12:52:36 2017 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 6 Mar 2017 18:52:36 +0000 Subject: [AccessD] Access 2016 now with BigInt Message-ID: Hi all Should you need to handle BigInt natively with Access: https://blogs.office.com/2017/03/06/new-in-access-2016-large-number-bigint-support/ In Access, BigInt is labelled Large Number. /gustav From accessd at shaw.ca Mon Mar 6 19:01:42 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 Mar 2017 18:01:42 -0700 (MST) Subject: [AccessD] Access 2016 now with BigInt In-Reply-To: References: Message-ID: <676278066.63761461.1488848502495.JavaMail.zimbra@shaw.ca> Progress. :-) Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Monday, March 6, 2017 10:52:36 AM Subject: [AccessD] Access 2016 now with BigInt Hi all Should you need to handle BigInt natively with Access: https://blogs.office.com/2017/03/06/new-in-access-2016-large-number-bigint-support/ In Access, BigInt is labelled Large Number. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Mar 6 19:22:15 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 6 Mar 2017 18:22:15 -0700 (MST) Subject: [AccessD] OT: Friday humour In-Reply-To: References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> <58BA08A8.4060803@Gmail.com> <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> Message-ID: <987743367.63819584.1488849735375.JavaMail.zimbra@shaw.ca> Given this situation, anyone with a hex key in their pocket, near the border, could be arrested for suspicion. ;-) ----- Original Message ----- From: "Bill Benson" To: "Access Developers discussion and problem solving" Sent: Sunday, March 5, 2017 3:24:24 PM Subject: Re: [AccessD] OT: Friday humour " assembled with the help of a hex key" Is that for added security? (ie, encryption)? On Sat, Mar 4, 2017 at 2:29 PM, Jim Lawrence wrote: > Good thinking. ;-) > > Jim > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Friday, March 3, 2017 4:22:00 PM > Subject: Re: [AccessD] OT: Friday humour > > Maybe the one of our political parties could fund an IkeaWall around > Washington DC, thus "walling in" the insanity currently emanating from > the white house? This might actually work as those inside would likely > never be able to figure out how to make a hole in it to escape. We > could just wait for a few months, come back and bury the bodies, then > start a whole new government. > > Or perhaps a kickstarter project to pay for the whole thing? And MUCH > cheaper than one for the whole border. > > On 3/3/2017 2:35 PM, Jim Lawrence wrote: > > Hilarious. :-) > > > > Jim > > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > > Sent: Thursday, March 2, 2017 11:22:22 PM > > Subject: [AccessD] OT: Friday humour > > > > Hi all > > > > At least in Scandinavia we all know about IKEA and all the (not always > fair) jokes about the shortcomings of their products. > > > > In case you have missed it, this posting from The Postillon is great as > it is two-fold - which you'll notice when you study the parts list: > > > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > > > Further, which you may not catch, the naming - when read in Swedish - is > joking with the typical Swedish pronunciation in "school English" of the > English words. As Danes, of course we love that here at the office! > > > > /gustav > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Mar 6 20:48:33 2017 From: marksimms at verizon.net (Mark Simms) Date: Mon, 06 Mar 2017 21:48:33 -0500 Subject: [AccessD] Access 2016 now with BigInt In-Reply-To: References: Message-ID: <000601d296ed$4fe44060$efacc120$@net> First major enhancement in 5 years.....LOL. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Gustav Brock > Sent: Monday, March 06, 2017 1:53 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2016 now with BigInt > > Hi all > > Should you need to handle BigInt natively with Access: > > https://blogs.office.com/2017/03/06/new-in-access-2016-large-number- > bigint-support/ > > In Access, BigInt is labelled Large Number. > > /gustav > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Mon Mar 6 22:24:32 2017 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 6 Mar 2017 20:24:32 -0800 Subject: [AccessD] Access 2016 now with BigInt In-Reply-To: <000601d296ed$4fe44060$efacc120$@net> References: <000601d296ed$4fe44060$efacc120$@net> Message-ID: right? But still... Loss of ADP connectivity Stupid ribbon Stupid interface (vs A2003 and earlier) Still havent fixed old bugs from Access 95/97 such as Send Keys causing weird behavior... On Mon, Mar 6, 2017 at 6:48 PM, Mark Simms wrote: > First major enhancement in 5 years.....LOL. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Gustav Brock > > Sent: Monday, March 06, 2017 1:53 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2016 now with BigInt > > > > Hi all > > > > Should you need to handle BigInt natively with Access: > > > > https://blogs.office.com/2017/03/06/new-in-access-2016-large-number- > > bigint-support/ > > > > In Access, BigInt is labelled Large Number. > > > > /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 df.waters at outlook.com Tue Mar 7 08:37:37 2017 From: df.waters at outlook.com (Dan Waters) Date: Tue, 7 Mar 2017 14:37:37 +0000 Subject: [AccessD] Access 2016 now with BigInt In-Reply-To: References: <000601d296ed$4fe44060$efacc120$@net> Message-ID: Hi David, Several years ago I had a request from a customer to look into modifying their Access system to work across a WAN. Obviously and ADP was a choice. However, I realized that connecting to a SQL Server database using SQL Command language in code was exactly the same work in an MDB as in an ADP. From what I could tell, and ADP was just an MDB with some features missing. For example an ADP would not allow you to add a local table for temp data storage. I had to conclude that ADP's were somehow just a marketing mechanism to show that Access could be used on a WAN. My customer decided to use a Citrix server instead so I never did get to rewrite that system. So if you want to connect to a SQL Server database across a WAN you can still do that! Good Luck! Dan PS - Get a copy of the book 'Microsoft Access Developer's Guide to SQL Server. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Monday, March 06, 2017 22:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2016 now with BigInt right? But still... Loss of ADP connectivity Stupid ribbon Stupid interface (vs A2003 and earlier) Still havent fixed old bugs from Access 95/97 such as Send Keys causing weird behavior... On Mon, Mar 6, 2017 at 6:48 PM, Mark Simms wrote: > First major enhancement in 5 years.....LOL. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Gustav Brock > > Sent: Monday, March 06, 2017 1:53 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2016 now with BigInt > > > > Hi all > > > > Should you need to handle BigInt natively with Access: > > > > https://blogs.office.com/2017/03/06/new-in-access-2016-large-number- > > bigint-support/ > > > > In Access, BigInt is labelled Large Number. > > > > /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 From bensonforums at gmail.com Tue Mar 7 12:43:37 2017 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 7 Mar 2017 13:43:37 -0500 Subject: [AccessD] OT: Friday humour In-Reply-To: <987743367.63819584.1488849735375.JavaMail.zimbra@shaw.ca> References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> <58BA08A8.4060803@Gmail.com> <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> <987743367.63819584.1488849735375.JavaMail.zimbra@shaw.ca> Message-ID: Is that a hex key in your pocket or are you just happy to free me? On Mon, Mar 6, 2017 at 8:22 PM, Jim Lawrence wrote: > Given this situation, anyone with a hex key in their pocket, near the > border, could be arrested for suspicion. ;-) > > ----- Original Message ----- > From: "Bill Benson" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Sunday, March 5, 2017 3:24:24 PM > Subject: Re: [AccessD] OT: Friday humour > > " assembled with the help of a hex key" > > Is that for added security? (ie, encryption)? > > On Sat, Mar 4, 2017 at 2:29 PM, Jim Lawrence wrote: > > > Good thinking. ;-) > > > > Jim > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com> > > Sent: Friday, March 3, 2017 4:22:00 PM > > Subject: Re: [AccessD] OT: Friday humour > > > > Maybe the one of our political parties could fund an IkeaWall around > > Washington DC, thus "walling in" the insanity currently emanating from > > the white house? This might actually work as those inside would likely > > never be able to figure out how to make a hole in it to escape. We > > could just wait for a few months, come back and bury the bodies, then > > start a whole new government. > > > > Or perhaps a kickstarter project to pay for the whole thing? And MUCH > > cheaper than one for the whole border. > > > > On 3/3/2017 2:35 PM, Jim Lawrence wrote: > > > Hilarious. :-) > > > > > > Jim > > > > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com> > > > Sent: Thursday, March 2, 2017 11:22:22 PM > > > Subject: [AccessD] OT: Friday humour > > > > > > Hi all > > > > > > At least in Scandinavia we all know about IKEA and all the (not always > > fair) jokes about the shortcomings of their products. > > > > > > In case you have missed it, this posting from The Postillon is great as > > it is two-fold - which you'll notice when you study the parts list: > > > > > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > > > > > Further, which you may not catch, the naming - when read in Swedish - > is > > joking with the typical Swedish pronunciation in "school English" of the > > English words. As Danes, of course we love that here at the office! > > > > > > /gustav > > > > -- > > John W. Colby > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Mar 7 17:06:45 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 7 Mar 2017 16:06:45 -0700 (MST) Subject: [AccessD] OT: Friday humour In-Reply-To: References: <919147847.53589893.1488569734552.JavaMail.zimbra@shaw.ca> <58BA08A8.4060803@Gmail.com> <1174538091.56650217.1488655762033.JavaMail.zimbra@shaw.ca> <987743367.63819584.1488849735375.JavaMail.zimbra@shaw.ca> Message-ID: <1901747241.67590247.1488928005187.JavaMail.zimbra@shaw.ca> Ha ha ha....brilliant. :-) Jim ----- Original Message ----- From: "Bill Benson" To: "Access Developers discussion and problem solving" Sent: Tuesday, March 7, 2017 10:43:37 AM Subject: Re: [AccessD] OT: Friday humour Is that a hex key in your pocket or are you just happy to free me? On Mon, Mar 6, 2017 at 8:22 PM, Jim Lawrence wrote: > Given this situation, anyone with a hex key in their pocket, near the > border, could be arrested for suspicion. ;-) > > ----- Original Message ----- > From: "Bill Benson" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Sunday, March 5, 2017 3:24:24 PM > Subject: Re: [AccessD] OT: Friday humour > > " assembled with the help of a hex key" > > Is that for added security? (ie, encryption)? > > On Sat, Mar 4, 2017 at 2:29 PM, Jim Lawrence wrote: > > > Good thinking. ;-) > > > > Jim > > > > ----- Original Message ----- > > From: "John Colby" > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com> > > Sent: Friday, March 3, 2017 4:22:00 PM > > Subject: Re: [AccessD] OT: Friday humour > > > > Maybe the one of our political parties could fund an IkeaWall around > > Washington DC, thus "walling in" the insanity currently emanating from > > the white house? This might actually work as those inside would likely > > never be able to figure out how to make a hole in it to escape. We > > could just wait for a few months, come back and bury the bodies, then > > start a whole new government. > > > > Or perhaps a kickstarter project to pay for the whole thing? And MUCH > > cheaper than one for the whole border. > > > > On 3/3/2017 2:35 PM, Jim Lawrence wrote: > > > Hilarious. :-) > > > > > > Jim > > > > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: "Access Developers discussion and problem solving" < > > accessd at databaseadvisors.com> > > > Sent: Thursday, March 2, 2017 11:22:22 PM > > > Subject: [AccessD] OT: Friday humour > > > > > > Hi all > > > > > > At least in Scandinavia we all know about IKEA and all the (not always > > fair) jokes about the shortcomings of their products. > > > > > > In case you have missed it, this posting from The Postillon is great as > > it is two-fold - which you'll notice when you study the parts list: > > > > > > http://www.the-postillon.com/2017/01/border-wall-ikea.html > > > > > > Further, which you may not catch, the naming - when read in Swedish - > is > > joking with the typical Swedish pronunciation in "school English" of the > > English words. As Danes, of course we love that here at the office! > > > > > > /gustav > > > > -- > > John W. Colby > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mar 8 05:09:19 2017 From: darren at activebilling.com.au (Darren - Active Billing) Date: Wed, 08 Mar 2017 22:09:19 +1100 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Message-ID: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> Hi Guys, Waaaaay OT ? but running it up this flagpole, looking for saluters. We are migrating a lot of our services to AWS. So far so good. We are now attempting to install and setup a new instance of Reporting Services on our Windows VM boxes in AWS. Rep Services 2016 SQLServer 2016 (I think) And of course it?s not our strong suit. Does anyone have experience with the setting up of Reporting Services, that may be able to assist? Just spreading the feelers at the moment ? This may turn into a paid consult, if you have the experience. Available this Thursday and Fri Australian time (Sydney). I?m not a member of the other lists, so can someone raise this on OT and any other relevent list? Many thanks in Advance Darren From ssharkins at gmail.com Wed Mar 8 06:11:14 2017 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 8 Mar 2017 07:11:14 -0500 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> Message-ID: <004e01d29805$1729f5d0$457de170$@gmail.com> Darren, by AWS you mean Amazon Web Services and not Access Web Apps, right? Susan H. We are migrating a lot of our services to AWS. So far so good. From darren at activebilling.com.au Wed Mar 8 07:32:16 2017 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 09 Mar 2017 00:32:16 +1100 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <004e01d29805$1729f5d0$457de170$@gmail.com> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <004e01d29805$1729f5d0$457de170$@gmail.com> Message-ID: <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> Hi Susan, Yes, Amazon Web Services. Apologies for not being clear. Though that?s not the super important bit ? the super important bit is to get Reporting Services working (On the VM at AWS) as soon as possible. Thanks heaps Darren From: AccessD on behalf of Susan Harkins Reply-To: Access Developers discussion and problem solving Date: Wednesday, 8 March 2017 11:11 pm To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, by AWS you mean Amazon Web Services and not Access Web Apps, right? Susan H. We are migrating a lot of our services to AWS. So far so good. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Mar 8 07:37:23 2017 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 8 Mar 2017 13:37:23 +0000 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <004e01d29805$1729f5d0$457de170$@gmail.com> <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> Message-ID: <976E500DD0AF35409874A413967BFAECA08AD6E6@EX2K10-MBX5.ads.qub.ac.uk> Darren I have found it to be a fairly simple install when done as part of the SQL Server set up when you are doing the feature selection. Martin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: 08 March 2017 13:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Susan, Yes, Amazon Web Services. Apologies for not being clear. Though that?s not the super important bit ? the super important bit is to get Reporting Services working (On the VM at AWS) as soon as possible. Thanks heaps Darren From: AccessD on behalf of Susan Harkins Reply-To: Access Developers discussion and problem solving Date: Wednesday, 8 March 2017 11:11 pm To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, by AWS you mean Amazon Web Services and not Access Web Apps, right? Susan H. We are migrating a lot of our services to AWS. So far so good. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Mar 8 07:41:01 2017 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 8 Mar 2017 08:41:01 -0500 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <004e01d29805$1729f5d0$457de170$@gmail.com> <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> Message-ID: <00af01d29811$a059a060$e10ce120$@gmail.com> You were clear -- I was just making sure. I think 2013 365 referred to their online services in a similar way so I thought I'd ask. Good luck! Susan H. Hi Susan, Yes, Amazon Web Services. Apologies for not being clear. Though that?s not the super important bit ? the super important bit is to get Reporting Services working (On the VM at AWS) as soon as possible. Thanks heaps Darren From darren at activebilling.com.au Wed Mar 8 07:46:41 2017 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 09 Mar 2017 00:46:41 +1100 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <976E500DD0AF35409874A413967BFAECA08AD6E6@EX2K10-MBX5.ads.qub.ac.uk> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <004e01d29805$1729f5d0$457de170$@gmail.com> <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> <976E500DD0AF35409874A413967BFAECA08AD6E6@EX2K10-MBX5.ads.qub.ac.uk> Message-ID: Hi Martin, Yes, possibly so. Though for us so far, the advised URL in the Reporting Services Config tool is not presenting us with the normal screens we?d expect to see. I suspect not quite using the right URL and maybe permissions. Many thanks. Darren ? Active Billing 0424 696 433 From: AccessD on behalf of Martin Reid Reply-To: Access Developers discussion and problem solving Date: Thursday, 9 March 2017 12:37 am To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren I have found it to be a fairly simple install when done as part of the SQL Server set up when you are doing the feature selection. Martin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: 08 March 2017 13:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Susan, Yes, Amazon Web Services. Apologies for not being clear. Though that?s not the super important bit ? the super important bit is to get Reporting Services working (On the VM at AWS) as soon as possible. Thanks heaps Darren From: AccessD on behalf of Susan Harkins Reply-To: Access Developers discussion and problem solving Date: Wednesday, 8 March 2017 11:11 pm To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, by AWS you mean Amazon Web Services and not Access Web Apps, right? Susan H. We are migrating a lot of our services to AWS. So far so good. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Mar 8 07:55:53 2017 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 8 Mar 2017 13:55:53 +0000 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <004e01d29805$1729f5d0$457de170$@gmail.com> <9D845A93-EDCA-489C-B084-3CFA77855BD7@activebilling.com.au> <976E500DD0AF35409874A413967BFAECA08AD6E6@EX2K10-MBX5.ads.qub.ac.uk> Message-ID: <976E500DD0AF35409874A413967BFAECA08AD73E@EX2K10-MBX5.ads.qub.ac.uk> Mine are as below on SQL Server VM test machine we are setting up Dynamics CRM upgrade on. Web service URL: http://machinename:80/ReportServer (Index page for reporting services) Report Manager URL: http://machinename:80/Reports (opens the management site for reporting services) Martin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: 08 March 2017 13:47 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Martin, Yes, possibly so. Though for us so far, the advised URL in the Reporting Services Config tool is not presenting us with the normal screens we?d expect to see. I suspect not quite using the right URL and maybe permissions. Many thanks. Darren ? Active Billing 0424 696 433 From: AccessD on behalf of Martin Reid Reply-To: Access Developers discussion and problem solving Date: Thursday, 9 March 2017 12:37 am To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren I have found it to be a fairly simple install when done as part of the SQL Server set up when you are doing the feature selection. Martin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: 08 March 2017 13:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Susan, Yes, Amazon Web Services. Apologies for not being clear. Though that?s not the super important bit ? the super important bit is to get Reporting Services working (On the VM at AWS) as soon as possible. Thanks heaps Darren From: AccessD on behalf of Susan Harkins Reply-To: Access Developers discussion and problem solving Date: Wednesday, 8 March 2017 11:11 pm To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, by AWS you mean Amazon Web Services and not Access Web Apps, right? Susan H. We are migrating a lot of our services to AWS. So far so good. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Mar 8 07:58:32 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Mar 2017 08:58:32 -0500 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> Message-ID: <6FFFB3F392224B31A5D95AF38794EA57@XPS> Darren, Can't help out on the reporting services, but I'd like to pick your brain a bit on the AWS. I've been looking at it for a client for a cloud move at gustav's suggestion, but am thoroughly confused over their offerings and how it all works exactly. Information on the site itself really doesn't help, and I've been unable to locate any contact info to call about it. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Wednesday, March 08, 2017 06:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Guys, Waaaaay OT - but running it up this flagpole, looking for saluters. We are migrating a lot of our services to AWS. So far so good. We are now attempting to install and setup a new instance of Reporting Services on our Windows VM boxes in AWS. Rep Services 2016 SQLServer 2016 (I think) And of course it's not our strong suit. Does anyone have experience with the setting up of Reporting Services, that may be able to assist? Just spreading the feelers at the moment - This may turn into a paid consult, if you have the experience. Available this Thursday and Fri Australian time (Sydney). I'm not a member of the other lists, so can someone raise this on OT and any other relevent list? Many thanks in Advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Mar 8 08:29:39 2017 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Mar 2017 14:29:39 +0000 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Message-ID: Hi Jim Yes, AWS is not easy, I find Azure much more user friendly. I guess you have been looking for EC2: https://aws.amazon.com/ec2/pricing/on-demand/ /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Jim Dettman Sendt: 8. marts 2017 14:59 Til: 'Access Developers discussion and problem solving' Emne: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, Can't help out on the reporting services, but I'd like to pick your brain a bit on the AWS. I've been looking at it for a client for a cloud move at gustav's suggestion, but am thoroughly confused over their offerings and how it all works exactly. Information on the site itself really doesn't help, and I've been unable to locate any contact info to call about it. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Wednesday, March 08, 2017 06:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Guys, Waaaaay OT - but running it up this flagpole, looking for saluters. We are migrating a lot of our services to AWS. So far so good. We are now attempting to install and setup a new instance of Reporting Services on our Windows VM boxes in AWS. Rep Services 2016 SQLServer 2016 (I think) And of course it's not our strong suit. Does anyone have experience with the setting up of Reporting Services, that may be able to assist? Just spreading the feelers at the moment - This may turn into a paid consult, if you have the experience. Available this Thursday and Fri Australian time (Sydney). I'm not a member of the other lists, so can someone raise this on OT and any other relevent list? Many thanks in Advance Darren From rockysmolin at bchacc.com Wed Mar 8 11:23:04 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 8 Mar 2017 09:23:04 -0800 Subject: [AccessD] FW: Searchable online In-Reply-To: References: Message-ID: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> Dear List(s): My son who is in a doctorate program in Psych send the following email asking for advice from me and his uber-geek brother. He writes: I need help -- it may be impossible, but if anyone could do it, you guys can. When I Google my full name there are dozens of results that give info like my age, full names of family members, past places of residence, etc. Since I am working with the public and could possibly next year be working with psychiatric hospital patients (yikes), I'd like to hide or remove as many of them as possible. Or is there a way to ask for a filter on Google search so the results don't show up and people have to go directly to the URL to see them? Thoughts? His brother posted the following advice: Cleaning up personal Google search results is exceedingly difficult. Google allows no native way to do this, and so it's effectively impossible without going to each site individually. So it ultimately depends on what you want to clean up. There are two time-tested ways of cleaning up personal information: - Start creating content that replaces it in search results online. This doesn't erase personal info, but it sure does bury it. - For each entry, go through that particular site's routes for permanently deleting your account. It may also be useful to set up a Google Alert on your name and contact info. You'll get an email from Google whenever they appear somewhere online. So I?m wondering what other advice anyone here might have which may also be useful for the rest of us. I thank you all in advance and will forward any of your advice to both of them. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From jimdettman at verizon.net Wed Mar 8 11:36:19 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Mar 2017 12:36:19 -0500 Subject: [AccessD] FW: Searchable online In-Reply-To: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> References: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> Message-ID: <86BAEDFD3EF34714B6B06A27D830F5F5@XPS> It's impossible. Google is pulling from many sites out on the net and keep in mind that there are other search engines. You'd have to request that each site remove that information and many would not since that information is mined from public data. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, March 08, 2017 12:23 PM To: 'Access Developers discussion and problem solving'; List; 'Off Topic' Subject: [AccessD] FW: Searchable online Dear List(s): My son who is in a doctorate program in Psych send the following email asking for advice from me and his uber-geek brother. He writes: I need help -- it may be impossible, but if anyone could do it, you guys can. When I Google my full name there are dozens of results that give info like my age, full names of family members, past places of residence, etc. Since I am working with the public and could possibly next year be working with psychiatric hospital patients (yikes), I'd like to hide or remove as many of them as possible. Or is there a way to ask for a filter on Google search so the results don't show up and people have to go directly to the URL to see them? Thoughts? His brother posted the following advice: Cleaning up personal Google search results is exceedingly difficult. Google allows no native way to do this, and so it's effectively impossible without going to each site individually. So it ultimately depends on what you want to clean up. There are two time-tested ways of cleaning up personal information: - Start creating content that replaces it in search results online. This doesn't erase personal info, but it sure does bury it. - For each entry, go through that particular site's routes for permanently deleting your account. It may also be useful to set up a Google Alert on your name and contact info. You'll get an email from Google whenever they appear somewhere online. So I'm wondering what other advice anyone here might have which may also be useful for the rest of us. I thank you all in advance and will forward any of your advice to both of them. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Mar 8 15:44:01 2017 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 8 Mar 2017 13:44:01 -0800 Subject: [AccessD] Access 2016 now with BigInt In-Reply-To: References: <000601d296ed$4fe44060$efacc120$@net> Message-ID: I liked ADPs because all the tables and queries (actually views and stored procedures) were in SQL and Access was for forms and reports. Yes, I can connect to SQL from an mdb or accdb, but it was so much simpler via an adp, especially with stuff like cascading combo boxes and list boxes. No need to first modify a query def before calling a pass through query. I think I was one of the few people that used them and liked them. There were many other reasons, but no used crying over that spilled milk. and I still dislike the A2007 + interface. <2003 was so much better IMO. D On Tue, Mar 7, 2017 at 6:37 AM, Dan Waters wrote: > Hi David, > > Several years ago I had a request from a customer to look into modifying > their Access system to work across a WAN. Obviously and ADP was a choice. > However, I realized that connecting to a SQL Server database using SQL > Command language in code was exactly the same work in an MDB as in an ADP. > From what I could tell, and ADP was just an MDB with some features > missing. For example an ADP would not allow you to add a local table for > temp data storage. I had to conclude that ADP's were somehow just a > marketing mechanism to show that Access could be used on a WAN. My > customer decided to use a Citrix server instead so I never did get to > rewrite that system. > > So if you want to connect to a SQL Server database across a WAN you can > still do that! > > Good Luck! > Dan > > PS - Get a copy of the book 'Microsoft Access Developer's Guide to SQL > Server. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David McAfee > Sent: Monday, March 06, 2017 22:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2016 now with BigInt > > right? > > But still... > > Loss of ADP connectivity > > Stupid ribbon > > Stupid interface (vs A2003 and earlier) > > Still havent fixed old bugs from Access 95/97 such as Send Keys causing > weird behavior... > > On Mon, Mar 6, 2017 at 6:48 PM, Mark Simms wrote: > > > First major enhancement in 5 years.....LOL. > > > > > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > > Behalf Of Gustav Brock > > > Sent: Monday, March 06, 2017 1:53 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Access 2016 now with BigInt > > > > > > Hi all > > > > > > Should you need to handle BigInt natively with Access: > > > > > > https://blogs.office.com/2017/03/06/new-in-access-2016-large-number- > > > bigint-support/ > > > > > > In Access, BigInt is labelled Large Number. > > > > > > /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 > > -- > 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 Mar 8 16:44:01 2017 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 09 Mar 2017 09:44:01 +1100 Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM In-Reply-To: <6FFFB3F392224B31A5D95AF38794EA57@XPS> References: <9CB65DB7-AC0E-48FC-94AC-6759404CC844@activebilling.com.au> <6FFFB3F392224B31A5D95AF38794EA57@XPS> Message-ID: Hi Jim, Sorry to say I?ve had nothing to do with the AWS Side of things. More nerdier nerds than me are looking after that. D From: AccessD on behalf of Jim Dettman Reply-To: Access Developers discussion and problem solving Date: Thursday, 9 March 2017 12:58 am To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Darren, Can't help out on the reporting services, but I'd like to pick your brain a bit on the AWS. I've been looking at it for a client for a cloud move at gustav's suggestion, but am thoroughly confused over their offerings and how it all works exactly. Information on the site itself really doesn't help, and I've been unable to locate any contact info to call about it. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren - Active Billing Sent: Wednesday, March 08, 2017 06:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Reporting Services 2016 Setup in AWS on Windows VM Hi Guys, Waaaaay OT - but running it up this flagpole, looking for saluters. We are migrating a lot of our services to AWS. So far so good. We are now attempting to install and setup a new instance of Reporting Services on our Windows VM boxes in AWS. Rep Services 2016 SQLServer 2016 (I think) And of course it's not our strong suit. Does anyone have experience with the setting up of Reporting Services, that may be able to assist? Just spreading the feelers at the moment - This may turn into a paid consult, if you have the experience. Available this Thursday and Fri Australian time (Sydney). I'm not a member of the other lists, so can someone raise this on OT and any other relevent list? 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 jwcolby at gmail.com Wed Mar 8 17:28:04 2017 From: jwcolby at gmail.com (John Colby) Date: Wed, 8 Mar 2017 18:28:04 -0500 Subject: [AccessD] FW: Searchable online In-Reply-To: <86BAEDFD3EF34714B6B06A27D830F5F5@XPS> References: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> <86BAEDFD3EF34714B6B06A27D830F5F5@XPS> Message-ID: <58C09384.2000805@Gmail.com> LOL move to Europe? On 3/8/2017 12:36 PM, Jim Dettman wrote: > It's impossible. > > Google is pulling from many sites out on the net and keep in mind that > there are other search engines. > > You'd have to request that each site remove that information and many would > not since that information is mined from public data. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin > Sent: Wednesday, March 08, 2017 12:23 PM > To: 'Access Developers discussion and problem solving'; List; 'Off Topic' > Subject: [AccessD] FW: Searchable online > > > > Dear List(s): > > > > My son who is in a doctorate program in Psych send the following email > asking for advice from me and his uber-geek brother. He writes: > > > > I need help -- it may be impossible, but if anyone could do it, you guys > can. > > > > When I Google my full name there are dozens of results that give info like > my age, full names of family members, past places of residence, etc. Since I > am working with the public and could possibly next year be working with > psychiatric hospital patients (yikes), I'd like to hide or remove as many of > them as possible. Or is there a way to ask for a filter on Google search so > the results don't show up and people have to go directly to the URL to see > them? > > > > Thoughts? > > > > > > His brother posted the following advice: > > > > Cleaning up personal Google search results is exceedingly difficult. Google > allows no native way to do this, and so it's effectively impossible without > going to each site individually. So it ultimately depends on what you want > to clean up. > > > > There are two time-tested ways of cleaning up personal information: > > > > - Start creating content that replaces it in search results online. This > doesn't erase personal info, but it sure does bury it. > > - For each entry, go through that particular site's routes for permanently > deleting your account. > > > > It may also be useful to set up a Google Alert on your name and contact > info. You'll get an email from Google whenever they appear somewhere > online. > > > > So I'm wondering what other advice anyone here might have which may also be > useful for the rest of us. > > > > I thank you all in advance and will forward any of your advice to both of > them. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > -- John W. Colby From rockysmolin at bchacc.com Wed Mar 8 18:15:57 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 8 Mar 2017 16:15:57 -0800 Subject: [AccessD] FW: Searchable online In-Reply-To: <58C09384.2000805@Gmail.com> References: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> <86BAEDFD3EF34714B6B06A27D830F5F5@XPS> <58C09384.2000805@Gmail.com> Message-ID: <001501d2986a$533519f0$f99f4dd0$@bchacc.com> Nah. They got the internets in Europe too. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, March 08, 2017 3:28 PM To: Access Developers discussion and problem solving; 'List'; 'Off Topic' Subject: Re: [AccessD] FW: Searchable online LOL move to Europe? On 3/8/2017 12:36 PM, Jim Dettman wrote: > It's impossible. > > Google is pulling from many sites out on the net and keep in mind > that there are other search engines. > > You'd have to request that each site remove that information and > many would not since that information is mined from public data. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin > Sent: Wednesday, March 08, 2017 12:23 PM > To: 'Access Developers discussion and problem solving'; List; 'Off Topic' > Subject: [AccessD] FW: Searchable online > > > > Dear List(s): > > > > My son who is in a doctorate program in Psych send the following email > asking for advice from me and his uber-geek brother. He writes: > > > > I need help -- it may be impossible, but if anyone could do it, you > guys can. > > > > When I Google my full name there are dozens of results that give info > like my age, full names of family members, past places of residence, > etc. Since I am working with the public and could possibly next year > be working with psychiatric hospital patients (yikes), I'd like to > hide or remove as many of them as possible. Or is there a way to ask > for a filter on Google search so the results don't show up and people > have to go directly to the URL to see them? > > > > Thoughts? > > > > > > His brother posted the following advice: > > > > Cleaning up personal Google search results is exceedingly difficult. > Google allows no native way to do this, and so it's effectively > impossible without going to each site individually. So it ultimately > depends on what you want to clean up. > > > > There are two time-tested ways of cleaning up personal information: > > > > - Start creating content that replaces it in search results online. > This doesn't erase personal info, but it sure does bury it. > > - For each entry, go through that particular site's routes for > permanently deleting your account. > > > > It may also be useful to set up a Google Alert on your name and > contact info. You'll get an email from Google whenever they appear > somewhere online. > > > > So I'm wondering what other advice anyone here might have which may > also be useful for the rest of us. > > > > I thank you all in advance and will forward any of your advice to both > of them. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Mar 8 21:22:42 2017 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 9 Mar 2017 03:22:42 +0000 Subject: [AccessD] FW: Searchable online In-Reply-To: <001501d2986a$533519f0$f99f4dd0$@bchacc.com> References: <01d501d29830$a54154a0$efc3fde0$@bchacc.com> <86BAEDFD3EF34714B6B06A27D830F5F5@XPS> <58C09384.2000805@Gmail.com> <001501d2986a$533519f0$f99f4dd0$@bchacc.com> Message-ID: But they also have better privacy laws too.... <> <> -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 9 March, 2017 11:16 AM To: 'Access Developers discussion and problem solving' ; 'List' ; 'Off Topic' Subject: Re: [AccessD] FW: Searchable online Nah. They got the internets in Europe too. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, March 08, 2017 3:28 PM To: Access Developers discussion and problem solving; 'List'; 'Off Topic' Subject: Re: [AccessD] FW: Searchable online LOL move to Europe? On 3/8/2017 12:36 PM, Jim Dettman wrote: > It's impossible. > > Google is pulling from many sites out on the net and keep in mind > that there are other search engines. > > You'd have to request that each site remove that information and > many would not since that information is mined from public data. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin > Sent: Wednesday, March 08, 2017 12:23 PM > To: 'Access Developers discussion and problem solving'; List; 'Off Topic' > Subject: [AccessD] FW: Searchable online > > > > Dear List(s): > > > > My son who is in a doctorate program in Psych send the following email > asking for advice from me and his uber-geek brother. He writes: > > > > I need help -- it may be impossible, but if anyone could do it, you > guys can. > > > > When I Google my full name there are dozens of results that give info > like my age, full names of family members, past places of residence, > etc. Since I am working with the public and could possibly next year > be working with psychiatric hospital patients (yikes), I'd like to > hide or remove as many of them as possible. Or is there a way to ask > for a filter on Google search so the results don't show up and people > have to go directly to the URL to see them? > > > > Thoughts? > > > > > > His brother posted the following advice: > > > > Cleaning up personal Google search results is exceedingly difficult. > Google allows no native way to do this, and so it's effectively > impossible without going to each site individually. So it ultimately > depends on what you want to clean up. > > > > There are two time-tested ways of cleaning up personal information: > > > > - Start creating content that replaces it in search results online. > This doesn't erase personal info, but it sure does bury it. > > - For each entry, go through that particular site's routes for > permanently deleting your account. > > > > It may also be useful to set up a Google Alert on your name and > contact info. You'll get an email from Google whenever they appear > somewhere online. > > > > So I'm wondering what other advice anyone here might have which may > also be useful for the rest of us. > > > > I thank you all in advance and will forward any of your advice to both > of them. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Mar 9 02:20:04 2017 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 9 Mar 2017 08:20:04 +0000 Subject: [AccessD] FW: Searchable online Message-ID: Hi Rocky Indeed. And we (or most of us) have the EU as well who keep a tight focus on the doings and misbehaviour of the mega corporations. As recent as this week there has been a hefty discussion about Google as it was brought public that they keep - and use - your location data for 10 years or more. Of course, it's only to be able to provide you a better service, they claim. I don't have an Android device. I'll stick with my Windows Phone. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Darryl Collins Sendt: 9. marts 2017 04:23 Til: Access Developers discussion and problem solving ; 'List' ; 'Off Topic' Emne: Re: [AccessD] FW: Searchable online But they also have better privacy laws too.... <> <> -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 9 March, 2017 11:16 AM To: 'Access Developers discussion and problem solving' ; 'List' ; 'Off Topic' Subject: Re: [AccessD] FW: Searchable online Nah. They got the internets in Europe too. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, March 08, 2017 3:28 PM To: Access Developers discussion and problem solving; 'List'; 'Off Topic' Subject: Re: [AccessD] FW: Searchable online LOL move to Europe? On 3/8/2017 12:36 PM, Jim Dettman wrote: > It's impossible. > > Google is pulling from many sites out on the net and keep in mind > that there are other search engines. > > You'd have to request that each site remove that information and > many would not since that information is mined from public data. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin > Sent: Wednesday, March 08, 2017 12:23 PM > To: 'Access Developers discussion and problem solving'; List; 'Off Topic' > Subject: [AccessD] FW: Searchable online > > > > Dear List(s): > > > > My son who is in a doctorate program in Psych send the following email > asking for advice from me and his uber-geek brother. He writes: > > > > I need help -- it may be impossible, but if anyone could do it, you > guys can. > > > > When I Google my full name there are dozens of results that give info > like my age, full names of family members, past places of residence, > etc. Since I am working with the public and could possibly next year > be working with psychiatric hospital patients (yikes), I'd like to > hide or remove as many of them as possible. Or is there a way to ask > for a filter on Google search so the results don't show up and people > have to go directly to the URL to see them? > > > > Thoughts? > > > > > > His brother posted the following advice: > > > > Cleaning up personal Google search results is exceedingly difficult. > Google allows no native way to do this, and so it's effectively > impossible without going to each site individually. So it ultimately > depends on what you want to clean up. > > > > There are two time-tested ways of cleaning up personal information: > > > > - Start creating content that replaces it in search results online. > This doesn't erase personal info, but it sure does bury it. > > - For each entry, go through that particular site's routes for > permanently deleting your account. > > > > It may also be useful to set up a Google Alert on your name and > contact info. You'll get an email from Google whenever they appear > somewhere online. > > > > So I'm wondering what other advice anyone here might have which may > also be useful for the rest of us. > > > > I thank you all in advance and will forward any of your advice to both > of them. > > > > MTIA From rockysmolin at bchacc.com Thu Mar 9 13:45:23 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Mar 2017 11:45:23 -0800 Subject: [AccessD] Combo box not displaying 6 numbers Message-ID: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From newsgrps at dalyn.co.nz Thu Mar 9 14:27:52 2017 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 10 Mar 2017 09:27:52 +1300 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> Message-ID: <001801d29913$a0f6c180$e2e44480$@dalyn.co.nz> Hi Rocky, Have you checked Options ... Current database ... Don't display lists where more than this number of records read? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 10 March 2017 8:45 a.m. To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Combo box not displaying 6 numbers Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Mar 9 15:45:21 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 09 Mar 2017 16:45:21 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> Message-ID: <8F6147E9CABE420FB039A02DC42A6CC3@XPS> Rocky, The limit on a combo's rows is 64K (65535). Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, March 09, 2017 02:45 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Combo box not displaying 6 numbers Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Mar 9 17:25:11 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Mar 2017 15:25:11 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <001801d29913$a0f6c180$e2e44480$@dalyn.co.nz> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <001801d29913$a0f6c180$e2e44480$@dalyn.co.nz> Message-ID: <011d01d2992c$66728e40$3357aac0$@bchacc.com> I didn't know about that - it was set at 1000. But when I upped it to 100,000 and then to 200,000 it made no difference. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, March 09, 2017 12:28 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: Re: [AccessD] Combo box not displaying 6 numbers Hi Rocky, Have you checked Options ... Current database ... Don't display lists where more than this number of records read? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 10 March 2017 8:45 a.m. To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Combo box not displaying 6 numbers Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Mar 9 17:30:49 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Mar 2017 15:30:49 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <8F6147E9CABE420FB039A02DC42A6CC3@XPS> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> Message-ID: <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> Well that sucks :/ But probably explains it. The last number is row 65912 which is close enough. I once had this situation and I had to write a routine with every key press of the combo box to requery based on what had already been entered. That was back in Access 97. Hope I don't have to do it on this one. It was a PITA. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, March 09, 2017 1:45 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: Re: [AccessD] Combo box not displaying 6 numbers Rocky, The limit on a combo's rows is 64K (65535). Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, March 09, 2017 02:45 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Combo box not displaying 6 numbers Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Mar 9 17:31:36 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Mar 2017 15:31:36 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <8F6147E9CABE420FB039A02DC42A6CC3@XPS> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> Message-ID: <012b01d2992d$4bbab130$e3301390$@bchacc.com> P.S. Thanks for the heads up on that. Best, Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, March 09, 2017 1:45 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: Re: [AccessD] Combo box not displaying 6 numbers Rocky, The limit on a combo's rows is 64K (65535). Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, March 09, 2017 02:45 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: [AccessD] Combo box not displaying 6 numbers Dear List(s): I have a very simply two column combo box based on a query. First column is the PK, second column is a case number. The range of case numbers is 1001 through 162956. The bound column is 1 and the column widths are 0";2" However the dropped down list only lists up to the last 5 digit case number - 99999. The rest of the numbers which are six digits do not show in the dropped down list. When I run the query by itself all the records including ones with 6 digit case numbers are retrieved. If I enter a six digit case number into the combo box it is accepted even though it does not auto fill. The case number in the table is Long Integer. And I am stumped. Any ideas? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Mar 9 19:55:45 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 09 Mar 2017 20:55:45 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> Message-ID: Yes, that would be the work around. Allen shows that here: http://allenbrowne.com/ser-32.html Jim Sent from my iPhone > On Mar 9, 2017, at 6:30 PM, Rocky Smolin wrote: > > Well that sucks :/ But probably explains it. The last number is row 65912 > which is close enough. > > I once had this situation and I had to write a routine with every key press > of the combo box to requery based on what had already been entered. That > was back in Access 97. > > Hope I don't have to do it on this one. It was a PITA. > > R > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Dettman > Sent: Thursday, March 09, 2017 1:45 PM > To: 'Access Developers discussion and problem solving'; 'Off Topic' > Subject: Re: [AccessD] Combo box not displaying 6 numbers > > > Rocky, > > The limit on a combo's rows is 64K (65535). > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin > Sent: Thursday, March 09, 2017 02:45 PM > To: 'Access Developers discussion and problem solving'; 'Off Topic' > Subject: [AccessD] Combo box not displaying 6 numbers > > Dear List(s): > > > > I have a very simply two column combo box based on a query. First column is > the PK, second column is a case number. > > The range of case numbers is 1001 through 162956. The bound column is 1 and > the column widths are 0";2" > > > > However the dropped down list only lists up to the last 5 digit case number > - 99999. The rest of the numbers which are six digits do not show in the > dropped down list. > > > > When I run the query by itself all the records including ones with 6 digit > case numbers are retrieved. > > > > If I enter a six digit case number into the combo box it is accepted even > though it does not auto fill. > > > > The case number in the table is Long Integer. > > > > And I am stumped. Any ideas? > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bensonforums at gmail.com Thu Mar 9 21:14:09 2017 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 9 Mar 2017 22:14:09 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> Message-ID: How about using 2 combos, or one and a textbox. The first is where you enter the number from 1 to 163, the 2nd combo then filters to items ending the full sequence. From rockysmolin at bchacc.com Thu Mar 9 22:21:09 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 9 Mar 2017 20:21:09 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> Message-ID: <016c01d29955$bf11f260$3d35d720$@bchacc.com> That might do. Depends on how the user wants it to behave. I'll have to ask. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Thursday, March 09, 2017 7:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo box not displaying 6 numbers How about using 2 combos, or one and a textbox. The first is where you enter the number from 1 to 163, the 2nd combo then filters to items ending the full sequence. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Thu Mar 9 22:54:13 2017 From: bensonforums at gmail.com (Bill Benson) Date: Thu, 9 Mar 2017 23:54:13 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <016c01d29955$bf11f260$3d35d720$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <016c01d29955$bf11f260$3d35d720$@bchacc.com> Message-ID: I would tend to think performance would be an issue since I doubt you can "filter" a combo rowsource, so much as adapt/change the rowsource on the change event of the 1st control. If I were implementing it and it was running slowly, I would probably check in thr change event for presence of 3 characters (thus for 1001 must enter 001 in 1st control)... even then, if the user wants to edit 123 to say 145, they should delete the entire 123 before entering 145, or else if they delete the 2 and make it 4 they would issue an unnecessary request on 143 before deleting the 3 and putting 5. >From my non-flammable Note 3, Bill Benson On Mar 9, 2017 11:22 PM, "Rocky Smolin" wrote: > That might do. Depends on how the user wants it to behave. I'll have to > ask. > > R > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Thursday, March 09, 2017 7:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Combo box not displaying 6 numbers > > How about using 2 combos, or one and a textbox. The first is where you > enter > the number from 1 to 163, the 2nd combo then filters to items ending the > full sequence. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Fri Mar 10 05:45:05 2017 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 10 Mar 2017 06:45:05 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> Message-ID: <00bd01d29993$c388a440$4a99ecc0$@gmail.com> Rocky... I can't help but ask, why are you using combo? Is it really necessary to present this list in this way? Susan H. Yes, that would be the work around. Allen shows that here: http://allenbrowne.com/ser-32.html > Well that sucks :/ But probably explains it. The last number is row > 65912 which is close enough. > > I once had this situation and I had to write a routine with every key > press of the combo box to requery based on what had already been > entered. That was back in Access 97. > > Hope I don't have to do it on this one. It was a PITA. > > The limit on a combo's rows is 64K (65535). > From jimdettman at verizon.net Fri Mar 10 07:16:32 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Mar 2017 08:16:32 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <00bd01d29993$c388a440$4a99ecc0$@gmail.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> <00bd01d29993$c388a440$4a99ecc0$@gmail.com> Message-ID: <6B02C77401E74C089831895DB88FBD49@XPS> That is always the inevitable question But I think most end up here because that want the type ahead, which you don't easily get with using something like a continuous form, and then you end up with a larger data set than you anticipated over time. I actually see this quite often on Experts-Exchange and other places. If he wants to keep using the combo, then some type of filtering needs to be done obviously. Can be something like Bill suggested, using the technique that Allen showed, or possibly filter buttons (ie. a phone book list with 26 filter buttons, one for each letter). You can use a continuous form and a text control to emulate a combo BTW, it's just that you need to do the all the work for the lookup as you type functionality. Probably better off to filter in some way with a combo. One other suggestion on that; if the data set is based on dates at all (ie. transaction), then I'll often filter with a "Back to" date and default it to one year. That usually suffices to keep the data set relatively small and yet allows the user to go back further if they need to, which usually doesn't happen all that often. Not sure that would work here though because if they want to go back to the beginning of time, then the combo's not going to handle it once again. Maybe a To/From date range and a message box when the combo overfills. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 10, 2017 06:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo box not displaying 6 numbers Rocky... I can't help but ask, why are you using combo? Is it really necessary to present this list in this way? Susan H. Yes, that would be the work around. Allen shows that here: http://allenbrowne.com/ser-32.html > Well that sucks :/ But probably explains it. The last number is row > 65912 which is close enough. > > I once had this situation and I had to write a routine with every key > press of the combo box to requery based on what had already been > entered. That was back in Access 97. > > Hope I don't have to do it on this one. It was a PITA. > > The limit on a combo's rows is 64K (65535). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Mar 10 08:35:36 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Mar 2017 06:35:36 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <00bd01d29993$c388a440$4a99ecc0$@gmail.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> <00bd01d29993$c388a440$4a99ecc0$@gmail.com> Message-ID: <019501d299ab$9527b330$bf771990$@bchacc.com> I designed it that way before I realized the number of records there would be. I may not be necessary to have it there. But I am unsure how the user will be using the data. The data is imported from other sources - they are calls into a call center. The combo box contains a case number. If the call refers to a case that's not there Normally, it should not necessary to do any editing as the calls are imported and summarized in a report. But if a call references a case number that's not in the system, the user would enter that case data manually on the case form and then select that case from the combo box on the calls form. But your question makes me rethink this, I'll have to ask the user how they'd prefer it. Thanks R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 10, 2017 3:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo box not displaying 6 numbers Rocky... I can't help but ask, why are you using combo? Is it really necessary to present this list in this way? Susan H. Yes, that would be the work around. Allen shows that here: http://allenbrowne.com/ser-32.html > Well that sucks :/ But probably explains it. The last number is row > 65912 which is close enough. > > I once had this situation and I had to write a routine with every key > press of the combo box to requery based on what had already been > entered. That was back in Access 97. > > Hope I don't have to do it on this one. It was a PITA. > > The limit on a combo's rows is 64K (65535). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Mar 10 08:41:37 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Mar 2017 06:41:37 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <6B02C77401E74C089831895DB88FBD49@XPS> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <8F6147E9CABE420FB039A02DC42A6CC3@XPS> <012a01d2992d$2fc2f690$8f48e3b0$@bchacc.com> <00bd01d29993$c388a440$4a99ecc0$@gmail.com> <6B02C77401E74C089831895DB88FBD49@XPS> Message-ID: <019701d299ac$6c802dd0$45808970$@bchacc.com> The combo box contains case numbers. The form records calls from a call center and they are imported from other sources. The case numbers are sequential starting at 10000. So if the user enter 1 I don't know yet where to trim. 12 and I can trim < 12000. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, March 10, 2017 5:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo box not displaying 6 numbers That is always the inevitable question But I think most end up here because that want the type ahead, which you don't easily get with using something like a continuous form, and then you end up with a larger data set than you anticipated over time. I actually see this quite often on Experts-Exchange and other places. If he wants to keep using the combo, then some type of filtering needs to be done obviously. Can be something like Bill suggested, using the technique that Allen showed, or possibly filter buttons (ie. a phone book list with 26 filter buttons, one for each letter). You can use a continuous form and a text control to emulate a combo BTW, it's just that you need to do the all the work for the lookup as you type functionality. Probably better off to filter in some way with a combo. One other suggestion on that; if the data set is based on dates at all (ie. transaction), then I'll often filter with a "Back to" date and default it to one year. That usually suffices to keep the data set relatively small and yet allows the user to go back further if they need to, which usually doesn't happen all that often. Not sure that would work here though because if they want to go back to the beginning of time, then the combo's not going to handle it once again. Maybe a To/From date range and a message box when the combo overfills. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, March 10, 2017 06:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo box not displaying 6 numbers Rocky... I can't help but ask, why are you using combo? Is it really necessary to present this list in this way? Susan H. Yes, that would be the work around. Allen shows that here: http://allenbrowne.com/ser-32.html > Well that sucks :/ But probably explains it. The last number is row > 65912 which is close enough. > > I once had this situation and I had to write a routine with every key > press of the combo box to requery based on what had already been > entered. That was back in Access 97. > > Hope I don't have to do it on this one. It was a PITA. > > The limit on a combo's rows is 64K (65535). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Mar 10 16:57:31 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Mar 2017 08:57:31 +1000 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <019701d299ac$6c802dd0$45808970$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com>, <6B02C77401E74C089831895DB88FBD49@XPS>, <019701d299ac$6c802dd0$45808970$@bchacc.com> Message-ID: <58C32F5B.26163.17D7A540@stuart.lexacorp.com.pg> My first thought: Do Cases have a status such as Open/Closed? Do they need to see all previous cases or only Open ones? On 10 Mar 2017 at 6:41, Rocky Smolin wrote: > The combo box contains case numbers. The form records calls from a > call center and they are imported from other sources. The case > numbers are sequential starting at 10000. So if the user enter 1 I > don't know yet where to trim. 12 and I can trim < 12000. > > R > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Jim Dettman Sent: Friday, March 10, 2017 5:17 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Combo box not displaying 6 numbers > > > That is always the inevitable question > > But I think most end up here because that want the type ahead, which > you > don't easily get with using something like a continuous form, and then > you end up with a larger data set than you anticipated over time. I > actually see this quite often on Experts-Exchange and other places. > > If he wants to keep using the combo, then some type of filtering > needs to > be done obviously. Can be something like Bill suggested, using the > technique that Allen showed, or possibly filter buttons (ie. a phone > book list with 26 filter buttons, one for each letter). > > You can use a continuous form and a text control to emulate a combo > BTW, > it's just that you need to do the all the work for the lookup as you > type functionality. > > Probably better off to filter in some way with a combo. > > One other suggestion on that; if the data set is based on dates at > all > (ie. transaction), then I'll often filter with a "Back to" date and > default it to one year. That usually suffices to keep the data set > relatively small and yet allows the user to go back further if they > need to, which usually doesn't happen all that often. > > Not sure that would work here though because if they want to go back > to > the beginning of time, then the combo's not going to handle it once > again. Maybe a To/From date range and a message box when the combo > overfills. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Susan Harkins Sent: Friday, March 10, 2017 06:45 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Combo box not displaying 6 numbers > > Rocky... I can't help but ask, why are you using combo? Is it really > necessary to present this list in this way? > > Susan H. > > > Yes, that would be the work around. Allen shows that here: > > http://allenbrowne.com/ser-32.html > > > Well that sucks :/ But probably explains it. The last number is row > > 65912 which is close enough. > > > > I once had this situation and I had to write a routine with every > > key press of the combo box to requery based on what had already been > > entered. That was back in Access 97. > > > > Hope I don't have to do it on this one. It was a PITA. > > > > The limit on a combo's rows is 64K (65535). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Fri Mar 10 17:28:04 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 10 Mar 2017 15:28:04 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <58C32F5B.26163.17D7A540@stuart.lexacorp.com.pg> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com>, <6B02C77401E74C089831895DB88FBD49@XPS>, <019701d299ac$6c802dd0$45808970$@bchacc.com> <58C32F5B.26163.17D7A540@stuart.lexacorp.com.pg> Message-ID: <022c01d299f5$f7921930$e6b64b90$@bchacc.com> All if you ask the user. Actually, they only need to see the ones where the record being imported which has a relationship to the case needs to have the case filled in. It happens sometimes that a record requiring a Case FK gets imported and there's no case. So they need to add the case manually and then go back and fill in the case number in the record requiring the case number FK. What I think I will do is use the Not In List event to look up the case Id from the entered case number - if it's there, update the record. If not give the appropriate message. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, March 10, 2017 2:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo box not displaying 6 numbers My first thought: Do Cases have a status such as Open/Closed? Do they need to see all previous cases or only Open ones? On 10 Mar 2017 at 6:41, Rocky Smolin wrote: > The combo box contains case numbers. The form records calls from a > call center and they are imported from other sources. The case > numbers are sequential starting at 10000. So if the user enter 1 I > don't know yet where to trim. 12 and I can trim < 12000. > > R > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Jim Dettman Sent: Friday, March 10, 2017 5:17 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Combo box not displaying 6 numbers > > > That is always the inevitable question > > But I think most end up here because that want the type ahead, which > you > don't easily get with using something like a continuous form, and then > you end up with a larger data set than you anticipated over time. I > actually see this quite often on Experts-Exchange and other places. > > If he wants to keep using the combo, then some type of filtering > needs to > be done obviously. Can be something like Bill suggested, using the > technique that Allen showed, or possibly filter buttons (ie. a phone > book list with 26 filter buttons, one for each letter). > > You can use a continuous form and a text control to emulate a combo > BTW, > it's just that you need to do the all the work for the lookup as you > type functionality. > > Probably better off to filter in some way with a combo. > > One other suggestion on that; if the data set is based on dates at > all > (ie. transaction), then I'll often filter with a "Back to" date and > default it to one year. That usually suffices to keep the data set > relatively small and yet allows the user to go back further if they > need to, which usually doesn't happen all that often. > > Not sure that would work here though because if they want to go back > to > the beginning of time, then the combo's not going to handle it once > again. Maybe a To/From date range and a message box when the combo > overfills. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Susan Harkins Sent: Friday, March 10, 2017 06:45 AM To: 'Access > Developers discussion and problem solving' Subject: Re: [AccessD] > Combo box not displaying 6 numbers > > Rocky... I can't help but ask, why are you using combo? Is it really > necessary to present this list in this way? > > Susan H. > > > Yes, that would be the work around. Allen shows that here: > > http://allenbrowne.com/ser-32.html > > > Well that sucks :/ But probably explains it. The last number is row > > 65912 which is close enough. > > > > I once had this situation and I had to write a routine with every > > key press of the combo box to requery based on what had already been > > entered. That was back in Access 97. > > > > Hope I don't have to do it on this one. It was a PITA. > > > > The limit on a combo's rows is 64K (65535). > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Mar 11 09:37:00 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 11 Mar 2017 07:37:00 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <016c01d29955$bf11f260$3d35d720$@bchacc.com> Message-ID: <029601d29a7d$53ccb5c0$fb662140$@bchacc.com> I solved the problem using the ever-popular if slightly annoying Not In List event. It works (or d**n well better) because they know the case number that they want to fill in there so they don't really need the list. Posting here in case someone can use it: strTemp = Nz(DLookup("fldCaseID", "tblCase", "fldCaseNumber = " & Val(NewData)), "") If strTemp = "" Then MsgBox "That is not a valid case number." Response = acDataErrContinued Exit Sub End If Me.fldCaseID = Val(strTemp) Me.Requery Response = acDataErrContinue Yes, I could tighen up the code by using Then but when something works I usually stop developing. :) HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Thursday, March 09, 2017 8:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo box not displaying 6 numbers I would tend to think performance would be an issue since I doubt you can "filter" a combo rowsource, so much as adapt/change the rowsource on the change event of the 1st control. If I were implementing it and it was running slowly, I would probably check in thr change event for presence of 3 characters (thus for 1001 must enter 001 in 1st control)... even then, if the user wants to edit 123 to say 145, they should delete the entire 123 before entering 145, or else if they delete the 2 and make it 4 they would issue an unnecessary request on 143 before deleting the 3 and putting 5. >From my non-flammable Note 3, Bill Benson On Mar 9, 2017 11:22 PM, "Rocky Smolin" wrote: > That might do. Depends on how the user wants it to behave. I'll have > to ask. > > R > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Bill Benson > Sent: Thursday, March 09, 2017 7:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Combo box not displaying 6 numbers > > How about using 2 combos, or one and a textbox. The first is where you > enter the number from 1 to 163, the 2nd combo then filters to items > ending the full sequence. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Sat Mar 11 10:08:40 2017 From: bensonforums at gmail.com (Bill Benson) Date: Sat, 11 Mar 2017 11:08:40 -0500 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: <029601d29a7d$53ccb5c0$fb662140$@bchacc.com> References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <016c01d29955$bf11f260$3d35d720$@bchacc.com> <029601d29a7d$53ccb5c0$fb662140$@bchacc.com> Message-ID: >>they know the case number that they want to fill in there so they don't really need the list. ?? So why a combobox and not a textbox? Is it to view other columns, or to look up the pk from the list index? Just wondering why take the performance hit in querying and filling in a combo box when all they really need to do is a short Dlookup based on a textbox entry in the on-exit of a textbox. >From my non-flammable Note 3, Bill Benson From rockysmolin at bchacc.com Sat Mar 11 10:33:53 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 11 Mar 2017 08:33:53 -0800 Subject: [AccessD] Combo box not displaying 6 numbers In-Reply-To: References: <00cc01d2990d$b14aa750$13dff5f0$@bchacc.com> <016c01d29955$bf11f260$3d35d720$@bchacc.com> <029601d29a7d$53ccb5c0$fb662140$@bchacc.com> Message-ID: <02a101d29a85$45a11c40$d0e354c0$@bchacc.com> Bill: Like all projects the original description here was about 1/6th of what the project actually turned out to be. So my first pass on that form I used the combo because the case table uses a PK so that combo box is bound to the PK but displays the case number. There are other ways to do this - using a text box for the value and a hidden text box for the PK, but this was expedient. Just like the solution. :) R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Saturday, March 11, 2017 8:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Combo box not displaying 6 numbers >>they know the case number that they want to fill in there so they don't really need the list. ?? So why a combobox and not a textbox? Is it to view other columns, or to look up the pk from the list index? Just wondering why take the performance hit in querying and filling in a combo box when all they really need to do is a short Dlookup based on a textbox entry in the on-exit of a textbox. >From my non-flammable Note 3, Bill Benson -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Sun Mar 12 09:40:42 2017 From: jwcolby at gmail.com (John Colby) Date: Sun, 12 Mar 2017 10:40:42 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff Message-ID: <58C55DEA.6090900@Gmail.com> This guy is amazing. This is just what I am looking at now. You can easily get other places. http://www.redblobgames.com/pathfinding/a-star/introduction.html -- John W. Colby From jackandpat.d at gmail.com Sun Mar 12 11:51:59 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 12:51:59 -0400 Subject: [AccessD] Running a Dir command from within Access vba Message-ID: Hi again, Does anyone have sample vba to run a Dir command? I'm trying to get a listing of all *.jpg files from a directory and its subdirectories and put the list in a text file in a specific directory. I can get this to work going to command prompt and entering the string directly, but I want to do this from inside Access. cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt Thanks, jack From gustav at cactus.dk Sun Mar 12 12:13:30 2017 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 12 Mar 2017 17:13:30 +0000 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <58C55DEA.6090900@Gmail.com> References: <58C55DEA.6090900@Gmail.com> Message-ID: Hi John Cool! And the presentation is excellent. But I notice he has spent 27 years with this stuff. /gustav ________________________________________ Fra: AccessD p? vegne af John Colby Sendt: 12. marts 2017 15:40:42 Til: Access Developers discussion and problem solving Emne: [AccessD] If you're into grid gaming - Lots of good stuff This guy is amazing. This is just what I am looking at now. You can easily get other places. http://www.redblobgames.com/pathfinding/a-star/introduction.html -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Sun Mar 12 12:35:39 2017 From: jwcolby at gmail.com (John Colby) Date: Sun, 12 Mar 2017 13:35:39 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: References: <58C55DEA.6090900@Gmail.com> Message-ID: <58C586EB.3060203@Gmail.com> Yes, he has been at it since 1990 apparently. Also well educated AFAICT. On 3/12/2017 1:13 PM, Gustav Brock wrote: > Hi John > > Cool! And the presentation is excellent. > But I notice he has spent 27 years with this stuff. > > /gustav > ________________________________________ > Fra: AccessD p? vegne af John Colby > Sendt: 12. marts 2017 15:40:42 > Til: Access Developers discussion and problem solving > Emne: [AccessD] If you're into grid gaming - Lots of good stuff > > This guy is amazing. This is just what I am looking at now. You can > easily get other places. > > http://www.redblobgames.com/pathfinding/a-star/introduction.html > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby From rockysmolin at bchacc.com Sun Mar 12 12:41:10 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 Mar 2017 10:41:10 -0700 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: Message-ID: <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com> Jack: I use strFilename = Dir$(varFolder & "\*.jpg") where varFolder is returned from a folder picker function, then iterate through the file names by: Do while strFilename<>"" . . . Stuff. . . strFilename = Dir loop HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Sunday, March 12, 2017 9:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] Running a Dir command from within Access vba Hi again, Does anyone have sample vba to run a Dir command? I'm trying to get a listing of all *.jpg files from a directory and its subdirectories and put the list in a text file in a specific directory. I can get this to work going to command prompt and entering the string directly, but I want to do this from inside Access. cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt Thanks, jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Mar 12 12:58:43 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 13:58:43 -0400 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com> References: <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com> Message-ID: Thanks Rocky. I've been googling and now think I need a bat file. I have to change Directories, run the Dir with parameters and then output the result to a file. Testing as I type. jack On Sun, Mar 12, 2017 at 1:41 PM, Rocky Smolin wrote: > Jack: > > I use > > strFilename = Dir$(varFolder & "\*.jpg") > > where varFolder is returned from a folder picker function, > > then iterate through the file names by: > > Do while strFilename<>"" > . > . > . > Stuff. > . > . > strFilename = Dir > > loop > > HTH > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jack drawbridge > Sent: Sunday, March 12, 2017 9:52 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running a Dir command from within Access vba > > Hi again, > > Does anyone have sample vba to run a Dir command? > I'm trying to get a listing of all *.jpg files from a directory and its > subdirectories and put the list in a text file in a specific directory. > > I can get this to work going to command prompt and entering the string > directly, but I want to do this from inside Access. > > cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt > > Thanks, > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Sun Mar 12 14:07:49 2017 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 12 Mar 2017 12:07:49 -0700 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: Message-ID: Here is some butchered code I pulled out of an old database. It does a recursive search to get all file names down through all subfolders of the starting folder. The original code did a bunch of processing on each file name found; I've cut this code out and hopefully left a skeleton that you can understand. You need to set a reference to the Microsoft Scripting Runtime to get access to properties like .files, .subfolders etc. Public Sub GetFiles(strStartingPath, strPath) Dim File Dim Subfols Dim SubFol Dim strSubFolderPath As String Dim CurrentPath As String Dim CurrentFile As String Dim FullPathFile As String Dim files Set files = strStartingPath.files For Each File In files 'remove any trailing backslash in MyPath name If Right(strPath, 1) = "\" Then strPath = Left(strPath, Len(strPath) - 1) CurrentFile = File.Name 'add processing for this File.Name, like writing it to a table CurrentPath = strPath FullPathFile = CurrentPath & "\" & CurrentFile Next 'recursive search on subfolders Set Subfols = strStartingPath.subfolders For Each SubFol In Subfols If Right(strPath, 1) <> "\" Then strPath = strPath & "\" strSubFolderPath = strPath & SubFol.Name GetFiles SubFol, strSubFolderPath Next End Sub On Sun, Mar 12, 2017 at 9:51 AM, jack drawbridge wrote: > Hi again, > > Does anyone have sample vba to run a Dir command? > I'm trying to get a listing of all *.jpg files from a directory and its > subdirectories and put the list in a text file in a specific directory. > > I can get this to work going to command prompt and entering the string > directly, but I want to do this from inside Access. > > cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt > > Thanks, > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Sun Mar 12 14:46:01 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 15:46:01 -0400 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: Message-ID: Thanks Doug. I don't want to go through the directories and subs - necessarily. I'm trying to help someone who has many 1000's of images. I can get the list if I use the command prompt and manually enter the dir with parms. After searching, I think I need a bat file. I have @ECHO OFF CHDir c:\users\mellon\documents\TestImages DIR /s/b *.jpg >c:\users\mellon\documents\TestImages\MyLatestJpgs.txt CLS EXIT as a bat file MyDir.bat. It works from the command line when I use c:\users\mellon\Documents> MyDir But it doesn't work when I use the following Shell Sub TestShellDir() Dim retval 10 On Error GoTo TestShellDir_Error 20 Kill "C:\users\mellon\documents\TestImages\MyLatestJpgs.txt" 30 retval = Shell("cmd c:\users\mellon\documents\MyDir.bat", vbNormalFocus) 50 DoEvents 60 Debug.Print "Image File List created for Folder and Files " & Now 70 On Error GoTo 0 80 90 Exit Sub I've tried various things but no luck. It opens the command prompt window, but doesn't create the output file. If I copy the Dir line from the bat file, and paste it into the command prompt, it works??? I was hoping to be able to generate a file list from his multiple folders, subfolders. jack On Sun, Mar 12, 2017 at 3:07 PM, Doug Steele wrote: > Here is some butchered code I pulled out of an old database. It does a > recursive search to get all file names down through all subfolders of the > starting folder. The original code did a bunch of processing on each file > name found; I've cut this code out and hopefully left a skeleton that you > can understand. You need to set a reference to the Microsoft Scripting > Runtime to get access to properties like .files, .subfolders etc. > > Public Sub GetFiles(strStartingPath, strPath) > > Dim File > Dim Subfols > Dim SubFol > Dim strSubFolderPath As String > Dim CurrentPath As String > Dim CurrentFile As String > Dim FullPathFile As String > Dim files > > Set files = strStartingPath.files > > For Each File In files > > 'remove any trailing backslash in MyPath name > If Right(strPath, 1) = "\" Then strPath = Left(strPath, > Len(strPath) - 1) > CurrentFile = File.Name > 'add processing for this File.Name, like writing it to a > table > CurrentPath = strPath > FullPathFile = CurrentPath & "\" & CurrentFile > Next > > 'recursive search on subfolders > Set Subfols = strStartingPath.subfolders > For Each SubFol In Subfols > If Right(strPath, 1) <> "\" Then strPath = strPath & "\" > strSubFolderPath = strPath & SubFol.Name > GetFiles SubFol, strSubFolderPath > > Next > > End Sub > > > On Sun, Mar 12, 2017 at 9:51 AM, jack drawbridge > wrote: > > > Hi again, > > > > Does anyone have sample vba to run a Dir command? > > I'm trying to get a listing of all *.jpg files from a directory and its > > subdirectories and put the list in a text file in a specific directory. > > > > I can get this to work going to command prompt and entering the string > > directly, but I want to do this from inside Access. > > > > cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt > > > > Thanks, > > jack > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Mar 12 14:53:08 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 Mar 2017 13:53:08 -0600 (MDT) Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <58C586EB.3060203@Gmail.com> References: <58C55DEA.6090900@Gmail.com> <58C586EB.3060203@Gmail.com> Message-ID: <333881872.84836723.1489348388847.JavaMail.zimbra@shaw.ca> That is very interesting. Thanks for posting. :-) Jim ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, March 12, 2017 10:35:39 AM Subject: Re: [AccessD] If you're into grid gaming - Lots of good stuff Yes, he has been at it since 1990 apparently. Also well educated AFAICT. On 3/12/2017 1:13 PM, Gustav Brock wrote: > Hi John > > Cool! And the presentation is excellent. > But I notice he has spent 27 years with this stuff. > > /gustav > ________________________________________ > Fra: AccessD p? vegne af John Colby > Sendt: 12. marts 2017 15:40:42 > Til: Access Developers discussion and problem solving > Emne: [AccessD] If you're into grid gaming - Lots of good stuff > > This guy is amazing. This is just what I am looking at now. You can > easily get other places. > > http://www.redblobgames.com/pathfinding/a-star/introduction.html > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Mar 12 14:55:43 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 Mar 2017 13:55:43 -0600 (MDT) Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: Message-ID: <1395820955.84841485.1489348543891.JavaMail.zimbra@shaw.ca> I do think running at the command prompt is by far the most inclusive and fastest. Jim ----- Original Message ----- From: "jack drawbridge" To: "Access Developers discussion and problem solving" Sent: Sunday, March 12, 2017 12:46:01 PM Subject: Re: [AccessD] Running a Dir command from within Access vba Thanks Doug. I don't want to go through the directories and subs - necessarily. I'm trying to help someone who has many 1000's of images. I can get the list if I use the command prompt and manually enter the dir with parms. After searching, I think I need a bat file. I have @ECHO OFF CHDir c:\users\mellon\documents\TestImages DIR /s/b *.jpg >c:\users\mellon\documents\TestImages\MyLatestJpgs.txt CLS EXIT as a bat file MyDir.bat. It works from the command line when I use c:\users\mellon\Documents> MyDir But it doesn't work when I use the following Shell Sub TestShellDir() Dim retval 10 On Error GoTo TestShellDir_Error 20 Kill "C:\users\mellon\documents\TestImages\MyLatestJpgs.txt" 30 retval = Shell("cmd c:\users\mellon\documents\MyDir.bat", vbNormalFocus) 50 DoEvents 60 Debug.Print "Image File List created for Folder and Files " & Now 70 On Error GoTo 0 80 90 Exit Sub I've tried various things but no luck. It opens the command prompt window, but doesn't create the output file. If I copy the Dir line from the bat file, and paste it into the command prompt, it works??? I was hoping to be able to generate a file list from his multiple folders, subfolders. jack On Sun, Mar 12, 2017 at 3:07 PM, Doug Steele wrote: > Here is some butchered code I pulled out of an old database. It does a > recursive search to get all file names down through all subfolders of the > starting folder. The original code did a bunch of processing on each file > name found; I've cut this code out and hopefully left a skeleton that you > can understand. You need to set a reference to the Microsoft Scripting > Runtime to get access to properties like .files, .subfolders etc. > > Public Sub GetFiles(strStartingPath, strPath) > > Dim File > Dim Subfols > Dim SubFol > Dim strSubFolderPath As String > Dim CurrentPath As String > Dim CurrentFile As String > Dim FullPathFile As String > Dim files > > Set files = strStartingPath.files > > For Each File In files > > 'remove any trailing backslash in MyPath name > If Right(strPath, 1) = "\" Then strPath = Left(strPath, > Len(strPath) - 1) > CurrentFile = File.Name > 'add processing for this File.Name, like writing it to a > table > CurrentPath = strPath > FullPathFile = CurrentPath & "\" & CurrentFile > Next > > 'recursive search on subfolders > Set Subfols = strStartingPath.subfolders > For Each SubFol In Subfols > If Right(strPath, 1) <> "\" Then strPath = strPath & "\" > strSubFolderPath = strPath & SubFol.Name > GetFiles SubFol, strSubFolderPath > > Next > > End Sub > > > On Sun, Mar 12, 2017 at 9:51 AM, jack drawbridge > wrote: > > > Hi again, > > > > Does anyone have sample vba to run a Dir command? > > I'm trying to get a listing of all *.jpg files from a directory and its > > subdirectories and put the list in a text file in a specific directory. > > > > I can get this to work going to command prompt and entering the string > > directly, but I want to do this from inside Access. > > > > cd \users\mellon\documents\testImages Dir \s\b *.jpg >MyJpgs.txt > > > > Thanks, > > jack > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Mar 12 15:08:47 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 16:08:47 -0400 Subject: [AccessD] Running Dir from Batch file in MSAccess Message-ID: Jim, I was trying to respond and say I agree that its a fast method. However, the person I'm trying to help is not familiar with vba. I got a flag on your email saying it is marked as spam?? So I'm starting again. I am not experienced with Bat file from Access. I have had no luck with google nor the forums I participate in. I was trying to get a list of image files (jpg) and felt a simple Access form with a Shell cmd would hide most everything. But as always Simple has various meanings!!! jack From accessd at shaw.ca Sun Mar 12 16:49:45 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 Mar 2017 15:49:45 -0600 (MDT) Subject: [AccessD] Running Dir from Batch file in MSAccess In-Reply-To: References: Message-ID: <1890086342.85115056.1489355385306.JavaMail.zimbra@shaw.ca> Jack: I have always viewed Access as just a great graphic front end for any application. Its true beauty is in its capability to connect to virtually any source. Its batch file shell, alternative data sources, mail, web and internet access is just the start. I was always a lazy programmers so anything I could hack together, code I could steal, rather than build, was always a plus. I think MS Access was built for guys like me. OTOH, it is best, where at all possible, to assemble batch files internally and write them out and then run them...stops potential of batch file corruption. For me, "simple" generally translates into "reliable". Another note: In my opinion, it is always better (much faster uploads especially when thousands of mixed graphics are being used) to store a JPG file externally, in its own directories and then call it from the application rather than store the graphic in a DB. OTOH, if the person you are working with needs to go with a pure Access solution... Jim ----- Original Message ----- From: "jack drawbridge" To: "Access Developers discussion and problem solving" Sent: Sunday, March 12, 2017 1:08:47 PM Subject: [AccessD] Running Dir from Batch file in MSAccess Jim, I was trying to respond and say I agree that its a fast method. However, the person I'm trying to help is not familiar with vba. I got a flag on your email saying it is marked as spam?? So I'm starting again. I am not experienced with Bat file from Access. I have had no luck with google nor the forums I participate in. I was trying to get a list of image files (jpg) and felt a simple Access form with a Shell cmd would hide most everything. But as always Simple has various meanings!!! jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jamesbutton at blueyonder.co.uk Sun Mar 12 17:18:16 2017 From: jamesbutton at blueyonder.co.uk (James Button) Date: Sun, 12 Mar 2017 22:18:16 -0000 Subject: [AccessD] Running Dir from Batch file in MSAccess In-Reply-To: References: Message-ID: I'll add some notes to the bat file usage - or maybe .cmd Firstly you can setup a single bat (or .cmd) file and feed it parameters on the call As in a command dir %1 %2 >%3 And the call will be "ee.bat ""folder"" ""options"" ""outputfile""" Secondly - remember that is a bat process - so you will need to have a sufficient delay or wait process to allow it to work Thirdly note the doubled "" within the outer bounding " pair Foldernames etc. that contain spaces need to be bounded And - finally, look at the FOR command and it's options JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Sunday, March 12, 2017 8:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Running Dir from Batch file in MSAccess Jim, I was trying to respond and say I agree that its a fast method. However, the person I'm trying to help is not familiar with vba. I got a flag on your email saying it is marked as spam?? So I'm starting again. I am not experienced with Bat file from Access. I have had no luck with google nor the forums I participate in. I was trying to get a list of image files (jpg) and felt a simple Access form with a Shell cmd would hide most everything. But as always Simple has various meanings!!! jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Mar 12 17:19:56 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 12 Mar 2017 15:19:56 -0700 Subject: [AccessD] Running Dir from Batch file in MS Access Message-ID: <002f01d29b7e$c8370800$58a51800$@bchacc.com> I think you might be able to run a bat from the Shell command Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Sunday, March 12, 2017 1:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Running Dir from Batch file in MSAccess Jim, I was trying to respond and say I agree that its a fast method. However, the person I'm trying to help is not familiar with vba. I got a flag on your email saying it is marked as spam?? So I'm starting again. I am not experienced with Bat file from Access. I have had no luck with google nor the forums I participate in. I was trying to get a list of image files (jpg) and felt a simple Access form with a Shell cmd would hide most everything. But as always Simple has various meanings!!! jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Mar 12 17:56:39 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 18:56:39 -0400 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: <002f01d29b7e$c8370800$58a51800$@bchacc.com> References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: Jim B, Haven't worked with bat or cmd for years (if I ever knew). My bat file works if I type the bat file name into the command window and I'm in the directory where the bat file is stored. The bat file does not create the output file when I try to run it from Access shell as shown in earlier post. The user has 1000's of images (all jpg) in various folders. I thought running a Dir to build a file of the names of the jpgs would be a starting point. Also, that running it from Access or scheduler or ??? might hide some of the command prompt activity etc. I'm looking to get a list of all jpgs that I can use to compare things within Access. The user modifies and manipulates the jpgs, and needs to know current files at any time. Options welcome. jack On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin wrote: > I think you might be able to run a bat from the Shell command > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jack drawbridge > Sent: Sunday, March 12, 2017 1:09 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running Dir from Batch file in MSAccess > > Jim, > > I was trying to respond and say I agree that its a fast method. However, > the > person I'm trying to help is not familiar with vba. > I got a flag on your email saying it is marked as spam?? > So I'm starting again. > > I am not experienced with Bat file from Access. I have had no luck with > google nor the forums I participate in. > > I was trying to get a list of image files (jpg) and felt a simple Access > form with a Shell cmd would hide most everything. > > But as always Simple has various meanings!!! > > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Sun Mar 12 18:30:36 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 19:30:36 -0400 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: Hi Guys, Some success. I found a function (LaunchApp32) at Access world forums https://access-programmers.co.uk/forums/showpost.php?p=533820&postcount=6 It involves some API declarations, but runs my bat file. The big difference seems to be waiting for processes to finish. At the moment, I'm passed this issue. Thanks for responses. jack On Sun, Mar 12, 2017 at 6:56 PM, jack drawbridge wrote: > Jim B, > > Haven't worked with bat or cmd for years (if I ever knew). My bat file > works if I type the bat file name into the command window and I'm in the > directory where the bat file is stored. > > The bat file does not create the output file when I try to run it from > Access shell as shown in earlier post. > > The user has 1000's of images (all jpg) in various folders. I thought > running a Dir to build a file of the names of the jpgs would be a starting > point. Also, that running it from Access or scheduler or ??? might hide > some of the command prompt activity etc. > > I'm looking to get a list of all jpgs that I can use to compare things > within Access. The user modifies and manipulates the jpgs, and needs to > know current files at any time. > > Options welcome. > jack > > > > On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin > wrote: > >> I think you might be able to run a bat from the Shell command >> >> Rocky >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> jack drawbridge >> Sent: Sunday, March 12, 2017 1:09 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Running Dir from Batch file in MSAccess >> >> Jim, >> >> I was trying to respond and say I agree that its a fast method. However, >> the >> person I'm trying to help is not familiar with vba. >> I got a flag on your email saying it is marked as spam?? >> So I'm starting again. >> >> I am not experienced with Bat file from Access. I have had no luck with >> google nor the forums I participate in. >> >> I was trying to get a list of image files (jpg) and felt a simple Access >> form with a Shell cmd would hide most everything. >> >> But as always Simple has various meanings!!! >> >> jack >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > From jimdettman at verizon.net Sun Mar 12 19:07:06 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 12 Mar 2017 20:07:06 -0400 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> Jack, I have a "waitwhilerunning" function that I can share. All it needs is a windows handle, so you can shell to a batch file if you want to. Would have posted earlier, but I'm not in the office till tomorrow and could not post it till then. Also have examples of calling batch file along the lines of what Jim B said Jim Sent from my iPhone > On Mar 12, 2017, at 7:30 PM, jack drawbridge wrote: > > Hi Guys, > > Some success. I found a function (LaunchApp32) at Access world forums > https://access-programmers.co.uk/forums/showpost.php?p=533820&postcount=6 > > It involves some API declarations, but runs my bat file. The big difference > seems to be waiting for processes to finish. > > At the moment, I'm passed this issue. > > Thanks for responses. > > jack > > > On Sun, Mar 12, 2017 at 6:56 PM, jack drawbridge > wrote: > >> Jim B, >> >> Haven't worked with bat or cmd for years (if I ever knew). My bat file >> works if I type the bat file name into the command window and I'm in the >> directory where the bat file is stored. >> >> The bat file does not create the output file when I try to run it from >> Access shell as shown in earlier post. >> >> The user has 1000's of images (all jpg) in various folders. I thought >> running a Dir to build a file of the names of the jpgs would be a starting >> point. Also, that running it from Access or scheduler or ??? might hide >> some of the command prompt activity etc. >> >> I'm looking to get a list of all jpgs that I can use to compare things >> within Access. The user modifies and manipulates the jpgs, and needs to >> know current files at any time. >> >> Options welcome. >> jack >> >> >> >> On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin >> wrote: >> >>> I think you might be able to run a bat from the Shell command >>> >>> Rocky >>> >>> >>> -----Original Message----- >>> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> jack drawbridge >>> Sent: Sunday, March 12, 2017 1:09 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Running Dir from Batch file in MSAccess >>> >>> Jim, >>> >>> I was trying to respond and say I agree that its a fast method. However, >>> the >>> person I'm trying to help is not familiar with vba. >>> I got a flag on your email saying it is marked as spam?? >>> So I'm starting again. >>> >>> I am not experienced with Bat file from Access. I have had no luck with >>> google nor the forums I participate in. >>> >>> I was trying to get a list of image files (jpg) and felt a simple Access >>> form with a Shell cmd would hide most everything. >>> >>> But as always Simple has various meanings!!! >>> >>> jack >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Mar 12 19:27:39 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 12 Mar 2017 20:27:39 -0400 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> Message-ID: Thanks Jim D, Always interested in seeing some code and examples. The launchApp32 seems to be working (fingers crossed). jack On Sun, Mar 12, 2017 at 8:07 PM, Jim Dettman wrote: > Jack, > > I have a "waitwhilerunning" function that I can share. All it needs is > a windows handle, so you can shell to a batch file if you want to. > > Would have posted earlier, but I'm not in the office till tomorrow and > could not post it till then. > > Also have examples of calling batch file along the lines of what Jim B > said > > Jim > > Sent from my iPhone > > > On Mar 12, 2017, at 7:30 PM, jack drawbridge > wrote: > > > > Hi Guys, > > > > Some success. I found a function (LaunchApp32) at Access world forums > > https://access-programmers.co.uk/forums/showpost.php?p= > 533820&postcount=6 > > > > It involves some API declarations, but runs my bat file. The big > difference > > seems to be waiting for processes to finish. > > > > At the moment, I'm passed this issue. > > > > Thanks for responses. > > > > jack > > > > > > On Sun, Mar 12, 2017 at 6:56 PM, jack drawbridge > > > wrote: > > > >> Jim B, > >> > >> Haven't worked with bat or cmd for years (if I ever knew). My bat file > >> works if I type the bat file name into the command window and I'm in > the > >> directory where the bat file is stored. > >> > >> The bat file does not create the output file when I try to run it from > >> Access shell as shown in earlier post. > >> > >> The user has 1000's of images (all jpg) in various folders. I thought > >> running a Dir to build a file of the names of the jpgs would be a > starting > >> point. Also, that running it from Access or scheduler or ??? might hide > >> some of the command prompt activity etc. > >> > >> I'm looking to get a list of all jpgs that I can use to compare things > >> within Access. The user modifies and manipulates the jpgs, and needs to > >> know current files at any time. > >> > >> Options welcome. > >> jack > >> > >> > >> > >> On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin > >> wrote: > >> > >>> I think you might be able to run a bat from the Shell command > >>> > >>> Rocky > >>> > >>> > >>> -----Original Message----- > >>> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of > >>> jack drawbridge > >>> Sent: Sunday, March 12, 2017 1:09 PM > >>> To: Access Developers discussion and problem solving > >>> Subject: [AccessD] Running Dir from Batch file in MSAccess > >>> > >>> Jim, > >>> > >>> I was trying to respond and say I agree that its a fast method. > However, > >>> the > >>> person I'm trying to help is not familiar with vba. > >>> I got a flag on your email saying it is marked as spam?? > >>> So I'm starting again. > >>> > >>> I am not experienced with Bat file from Access. I have had no luck > with > >>> google nor the forums I participate in. > >>> > >>> I was trying to get a list of image files (jpg) and felt a simple > Access > >>> form with a Shell cmd would hide most everything. > >>> > >>> But as always Simple has various meanings!!! > >>> > >>> jack > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >> > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Mar 12 22:53:57 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 Mar 2017 21:53:57 -0600 (MDT) Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: <796766306.85894932.1489377237609.JavaMail.zimbra@shaw.ca> I have found it is a very powerful environment to work in. The Windows power user shells can almost do anything. In fact before the power shell was really updated that was the way we would roll out an entire network, all desktops and servers. The current Windows shells are quite awesome and now the real power users have access to a full featured Bash shell. If you can get up to speed in this environment you will find that you can do extremely complex functions, complexity that you will not be able to do via the GUI, with just a few lines of code, very fast, with a full event log. Here is one example that I used to copy photos from Europe. The code only syncs the differences, logs-in remotely, via an ssh shell and key, through to a Domain server/desktop and secure router, using an encryption port, searches all sub-directories recursively and while building the same structure remotely and compressing the data in transit. Once the command was started it would run quietly in the background, noting and stepping over any errors and create a full log of all activity. rsync -avz --progress ~/Pictures/portugal/* -e "ssh -p 38771" TheUsername at creativesystemdesigns.com:~/Pictures/portugal/ I have watched people who really know what they are doing, transferring all users and user credentials from on Exchange server to another or build a complete Active Directory on a new server...plus install all the appropriate updates through power shell scripts. Using this inside of an instance of MS Access, could turn the little MDB into a network control center. ;-) Jim ----- Original Message ----- From: "jack drawbridge" To: "Access Developers discussion and problem solving" Sent: Sunday, March 12, 2017 3:56:39 PM Subject: Re: [AccessD] Running Dir from Batch file in MS Access Jim B, Haven't worked with bat or cmd for years (if I ever knew). My bat file works if I type the bat file name into the command window and I'm in the directory where the bat file is stored. The bat file does not create the output file when I try to run it from Access shell as shown in earlier post. The user has 1000's of images (all jpg) in various folders. I thought running a Dir to build a file of the names of the jpgs would be a starting point. Also, that running it from Access or scheduler or ??? might hide some of the command prompt activity etc. I'm looking to get a list of all jpgs that I can use to compare things within Access. The user modifies and manipulates the jpgs, and needs to know current files at any time. Options welcome. jack On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin wrote: > I think you might be able to run a bat from the Shell command > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > jack drawbridge > Sent: Sunday, March 12, 2017 1:09 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Running Dir from Batch file in MSAccess > > Jim, > > I was trying to respond and say I agree that its a fast method. However, > the > person I'm trying to help is not familiar with vba. > I got a flag on your email saying it is marked as spam?? > So I'm starting again. > > I am not experienced with Bat file from Access. I have had no luck with > google nor the forums I participate in. > > I was trying to get a list of image files (jpg) and felt a simple Access > form with a Shell cmd would hide most everything. > > But as always Simple has various meanings!!! > > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mar 12 22:55:59 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 12 Mar 2017 21:55:59 -0600 (MDT) Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: <1941552071.85900562.1489377359535.JavaMail.zimbra@shaw.ca> Cool. Jim ----- Original Message ----- From: "jack drawbridge" To: "Access Developers discussion and problem solving" Sent: Sunday, March 12, 2017 4:30:36 PM Subject: Re: [AccessD] Running Dir from Batch file in MS Access Hi Guys, Some success. I found a function (LaunchApp32) at Access world forums https://access-programmers.co.uk/forums/showpost.php?p=533820&postcount=6 It involves some API declarations, but runs my bat file. The big difference seems to be waiting for processes to finish. At the moment, I'm passed this issue. Thanks for responses. jack On Sun, Mar 12, 2017 at 6:56 PM, jack drawbridge wrote: > Jim B, > > Haven't worked with bat or cmd for years (if I ever knew). My bat file > works if I type the bat file name into the command window and I'm in the > directory where the bat file is stored. > > The bat file does not create the output file when I try to run it from > Access shell as shown in earlier post. > > The user has 1000's of images (all jpg) in various folders. I thought > running a Dir to build a file of the names of the jpgs would be a starting > point. Also, that running it from Access or scheduler or ??? might hide > some of the command prompt activity etc. > > I'm looking to get a list of all jpgs that I can use to compare things > within Access. The user modifies and manipulates the jpgs, and needs to > know current files at any time. > > Options welcome. > jack > > > > On Sun, Mar 12, 2017 at 6:19 PM, Rocky Smolin > wrote: > >> I think you might be able to run a bat from the Shell command >> >> Rocky >> >> >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> jack drawbridge >> Sent: Sunday, March 12, 2017 1:09 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Running Dir from Batch file in MSAccess >> >> Jim, >> >> I was trying to respond and say I agree that its a fast method. However, >> the >> person I'm trying to help is not familiar with vba. >> I got a flag on your email saying it is marked as spam?? >> So I'm starting again. >> >> I am not experienced with Bat file from Access. I have had no luck with >> google nor the forums I participate in. >> >> I was trying to get a list of image files (jpg) and felt a simple Access >> form with a Shell cmd would hide most everything. >> >> But as always Simple has various meanings!!! >> >> jack >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Mar 13 07:40:03 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Mar 2017 22:40:03 +1000 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: , <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com>, Message-ID: <58C69323.30134.2515431A@stuart.lexacorp.com.pg> I've got several Access applications which do a recursive directory search and them manipulate the files. This should give you a file containing a list of all the .jpg files in all the sub directories below the start directory (In this case, the start directory is the one containing the Access file, but you can change this by starting somehere other than CurrentProject.Path): Private gStrDirectories() As String Private gDirCount as long Function GetAllFiles() As Long Dim l As Long On Error Resume Next Kill CurrentProject.Path & "\FileList.txt" On Error GoTo 0 'First fill the global array with all of the sub-directories RecurseDir (CurrentProject.Path & "\*.*") 'Now get all of the desired files in the sub-directories For l = 1 To UBound(gStrDirectories()) GetJPGs (gStrDirectories(l)) Next End Function Function RecurseDir(strDirSpec As String) As Long Dim llngOnce As Long Dim llngEndSubscript As Long Dim llngStartSubscript As Long Dim strFolder As String Dim strFileName As String Dim llngCounter As Long Dim llngAttribute As Long Dim gLngPointers() As Long ' llngOnce = tag if dirs present ' llngEndSubscript = ending pointer ' llngStartSubscript = pointer to first position in array strFolder = Left$(strDirSpec, Len(strDirSpec) - 3) ' step 1 - make a list of all the dirs in this folder ' and append them to the global array ' and remember the starting point where this ' list begins strFileName = Dir$(strDirSpec, vbDirectory) Do While Len(strFileName) llngAttribute = GetAttr(strFolder & "\" & strFileName) If (llngAttribute = vbDirectory) And Right$(strFileName, 1) <> "." Then 'it's a dir gDirCount = gDirCount + 1 'tried redim preserve every 100 iterations etc but no speed increase ReDim Preserve gStrDirectories(gDirCount) ReDim Preserve gLngPointers(gDirCount) gStrDirectories(gDirCount) = strFolder + strFileName If llngOnce = 0 Then llngOnce = 1 llngStartSubscript = gDirCount ' pointer to first entry in this list End If End If strFileName = Dir$ Loop ' step 2 - if no dirs were found return 0 as the pointer value If llngOnce = 0 Then RecurseDir = 0 Exit Function End If ' step 3 - let's back up to where we started locally and moving forward ' until we reach the local end, call this function recursively, ' tagging each pointer with the starting point in the global array that ' contains the child folders. llngEndSubscript = gDirCount ' gDirCount is global and will change For llngCounter = llngStartSubscript To llngEndSubscript gLngPointers(llngCounter) = RecurseDir(gStrDirectories(llngCounter) + "\*.*") Next llngCounter ' Step 4, - return the pointer to the start of the list we just made RecurseDir = llngStartSubscript End Function Function GetJPGs(strDir As String) As String Dim strF As String strF = Dir$(strDir & "\*.jpg") While strF > " " Open CurrentProject.Path & "\FileList.txt" For Append As #1 Print #1, strF Close #1 strF = Dir$ Wend End Function On 12 Mar 2017 at 13:58, jack drawbridge wrote: > Thanks Rocky. > I've been googling and now think I need a bat file. > > I have to change Directories, run the Dir with parameters and then > output the result to a file. > From stuart at lexacorp.com.pg Mon Mar 13 07:46:07 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Mar 2017 22:46:07 +1000 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: <002f01d29b7e$c8370800$58a51800$@bchacc.com> References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> Message-ID: <58C6948F.16120.251AD422@stuart.lexacorp.com.pg> You definitely can. :) On 12 Mar 2017 at 15:19, Rocky Smolin wrote: > I think you might be able to run a bat from the Shell command > > Rocky > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of jack drawbridge Sent: Sunday, March 12, 2017 1:09 PM To: Access > Developers discussion and problem solving Subject: [AccessD] Running > Dir from Batch file in MSAccess > > Jim, > > I was trying to respond and say I agree that its a fast method. > However, the person I'm trying to help is not familiar with vba. I got > a flag on your email saying it is marked as spam?? So I'm starting > again. > > I am not experienced with Bat file from Access. I have had no luck > with google nor the forums I participate in. > > I was trying to get a list of image files (jpg) and felt a simple > Access form with a Shell cmd would hide most everything. > > But as always Simple has various meanings!!! > > jack > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Mon Mar 13 07:53:00 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Mar 2017 22:53:00 +1000 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> References: <002f01d29b7e$c8370800$58a51800$@bchacc.com>, , <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> Message-ID: <58C6962C.4823.25212148@stuart.lexacorp.com.pg> On 12 Mar 2017 at 20:07, Jim Dettman wrote: > Jack, > > I have a "waitwhilerunning" function that I can share. All it needs > is a windows handle, so you can shell to a batch file if you want to. > No need for a handle, just pass it the command you want to run. Here's my standard "Wait for Shelled Application to finish" code, FWIW: Private Const STARTF_USESHOWWINDOW& = &H1 Private Const NORMAL_PRIORITY_CLASS = &H20& Private Const INFINITE = -1& Private Type STARTUPINFO cb As Long lpReserved As String lpDesktop As String lpTitle As String dwX As Long dwY As Long dwXSize As Long dwYSize As Long dwXCountChars As Long dwYCountChars As Long dwFillAttribute As Long dwFlags As Long wShowWindow As Integer cbReserved2 As Integer lpReserved2 As Long hStdInput As Long hStdOutput As Long hStdError As Long End Type Private Type PROCESS_INFORMATION hProcess As Long hThread As Long dwProcessID As Long dwThreadID As Long End Type Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long Declare Function CreateProcessA Lib "kernel32" (ByVal lpApplicationName As Long, ByVal lpCommandLine As String, ByVal lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long Public Sub ShellWait(Pathname As String, Optional WindowStyle As Long) On Error GoTo Err_Handler Dim proc As PROCESS_INFORMATION Dim start As STARTUPINFO Dim ret As Long ' Initialize the STARTUPINFO structure: With start .cb = Len(start) If Not IsMissing(WindowStyle) Then .dwFlags = STARTF_USESHOWWINDOW .wShowWindow = WindowStyle End If End With ' Start the shelled application: ret& = CreateProcessA(0&, Pathname, 0&, 0&, 1&, NORMAL_PRIORITY_CLASS, 0&, 0&, start, proc) ' Wait for the shelled application to finish: ret& = WaitForSingleObject(proc.hProcess, INFINITE) ret& = CloseHandle(proc.hProcess) Exit_Here: Exit Sub Err_Handler: MsgBox Err.Description, vbExclamation, "E R R O R" Resume Exit_Here End Sub From gustav at cactus.dk Mon Mar 13 07:55:43 2017 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 13 Mar 2017 12:55:43 +0000 Subject: [AccessD] Running a Dir command from within Access vba Message-ID: Thanks Stuart. I felt sure that you had made this and wondered where your post had gone. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Stuart McLachlan Sendt: 13. marts 2017 13:40 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Running a Dir command from within Access vba I've got several Access applications which do a recursive directory search and them manipulate the files. This should give you a file containing a list of all the .jpg files in all the sub directories below the start directory (In this case, the start directory is the one containing the Access file, but you can change this by starting somehere other than CurrentProject.Path): Private gStrDirectories() As String Private gDirCount as long Function GetAllFiles() As Long Dim l As Long On Error Resume Next Kill CurrentProject.Path & "\FileList.txt" On Error GoTo 0 'First fill the global array with all of the sub-directories RecurseDir (CurrentProject.Path & "\*.*") 'Now get all of the desired files in the sub-directories For l = 1 To UBound(gStrDirectories()) GetJPGs (gStrDirectories(l)) Next End Function Function RecurseDir(strDirSpec As String) As Long Dim llngOnce As Long Dim llngEndSubscript As Long Dim llngStartSubscript As Long Dim strFolder As String Dim strFileName As String Dim llngCounter As Long Dim llngAttribute As Long Dim gLngPointers() As Long ' llngOnce = tag if dirs present ' llngEndSubscript = ending pointer ' llngStartSubscript = pointer to first position in array strFolder = Left$(strDirSpec, Len(strDirSpec) - 3) ' step 1 - make a list of all the dirs in this folder ' and append them to the global array ' and remember the starting point where this ' list begins strFileName = Dir$(strDirSpec, vbDirectory) Do While Len(strFileName) llngAttribute = GetAttr(strFolder & "\" & strFileName) If (llngAttribute = vbDirectory) And Right$(strFileName, 1) <> "." Then 'it's a dir gDirCount = gDirCount + 1 'tried redim preserve every 100 iterations etc but no speed increase ReDim Preserve gStrDirectories(gDirCount) ReDim Preserve gLngPointers(gDirCount) gStrDirectories(gDirCount) = strFolder + strFileName If llngOnce = 0 Then llngOnce = 1 llngStartSubscript = gDirCount ' pointer to first entry in this list End If End If strFileName = Dir$ Loop ' step 2 - if no dirs were found return 0 as the pointer value If llngOnce = 0 Then RecurseDir = 0 Exit Function End If ' step 3 - let's back up to where we started locally and moving forward ' until we reach the local end, call this function recursively, ' tagging each pointer with the starting point in the global array that ' contains the child folders. llngEndSubscript = gDirCount ' gDirCount is global and will change For llngCounter = llngStartSubscript To llngEndSubscript gLngPointers(llngCounter) = RecurseDir(gStrDirectories(llngCounter) + "\*.*") Next llngCounter ' Step 4, - return the pointer to the start of the list we just made RecurseDir = llngStartSubscript End Function Function GetJPGs(strDir As String) As String Dim strF As String strF = Dir$(strDir & "\*.jpg") While strF > " " Open CurrentProject.Path & "\FileList.txt" For Append As #1 Print #1, strF Close #1 strF = Dir$ Wend End Function On 12 Mar 2017 at 13:58, jack drawbridge wrote: > Thanks Rocky. > I've been googling and now think I need a bat file. > > I have to change Directories, run the Dir with parameters and then > output the result to a file. From Lambert.Heenan at aig.com Mon Mar 13 09:36:09 2017 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Mon, 13 Mar 2017 14:36:09 +0000 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: <58C69323.30134.2515431A@stuart.lexacorp.com.pg> References: , <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com>, <58C69323.30134.2515431A@stuart.lexacorp.com.pg> Message-ID: I use a similar approach to doing a recursive directory search, but instead of writing the file names to a text file I return them to the caller in a Collection. This is a modification of some code from Albert Kallall, in turn adapting Allen Browne... Public Function RecursiveDir(colFiles As Collection, _ strFolder As String, _ strFileSpec As String, _ bIncludeSubfolders As Boolean) Dim strTemp As String Dim colFolders As New Collection Dim vFolderName As Variant 'Add files in strFolder matching strFileSpec to colFiles If Len(strFolder) > 0 Then If Right(strFolder, 1) <> "\" Then strFolder = strFolder & "\" End If End If strTemp = Dir(strFolder & strFileSpec) Do While strTemp <> vbNullString colFiles.Add strFolder & strTemp strTemp = Dir Loop If bIncludeSubfolders Then 'Fill colFolders with list of subdirectories of strFolder strTemp = Dir(strFolder, vbDirectory) Do While strTemp <> vbNullString If (strTemp <> ".") And (strTemp <> "..") Then If (GetAttr(strFolder & strTemp) And vbDirectory) <> 0 Then colFolders.Add strTemp End If End If strTemp = Dir Loop 'Call RecursiveDir for each subfolder in colFolders For Each vFolderName In colFolders Call RecursiveDir(colFiles, strFolder & vFolderName, strFileSpec, True) Next vFolderName End If End Function Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, March 13, 2017 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Running a Dir command from within Access vba I've got several Access applications which do a recursive directory search and them manipulate the files. This should give you a file containing a list of all the .jpg files in all the sub directories below the start directory (In this case, the start directory is the one containing the Access file, but you can change this by starting somehere other than CurrentProject.Path): Private gStrDirectories() As String Private gDirCount as long Function GetAllFiles() As Long Dim l As Long On Error Resume Next Kill CurrentProject.Path & "\FileList.txt" On Error GoTo 0 'First fill the global array with all of the sub-directories RecurseDir (CurrentProject.Path & "\*.*") 'Now get all of the desired files in the sub-directories For l = 1 To UBound(gStrDirectories()) GetJPGs (gStrDirectories(l)) Next End Function Function RecurseDir(strDirSpec As String) As Long Dim llngOnce As Long Dim llngEndSubscript As Long Dim llngStartSubscript As Long Dim strFolder As String Dim strFileName As String Dim llngCounter As Long Dim llngAttribute As Long Dim gLngPointers() As Long ' llngOnce = tag if dirs present ' llngEndSubscript = ending pointer ' llngStartSubscript = pointer to first position in array strFolder = Left$(strDirSpec, Len(strDirSpec) - 3) ' step 1 - make a list of all the dirs in this folder ' and append them to the global array ' and remember the starting point where this ' list begins strFileName = Dir$(strDirSpec, vbDirectory) Do While Len(strFileName) llngAttribute = GetAttr(strFolder & "\" & strFileName) If (llngAttribute = vbDirectory) And Right$(strFileName, 1) <> "." Then 'it's a dir gDirCount = gDirCount + 1 'tried redim preserve every 100 iterations etc but no speed increase ReDim Preserve gStrDirectories(gDirCount) ReDim Preserve gLngPointers(gDirCount) gStrDirectories(gDirCount) = strFolder + strFileName If llngOnce = 0 Then llngOnce = 1 llngStartSubscript = gDirCount ' pointer to first entry in this list End If End If strFileName = Dir$ Loop ' step 2 - if no dirs were found return 0 as the pointer value If llngOnce = 0 Then RecurseDir = 0 Exit Function End If ' step 3 - let's back up to where we started locally and moving forward ' until we reach the local end, call this function recursively, ' tagging each pointer with the starting point in the global array that ' contains the child folders. llngEndSubscript = gDirCount ' gDirCount is global and will change For llngCounter = llngStartSubscript To llngEndSubscript gLngPointers(llngCounter) = RecurseDir(gStrDirectories(llngCounter) + "\*.*") Next llngCounter ' Step 4, - return the pointer to the start of the list we just made RecurseDir = llngStartSubscript End Function Function GetJPGs(strDir As String) As String Dim strF As String strF = Dir$(strDir & "\*.jpg") While strF > " " Open CurrentProject.Path & "\FileList.txt" For Append As #1 Print #1, strF Close #1 strF = Dir$ Wend End Function On 12 Mar 2017 at 13:58, jack drawbridge wrote: > Thanks Rocky. > I've been googling and now think I need a bat file. > > I have to change Directories, run the Dir with parameters and then > output the result to a file. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Mon Mar 13 10:25:58 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Mon, 13 Mar 2017 11:25:58 -0400 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: <58C69323.30134.2515431A@stuart.lexacorp.com.pg> References: <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com> <58C69323.30134.2515431A@stuart.lexacorp.com.pg> Message-ID: Thanks Stuart. Adapting it now. jack On Mon, Mar 13, 2017 at 8:40 AM, Stuart McLachlan wrote: > I've got several Access applications which do a recursive directory search > and them > manipulate the files. This should give you a file containing a list of > all the .jpg files in all the > sub directories below the start directory (In this case, the start > directory is the one containing > the Access file, but you can change this by starting somehere other than > CurrentProject.Path): > > > Private gStrDirectories() As String > Private gDirCount as long > > Function GetAllFiles() As Long > Dim l As Long > On Error Resume Next > Kill CurrentProject.Path & "\FileList.txt" > On Error GoTo 0 > 'First fill the global array with all of the sub-directories > RecurseDir (CurrentProject.Path & "\*.*") > 'Now get all of the desired files in the sub-directories > For l = 1 To UBound(gStrDirectories()) > GetJPGs (gStrDirectories(l)) > Next > End Function > > Function RecurseDir(strDirSpec As String) As Long > > Dim llngOnce As Long > Dim llngEndSubscript As Long > Dim llngStartSubscript As Long > Dim strFolder As String > Dim strFileName As String > Dim llngCounter As Long > Dim llngAttribute As Long > Dim gLngPointers() As Long > > > ' llngOnce = tag if dirs present > ' llngEndSubscript = ending pointer > ' llngStartSubscript = pointer to first position in array > > strFolder = Left$(strDirSpec, Len(strDirSpec) - 3) > > ' step 1 - make a list of all the dirs in this folder > ' and append them to the global array > ' and remember the starting point where this > ' list begins > strFileName = Dir$(strDirSpec, vbDirectory) > Do While Len(strFileName) > llngAttribute = GetAttr(strFolder & "\" & strFileName) > If (llngAttribute = vbDirectory) And Right$(strFileName, 1) <> "." > Then 'it's a dir > gDirCount = gDirCount + 1 > > 'tried redim preserve every 100 iterations etc but no speed > increase > ReDim Preserve gStrDirectories(gDirCount) > ReDim Preserve gLngPointers(gDirCount) > gStrDirectories(gDirCount) = strFolder + strFileName > If llngOnce = 0 Then > llngOnce = 1 > llngStartSubscript = gDirCount ' pointer to first entry in > this list > End If > End If > > strFileName = Dir$ > Loop > > ' step 2 - if no dirs were found return 0 as the pointer value > > If llngOnce = 0 Then > RecurseDir = 0 > Exit Function > End If > > ' step 3 - let's back up to where we started locally and moving forward > ' until we reach the local end, call this function recursively, > ' tagging each pointer with the starting point in the global array that > ' contains the child folders. > llngEndSubscript = gDirCount ' gDirCount is global and will change > > For llngCounter = llngStartSubscript To llngEndSubscript > gLngPointers(llngCounter) = RecurseDir(gStrDirectories(llngCounter) > + "\*.*") > Next llngCounter > > ' Step 4, - return the pointer to the start of the list we just made > RecurseDir = llngStartSubscript > End Function > > Function GetJPGs(strDir As String) As String > Dim strF As String > strF = Dir$(strDir & "\*.jpg") > While strF > " " > Open CurrentProject.Path & "\FileList.txt" For Append As #1 > Print #1, strF > Close #1 > strF = Dir$ > Wend > End Function > > > > > > > > On 12 Mar 2017 at 13:58, jack drawbridge wrote: > > > Thanks Rocky. > > I've been googling and now think I need a bat file. > > > > I have to change Directories, run the Dir with parameters and then > > output the result to a file. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Mon Mar 13 10:35:49 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Mon, 13 Mar 2017 11:35:49 -0400 Subject: [AccessD] Running a Dir command from within Access vba In-Reply-To: References: <001e01d29b57$d6a2cfe0$83e86fa0$@bchacc.com> <58C69323.30134.2515431A@stuart.lexacorp.com.pg> Message-ID: Thanks for the code Lambert. I'm putting in my "vba file" for reference. /jack On Mon, Mar 13, 2017 at 10:36 AM, Heenan, Lambert wrote: > I use a similar approach to doing a recursive directory search, but > instead of writing the file names to a text file I return them to the > caller in a Collection. This is a modification of some code from Albert > Kallall, in turn adapting Allen Browne... > > Public Function RecursiveDir(colFiles As Collection, _ > strFolder As String, _ > strFileSpec As String, _ > bIncludeSubfolders As Boolean) > > Dim strTemp As String > Dim colFolders As New Collection > Dim vFolderName As Variant > > 'Add files in strFolder matching strFileSpec to colFiles > > If Len(strFolder) > 0 Then > If Right(strFolder, 1) <> "\" Then > strFolder = strFolder & "\" > End If > End If > > strTemp = Dir(strFolder & strFileSpec) > Do While strTemp <> vbNullString > colFiles.Add strFolder & strTemp > strTemp = Dir > Loop > > If bIncludeSubfolders Then > 'Fill colFolders with list of subdirectories of strFolder > strTemp = Dir(strFolder, vbDirectory) > Do While strTemp <> vbNullString > If (strTemp <> ".") And (strTemp <> "..") Then > If (GetAttr(strFolder & strTemp) And vbDirectory) <> 0 Then > colFolders.Add strTemp > End If > End If > strTemp = Dir > Loop > > 'Call RecursiveDir for each subfolder in colFolders > For Each vFolderName In colFolders > Call RecursiveDir(colFiles, strFolder & vFolderName, > strFileSpec, True) > Next vFolderName > End If > End Function > > > > Lambert > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Monday, March 13, 2017 8:40 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Running a Dir command from within Access vba > > I've got several Access applications which do a recursive directory search > and them > manipulate the files. This should give you a file containing a list of > all the .jpg files in all the > sub directories below the start directory (In this case, the start > directory is the one containing the Access file, but you can change this by > starting somehere other than > CurrentProject.Path): > > > Private gStrDirectories() As String > Private gDirCount as long > > Function GetAllFiles() As Long > Dim l As Long > On Error Resume Next > Kill CurrentProject.Path & "\FileList.txt" > On Error GoTo 0 > 'First fill the global array with all of the sub-directories RecurseDir > (CurrentProject.Path & "\*.*") 'Now get all of the desired files in the > sub-directories For l = 1 To UBound(gStrDirectories()) > GetJPGs (gStrDirectories(l)) > Next > End Function > > Function RecurseDir(strDirSpec As String) As Long > > Dim llngOnce As Long > Dim llngEndSubscript As Long > Dim llngStartSubscript As Long > Dim strFolder As String > Dim strFileName As String > Dim llngCounter As Long > Dim llngAttribute As Long > Dim gLngPointers() As Long > > > ' llngOnce = tag if dirs present > ' llngEndSubscript = ending pointer > ' llngStartSubscript = pointer to first position in array > > strFolder = Left$(strDirSpec, Len(strDirSpec) - 3) > > ' step 1 - make a list of all the dirs in this folder > ' and append them to the global array > ' and remember the starting point where this > ' list begins > strFileName = Dir$(strDirSpec, vbDirectory) > Do While Len(strFileName) > llngAttribute = GetAttr(strFolder & "\" & strFileName) > If (llngAttribute = vbDirectory) And Right$(strFileName, 1) <> "." > Then 'it's a dir > gDirCount = gDirCount + 1 > > 'tried redim preserve every 100 iterations etc but no speed > increase > ReDim Preserve gStrDirectories(gDirCount) > ReDim Preserve gLngPointers(gDirCount) > gStrDirectories(gDirCount) = strFolder + strFileName > If llngOnce = 0 Then > llngOnce = 1 > llngStartSubscript = gDirCount ' pointer to first entry in > this list > End If > End If > > strFileName = Dir$ > Loop > > ' step 2 - if no dirs were found return 0 as the pointer value > > If llngOnce = 0 Then > RecurseDir = 0 > Exit Function > End If > > ' step 3 - let's back up to where we started locally and moving forward > ' until we reach the local end, call this function recursively, > ' tagging each pointer with the starting point in the global array that > ' contains the child folders. > llngEndSubscript = gDirCount ' gDirCount is global and will change > > For llngCounter = llngStartSubscript To llngEndSubscript > gLngPointers(llngCounter) = RecurseDir(gStrDirectories(llngCounter) > + "\*.*") > Next llngCounter > > ' Step 4, - return the pointer to the start of the list we just made > RecurseDir = llngStartSubscript > End Function > > Function GetJPGs(strDir As String) As String Dim strF As String > strF = Dir$(strDir & "\*.jpg") > While strF > " " > Open CurrentProject.Path & "\FileList.txt" For Append As #1 > Print #1, strF > Close #1 > strF = Dir$ > Wend > End Function > > > > > > > > On 12 Mar 2017 at 13:58, jack drawbridge wrote: > > > Thanks Rocky. > > I've been googling and now think I need a bat file. > > > > I have to change Directories, run the Dir with parameters and then > > output the result to a file. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jackandpat.d at gmail.com Mon Mar 13 10:47:58 2017 From: jackandpat.d at gmail.com (jack drawbridge) Date: Mon, 13 Mar 2017 11:47:58 -0400 Subject: [AccessD] Running Dir from Batch file in MS Access In-Reply-To: <58C6962C.4823.25212148@stuart.lexacorp.com.pg> References: <002f01d29b7e$c8370800$58a51800$@bchacc.com> <676EEC31-8445-4A4B-A3A4-42ADE4B17DDB@verizon.net> <58C6962C.4823.25212148@stuart.lexacorp.com.pg> Message-ID: Thanks to all who have responded. I am using the recursive code provided by Stuart as the base as an option to the Dir approach. Eventually, if I understand the forum poster correctly, he will be manipulating /managing about 600K images?? It isn't clear what the ultimate objective is, but he has Acc 2016 and seems keen. Thanks. On Mon, Mar 13, 2017 at 8:53 AM, Stuart McLachlan wrote: > On 12 Mar 2017 at 20:07, Jim Dettman wrote: > > > Jack, > > > > I have a "waitwhilerunning" function that I can share. All it needs > > is a windows handle, so you can shell to a batch file if you want to. > > > > No need for a handle, just pass it the command you want to run. > > Here's my standard "Wait for Shelled Application to finish" code, FWIW: > > Private Const STARTF_USESHOWWINDOW& = &H1 > Private Const NORMAL_PRIORITY_CLASS = &H20& > Private Const INFINITE = -1& > > Private Type STARTUPINFO > cb As Long > lpReserved As String > lpDesktop As String > lpTitle As String > dwX As Long > dwY As Long > dwXSize As Long > dwYSize As Long > dwXCountChars As Long > dwYCountChars As Long > dwFillAttribute As Long > dwFlags As Long > wShowWindow As Integer > cbReserved2 As Integer > lpReserved2 As Long > hStdInput As Long > hStdOutput As Long > hStdError As Long > End Type > > Private Type PROCESS_INFORMATION > hProcess As Long > hThread As Long > dwProcessID As Long > dwThreadID As Long > End Type > > Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As > Long, ByVal > dwMilliseconds As Long) As Long > > Declare Function CreateProcessA Lib "kernel32" (ByVal lpApplicationName As > Long, ByVal > lpCommandLine As String, ByVal lpProcessAttributes As Long, ByVal > lpThreadAttributes As > Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal > lpEnvironment > As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, > lpProcessInformation As PROCESS_INFORMATION) As Long > > Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long > > Public Sub ShellWait(Pathname As String, Optional WindowStyle As Long) > On Error GoTo Err_Handler > > Dim proc As PROCESS_INFORMATION > Dim start As STARTUPINFO > Dim ret As Long > > ' Initialize the STARTUPINFO structure: > With start > .cb = Len(start) > If Not IsMissing(WindowStyle) Then > .dwFlags = STARTF_USESHOWWINDOW > .wShowWindow = WindowStyle > End If > End With > ' Start the shelled application: > ret& = CreateProcessA(0&, Pathname, 0&, 0&, 1&, NORMAL_PRIORITY_CLASS, > 0&, 0&, > start, proc) > ' Wait for the shelled application to finish: > ret& = WaitForSingleObject(proc.hProcess, INFINITE) > ret& = CloseHandle(proc.hProcess) > > Exit_Here: > Exit Sub > Err_Handler: > MsgBox Err.Description, vbExclamation, "E R R O R" > Resume Exit_Here > > End Sub > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Mon Mar 13 12:48:50 2017 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 13 Mar 2017 13:48:50 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <333881872.84836723.1489348388847.JavaMail.zimbra@shaw.ca> References: <58C55DEA.6090900@Gmail.com> <58C586EB.3060203@Gmail.com> <333881872.84836723.1489348388847.JavaMail.zimbra@shaw.ca> Message-ID: I have not yet seen a video game that even vaguely compares to chess, backgammon or Go. Yeah, I guess that means that I'm an old fart. A. ? From darryl at whittleconsulting.com.au Mon Mar 13 17:52:40 2017 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 13 Mar 2017 22:52:40 +0000 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <58C55DEA.6090900@Gmail.com> References: <58C55DEA.6090900@Gmail.com> Message-ID: Thanks John, That was excellent. Regards Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 13 March, 2017 1:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] If you're into grid gaming - Lots of good stuff This guy is amazing. This is just what I am looking at now. You can easily get other places. http://www.redblobgames.com/pathfinding/a-star/introduction.html -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Mon Mar 13 18:33:39 2017 From: jwcolby at gmail.com (John Colby) Date: Mon, 13 Mar 2017 19:33:39 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: References: <58C55DEA.6090900@Gmail.com> Message-ID: <58C72C53.5070800@Gmail.com> LOL. If that "was excellent" is as in "I've read and absorbed it all" I am bowing in your general direction. ;) On 3/13/2017 6:52 PM, Darryl Collins wrote: > Thanks John, > > That was excellent. > > Regards > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: 13 March, 2017 1:41 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] If you're into grid gaming - Lots of good stuff > > This guy is amazing. This is just what I am looking at now. You can easily get other places. > > http://www.redblobgames.com/pathfinding/a-star/introduction.html > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby From accessd at shaw.ca Mon Mar 13 19:19:43 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 13 Mar 2017 18:19:43 -0600 (MDT) Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: References: <58C55DEA.6090900@Gmail.com> <58C586EB.3060203@Gmail.com> <333881872.84836723.1489348388847.JavaMail.zimbra@shaw.ca> Message-ID: <1113156431.88987270.1489450783250.JavaMail.zimbra@shaw.ca> Sorry in advance for deviating from Access Development but the post like the ball had to played where it was found. ;-) Many of these great visual online adventure games are built upon great games like chess, backgammon or Go. Though I do not play these computer games, as a rule, many are not just shoot'em up games but games built upon careful long-term strategy. Here is a new adventure game brought to my attention that may just be such a contender: https://www.youtube.com/watch?v=Ts9WLMSAYVE Jim ----- Original Message ----- From: "Arthur Fuller" gmail.com> To: "Access Developers discussion and problem solving" Sent: Monday, March 13, 2017 10:48:50 AM Subject: Re: [AccessD] If you're into grid gaming - Lots of good stuff I have not yet seen a video game that even vaguely compares to chess, backgammon or Go. Yeah, I guess that means that I'm an old fart. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Mon Mar 13 19:24:10 2017 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 14 Mar 2017 00:24:10 +0000 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <58C72C53.5070800@Gmail.com> References: <58C55DEA.6090900@Gmail.com> <58C72C53.5070800@Gmail.com> Message-ID: Hahahaha... Nah... No such bowing / accolades for me John. "That was excellent" was because the article was the most understandable and well-presented document I have read for a while and the animations made it easier to grasp the concepts he was presenting. Whilst I did read it all, I am a very long way from "absorbed it all" (and nowhere near "understood it"). ? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 14 March 2017 10:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] If you're into grid gaming - Lots of good stuff LOL. If that "was excellent" is as in "I've read and absorbed it all" I am bowing in your general direction. ;) On 3/13/2017 6:52 PM, Darryl Collins wrote: > Thanks John, > > That was excellent. > > Regards > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of John Colby > Sent: 13 March, 2017 1:41 AM > To: Access Developers discussion and problem solving > > Subject: [AccessD] If you're into grid gaming - Lots of good stuff > > This guy is amazing. This is just what I am looking at now. You can easily get other places. > > http://www.redblobgames.com/pathfinding/a-star/introduction.html > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Tue Mar 14 22:22:59 2017 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 14 Mar 2017 23:22:59 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <1113156431.88987270.1489450783250.JavaMail.zimbra@shaw.ca> References: <58C55DEA.6090900@Gmail.com> <58C586EB.3060203@Gmail.com> <333881872.84836723.1489348388847.JavaMail.zimbra@shaw.ca> <1113156431.88987270.1489450783250.JavaMail.zimbra@shaw.ca> Message-ID: I notice that waking up an Access developer out of cryo-sleep to help you store all of armament details was not one of the offered options. Shame really. On Mon, Mar 13, 2017 at 8:19 PM, Jim Lawrence wrote: > Sorry in advance for deviating from Access Development but the post like > the ball had to played where it was found. ;-) > > Many of these great visual online adventure games are built upon great > games like chess, backgammon or Go. Though I do not play these computer > games, as a rule, many are not just shoot'em up games but games built upon > careful long-term strategy. Here is a new adventure game brought to my > attention that may just be such a contender: > > https://www.youtube.com/watch?v=Ts9WLMSAYVE > > Jim > > ----- Original Message ----- > From: "Arthur Fuller" gmail.com> > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Monday, March 13, 2017 10:48:50 AM > Subject: Re: [AccessD] If you're into grid gaming - Lots of good stuff > > I have not yet seen a video game that even vaguely compares to chess, > backgammon or Go. Yeah, I guess that means that I'm an old fart. > > A. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Tue Mar 14 22:27:40 2017 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 14 Mar 2017 23:27:40 -0400 Subject: [AccessD] If you're into grid gaming - Lots of good stuff In-Reply-To: <58C55DEA.6090900@Gmail.com> References: <58C55DEA.6090900@Gmail.com> Message-ID: what ever happened to old fashioned drunken sailor's walk? Works for me every time. You've sunk my battleship! On Sun, Mar 12, 2017 at 10:40 AM, John Colby wrote: > This guy is amazing. This is just what I am looking at now. You can > easily get other places. > > http://www.redblobgames.com/pathfinding/a-star/introduction.html > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jamesbutton at blueyonder.co.uk Wed Mar 15 12:11:16 2017 From: jamesbutton at blueyonder.co.uk (James Button) Date: Wed, 15 Mar 2017 17:11:16 -0000 Subject: [AccessD] Running Dir from Batch file in MSAccess References: Message-ID: A bit late - but I have just been reminded that: Windoze loads a .bat file into memory, and may continue processing 'lines' from the original content even though the content may have been changed, There is NO implied WAIT in a .bat files command processing - as in the second command will be run, and fail because the first is still being actioned in a sequence of rmdir xx mkdir xx see /wait and the & and && operators JimB -----Original Message----- From: James Button [mailto:jamesbutton at blueyonder.co.uk] Sent: Sunday, March 12, 2017 10:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Running Dir from Batch file in MSAccess I'll add some notes to the bat file usage - or maybe .cmd Firstly you can setup a single bat (or .cmd) file and feed it parameters on the call As in a command dir %1 %2 >%3 And the call will be "ee.bat ""folder"" ""options"" ""outputfile""" Secondly - remember that is a bat process - so you will need to have a sufficient delay or wait process to allow it to work Thirdly note the doubled "" within the outer bounding " pair Foldernames etc. that contain spaces need to be bounded And - finally, look at the FOR command and it's options JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Sunday, March 12, 2017 8:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Running Dir from Batch file in MSAccess Jim, I was trying to respond and say I agree that its a fast method. However, the person I'm trying to help is not familiar with vba. I got a flag on your email saying it is marked as spam?? So I'm starting again. I am not experienced with Bat file from Access. I have had no luck with google nor the forums I participate in. I was trying to get a list of image files (jpg) and felt a simple Access form with a Shell cmd would hide most everything. But as always Simple has various meanings!!! jack -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach.db at gmail.com Wed Mar 15 15:52:02 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Wed, 15 Mar 2017 15:52:02 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 Message-ID: Hello all. My company is still on Office 2007, but the mandate came down last week that everyone will be upgraded to 2016. The licenses have been purchased and deployed, and we're supposed to upgrade everyone ASAP. I've had issues in the past with mis-matched references: I upgraded to Outlook 2010, for example, to try and cure some outlook woes I had. But when I made changes to one of my access apps, it 'broke' on the end-user's computer: the reference to the Microsoft Office Object Library 14.0 couldn't be found on the user's machine because they were still on the version with Object Library 12.0 Can you give me some guidelines for how we go about making this upgrade as gracefully as possible? It's going to take us a good week to update the users/computers that need to be upgraded, and I KNOW we're going to have instances with references mis-matches before everyone can be brought to the same version of office. And I suspect that we'll also have VBA code issues with some of the Excel apps we have out there - antiquated code that uses functions or references that won't work in 2016. Any suggestions for us? Please???? Thanks. Janet Erbach Federal Mogul From rockysmolin at bchacc.com Wed Mar 15 16:52:08 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 15 Mar 2017 14:52:08 -0700 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> Janet: The only sure way I know of avoiding 'broken reference syndrome' is to convert the app from early binding to late binding. Then the right library will be referenced at run time instead of during code compile. And, in my experience, it only happens when an app's code compiled on a later version of Access runs on an earlier version. So an app developed on 07 should run just fine on 16. Depends, of course, on how many places you are using early binding and so how many places the code needs to be changed. If many, it might just be easier to solve the problems one at a time until everybody is on board with 16. I'm assuming that all the apps run on the client machine and are linked to a back end on the server. In that case you might not have to do anything at all to your apps. IOW, don't compile your apps on 16 and distribute. Just upgrade the client to 16 and run. Maybe there won't be any conversion needed. That sounds too easy so it probably won't work. :) How about not upgrading the apps to the client until they are up on 16? Have you tested the current 07 versions on 16 and found any problems? HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, March 15, 2017 1:52 PM To: Database Advisors Cc: Michael.Zimmer at federalmogul.com; Steve Erbach Subject: [AccessD] Converting from Access 2007 to 2016 Hello all. My company is still on Office 2007, but the mandate came down last week that everyone will be upgraded to 2016. The licenses have been purchased and deployed, and we're supposed to upgrade everyone ASAP. I've had issues in the past with mis-matched references: I upgraded to Outlook 2010, for example, to try and cure some outlook woes I had. But when I made changes to one of my access apps, it 'broke' on the end-user's computer: the reference to the Microsoft Office Object Library 14.0 couldn't be found on the user's machine because they were still on the version with Object Library 12.0 Can you give me some guidelines for how we go about making this upgrade as gracefully as possible? It's going to take us a good week to update the users/computers that need to be upgraded, and I KNOW we're going to have instances with references mis-matches before everyone can be brought to the same version of office. And I suspect that we'll also have VBA code issues with some of the Excel apps we have out there - antiquated code that uses functions or references that won't work in 2016. Any suggestions for us? Please???? Thanks. Janet Erbach Federal Mogul -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Wed Mar 15 17:02:51 2017 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 15 Mar 2017 22:02:51 +0000 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> References: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> Message-ID: Hi Janet, One positive thing is that Access 2016 has been super stable and reliable, at least in my role and what I ask of it. Which makes a change as usually Access is the lonely bastard child of the office suite and tended to fall over randomly and crash. From memory, Access 2007 was less than stellar when it was launched. (it has been many years since I used it - maybe it has gotten better over the years?). For what it is worth, I find Excel 2016 is more problematic and buggy than Access these days. Generally you should be good. Regards Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 16 March, 2017 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Converting from Access 2007 to 2016 Janet: The only sure way I know of avoiding 'broken reference syndrome' is to convert the app from early binding to late binding. Then the right library will be referenced at run time instead of during code compile. And, in my experience, it only happens when an app's code compiled on a later version of Access runs on an earlier version. So an app developed on 07 should run just fine on 16. Depends, of course, on how many places you are using early binding and so how many places the code needs to be changed. If many, it might just be easier to solve the problems one at a time until everybody is on board with 16. I'm assuming that all the apps run on the client machine and are linked to a back end on the server. In that case you might not have to do anything at all to your apps. IOW, don't compile your apps on 16 and distribute. Just upgrade the client to 16 and run. Maybe there won't be any conversion needed. That sounds too easy so it probably won't work. :) How about not upgrading the apps to the client until they are up on 16? Have you tested the current 07 versions on 16 and found any problems? HTH Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, March 15, 2017 1:52 PM To: Database Advisors Cc: Michael.Zimmer at federalmogul.com; Steve Erbach Subject: [AccessD] Converting from Access 2007 to 2016 Hello all. My company is still on Office 2007, but the mandate came down last week that everyone will be upgraded to 2016. The licenses have been purchased and deployed, and we're supposed to upgrade everyone ASAP. I've had issues in the past with mis-matched references: I upgraded to Outlook 2010, for example, to try and cure some outlook woes I had. But when I made changes to one of my access apps, it 'broke' on the end-user's computer: the reference to the Microsoft Office Object Library 14.0 couldn't be found on the user's machine because they were still on the version with Object Library 12.0 Can you give me some guidelines for how we go about making this upgrade as gracefully as possible? It's going to take us a good week to update the users/computers that need to be upgraded, and I KNOW we're going to have instances with references mis-matches before everyone can be brought to the same version of office. And I suspect that we'll also have VBA code issues with some of the Excel apps we have out there - antiquated code that uses functions or references that won't work in 2016. Any suggestions for us? Please???? Thanks. Janet Erbach Federal Mogul -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Wed Mar 15 19:48:13 2017 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 15 Mar 2017 17:48:13 -0700 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: This doesn't exactly answer your question, but when one of my clients upgraded from Office 2007 to Office 2013, we had no problems at all with Access. In fact, there are still a couple of machines running 2007 and I haven't had to worry about making any special allowances for them. Doug On Wed, Mar 15, 2017 at 1:52 PM, Janet Erbach wrote: > Hello all. My company is still on Office 2007, but the mandate came down > last week that everyone will be upgraded to 2016. The licenses have been > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > I've had issues in the past with mis-matched references: I upgraded to > Outlook 2010, for example, to try and cure some outlook woes I had. But > when I made changes to one of my access apps, it 'broke' on the end-user's > computer: the reference to the Microsoft Office Object Library 14.0 > couldn't be found on the user's machine because they were still on the > version with Object Library 12.0 > > Can you give me some guidelines for how we go about making this upgrade as > gracefully as possible? It's going to take us a good week to update the > users/computers that need to be upgraded, and I KNOW we're going to have > instances with references mis-matches before everyone can be brought to the > same version of office. And I suspect that we'll also have VBA code issues > with some of the Excel apps we have out there - antiquated code that uses > functions or references that won't work in 2016. > > Any suggestions for us? Please???? Thanks. > > Janet Erbach > Federal Mogul > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jerbach.db at gmail.com Wed Mar 15 20:18:18 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Wed, 15 Mar 2017 20:18:18 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> Message-ID: Darryl - well, that is very good to hear! I will take that attitude, then - that the upgrade will be worth whatever tribulations I may have to endure during the conversion. Thank you! On Wed, Mar 15, 2017 at 5:02 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > Hi Janet, > > One positive thing is that Access 2016 has been super stable and reliable, > at least in my role and what I ask of it. Which makes a change as usually > Access is the lonely bastard child of the office suite and tended to fall > over randomly and crash. From memory, Access 2007 was less than stellar > when it was launched. (it has been many years since I used it - maybe it > has gotten better over the years?). > > For what it is worth, I find Excel 2016 is more problematic and buggy than > Access these days. > > Generally you should be good. > > Regards > Darryl. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin > Sent: 16 March, 2017 8:52 AM > To: 'Access Developers discussion and problem solving' < > accessd at databaseadvisors.com> > Subject: Re: [AccessD] Converting from Access 2007 to 2016 > > Janet: > > The only sure way I know of avoiding 'broken reference syndrome' is to > convert the app from early binding to late binding. Then the right library > will be referenced at run time instead of during code compile. > > And, in my experience, it only happens when an app's code compiled on a > later version of Access runs on an earlier version. So an app developed on > 07 should run just fine on 16. > > Depends, of course, on how many places you are using early binding and so > how many places the code needs to be changed. If many, it might just be > easier to solve the problems one at a time until everybody is on board with > 16. > > I'm assuming that all the apps run on the client machine and are linked to > a back end on the server. In that case you might not have to do anything > at all to your apps. IOW, don't compile your apps on 16 and distribute. > Just upgrade the client to 16 and run. Maybe there won't be any conversion > needed. That sounds too easy so it probably won't work. :) > > How about not upgrading the apps to the client until they are up on 16? > > Have you tested the current 07 versions on 16 and found any problems? > > HTH > > Rocky > > > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Janet Erbach > Sent: Wednesday, March 15, 2017 1:52 PM > To: Database Advisors > Cc: Michael.Zimmer at federalmogul.com; Steve Erbach > Subject: [AccessD] Converting from Access 2007 to 2016 > > Hello all. My company is still on Office 2007, but the mandate came down > last week that everyone will be upgraded to 2016. The licenses have been > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > I've had issues in the past with mis-matched references: I upgraded to > Outlook 2010, for example, to try and cure some outlook woes I had. But > when I made changes to one of my access apps, it 'broke' on the end-user's > computer: the reference to the Microsoft Office Object Library 14.0 > couldn't be found on the user's machine because they were still on the > version with Object Library 12.0 > > Can you give me some guidelines for how we go about making this upgrade as > gracefully as possible? It's going to take us a good week to update the > users/computers that need to be upgraded, and I KNOW we're going to have > instances with references mis-matches before everyone can be brought to the > same version of office. And I suspect that we'll also have VBA code issues > with some of the Excel apps we have out there - antiquated code that uses > functions or references that won't work in 2016. > > Any suggestions for us? Please???? Thanks. > > Janet Erbach > Federal Mogul > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jerbach.db at gmail.com Wed Mar 15 20:22:31 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Wed, 15 Mar 2017 20:22:31 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> References: <00e201d29dd6$64db6df0$2e9249d0$@bchacc.com> Message-ID: Rocky - ok, I'll look into the late binding possibilities. But I think you're suggestion to just wait until everyone is switched over is perfect. Now that I think of it, I won't have time to be dinking around with code while we're switching everyone over anyway...so it should be nice and clean that way. I haven't done any testing yet - the 2016 license was just pushed out to me today, and I have no intention of upgrading myself until we have a deployment plan. And now I think my plan is to be the last 2007 office standing, as it were. Thanks for the suggestions! Janet On Wed, Mar 15, 2017 at 4:52 PM, Rocky Smolin wrote: > Janet: > > The only sure way I know of avoiding 'broken reference syndrome' is to > convert the app from early binding to late binding. Then the right library > will be referenced at run time instead of during code compile. > > And, in my experience, it only happens when an app's code compiled on a > later version of Access runs on an earlier version. So an app developed on > 07 should run just fine on 16. > > Depends, of course, on how many places you are using early binding and so > how many places the code needs to be changed. If many, it might just be > easier to solve the problems one at a time until everybody is on board with > 16. > > I'm assuming that all the apps run on the client machine and are linked to > a > back end on the server. In that case you might not have to do anything at > all to your apps. IOW, don't compile your apps on 16 and distribute. Just > upgrade the client to 16 and run. Maybe there won't be any conversion > needed. That sounds too easy so it probably won't work. :) > > How about not upgrading the apps to the client until they are up on 16? > > Have you tested the current 07 versions on 16 and found any problems? > > HTH > > Rocky > > > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Janet Erbach > Sent: Wednesday, March 15, 2017 1:52 PM > To: Database Advisors > Cc: Michael.Zimmer at federalmogul.com; Steve Erbach > Subject: [AccessD] Converting from Access 2007 to 2016 > > Hello all. My company is still on Office 2007, but the mandate came down > last week that everyone will be upgraded to 2016. The licenses have been > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > I've had issues in the past with mis-matched references: I upgraded to > Outlook 2010, for example, to try and cure some outlook woes I had. But > when I made changes to one of my access apps, it 'broke' on the end-user's > computer: the reference to the Microsoft Office Object Library 14.0 > couldn't be found on the user's machine because they were still on the > version with Object Library 12.0 > > Can you give me some guidelines for how we go about making this upgrade as > gracefully as possible? It's going to take us a good week to update the > users/computers that need to be upgraded, and I KNOW we're going to have > instances with references mis-matches before everyone can be brought to the > same version of office. And I suspect that we'll also have VBA code issues > with some of the Excel apps we have out there - antiquated code that uses > functions or references that won't work in 2016. > > Any suggestions for us? Please???? Thanks. > > Janet Erbach > Federal Mogul > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Mar 16 06:33:25 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 16 Mar 2017 07:33:25 -0400 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> Janet, Moving from 2007 to 2016 you should find a fairly smooth process. However starting with A2013, a number of features were removed: 1. dbf support 2. support for Jet 3.x DB's 3. e-mail data collection feature 4. ADP's are the high points. The rest are covered here. https://support.office.com/en-us/article/Discontinued-features-and-modified- functionality-in-Access-2013-BC006FC3-5B48-499E-8C7D-9A2DFEF68E2F If your not using any of those features, then you'll be fine and it will be painless. On references, as long as you continue to have A2007 folks, continue to develop in A2007. The basic references that Access uses will automatically "up version" when opened with A2016. You cannot do the reverse however; develop in A2016 and have someone with A2007 open the DB. The references will not automatically down version. If you set references beyond those basic ones (ie. Outlook), then you'll need to be careful. Late binding is the best as the others have said, but if you wanted, you could maintain two versions of the app while converting everyone. Late binding does give a performance hit of about 15%, but that's the route most go anyway. With late binding, you can continue to develop one version in A2007 for everyone. Of course before you try anything, make sure your apps compile cleanly in 2007 and save off copies of everything. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, March 15, 2017 04:52 PM To: Database Advisors Cc: Michael.Zimmer at federalmogul.com; Steve Erbach Subject: [AccessD] Converting from Access 2007 to 2016 Hello all. My company is still on Office 2007, but the mandate came down last week that everyone will be upgraded to 2016. The licenses have been purchased and deployed, and we're supposed to upgrade everyone ASAP. I've had issues in the past with mis-matched references: I upgraded to Outlook 2010, for example, to try and cure some outlook woes I had. But when I made changes to one of my access apps, it 'broke' on the end-user's computer: the reference to the Microsoft Office Object Library 14.0 couldn't be found on the user's machine because they were still on the version with Object Library 12.0 Can you give me some guidelines for how we go about making this upgrade as gracefully as possible? It's going to take us a good week to update the users/computers that need to be upgraded, and I KNOW we're going to have instances with references mis-matches before everyone can be brought to the same version of office. And I suspect that we'll also have VBA code issues with some of the Excel apps we have out there - antiquated code that uses functions or references that won't work in 2016. Any suggestions for us? Please???? Thanks. Janet Erbach Federal Mogul -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Mar 16 06:51:20 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 16 Mar 2017 07:51:20 -0400 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> References: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> Message-ID: Janet, One other caution; I *hope* they are sticking with Office in 32 bit mode and not using the 64 bit version. Starting with A2010, Office can come two ways; 32 and 64 bit. 64 bit doesn't buy you much, and you loose a lot. You also can't mix 32 and 64 bit components (say Access 32 bit and Excel 64 bit). It's either one or the other. Last, make sure they are aware that you cannot mix Office 365 Click to Run install and traditional MSI installs. Again, one or the other. For example, you can't get Office 365 with everything but Access, then install Access as a standalone product with a MSI install. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, March 16, 2017 07:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Converting from Access 2007 to 2016 Janet, Moving from 2007 to 2016 you should find a fairly smooth process. However starting with A2013, a number of features were removed: 1. dbf support 2. support for Jet 3.x DB's 3. e-mail data collection feature 4. ADP's are the high points. The rest are covered here. https://support.office.com/en-us/article/Discontinued-features-and-modified- functionality-in-Access-2013-BC006FC3-5B48-499E-8C7D-9A2DFEF68E2F If your not using any of those features, then you'll be fine and it will be painless. On references, as long as you continue to have A2007 folks, continue to develop in A2007. The basic references that Access uses will automatically "up version" when opened with A2016. You cannot do the reverse however; develop in A2016 and have someone with A2007 open the DB. The references will not automatically down version. If you set references beyond those basic ones (ie. Outlook), then you'll need to be careful. Late binding is the best as the others have said, but if you wanted, you could maintain two versions of the app while converting everyone. Late binding does give a performance hit of about 15%, but that's the route most go anyway. With late binding, you can continue to develop one version in A2007 for everyone. Of course before you try anything, make sure your apps compile cleanly in 2007 and save off copies of everything. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, March 15, 2017 04:52 PM To: Database Advisors Cc: Michael.Zimmer at federalmogul.com; Steve Erbach Subject: [AccessD] Converting from Access 2007 to 2016 Hello all. My company is still on Office 2007, but the mandate came down last week that everyone will be upgraded to 2016. The licenses have been purchased and deployed, and we're supposed to upgrade everyone ASAP. I've had issues in the past with mis-matched references: I upgraded to Outlook 2010, for example, to try and cure some outlook woes I had. But when I made changes to one of my access apps, it 'broke' on the end-user's computer: the reference to the Microsoft Office Object Library 14.0 couldn't be found on the user's machine because they were still on the version with Object Library 12.0 Can you give me some guidelines for how we go about making this upgrade as gracefully as possible? It's going to take us a good week to update the users/computers that need to be upgraded, and I KNOW we're going to have instances with references mis-matches before everyone can be brought to the same version of office. And I suspect that we'll also have VBA code issues with some of the Excel apps we have out there - antiquated code that uses functions or references that won't work in 2016. Any suggestions for us? Please???? Thanks. Janet Erbach Federal Mogul -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jerbach.db at gmail.com Thu Mar 16 09:26:53 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Thu, 16 Mar 2017 09:26:53 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: Doug - that's good to hear. Did you happen to have any issues with Excel vba code that had been written in 2007? Or did that not apply to that client site? Janet On Wed, Mar 15, 2017 at 7:48 PM, Doug Steele wrote: > This doesn't exactly answer your question, but when one of my clients > upgraded from Office 2007 to Office 2013, we had no problems at all with > Access. In fact, there are still a couple of machines running 2007 and I > haven't had to worry about making any special allowances for them. > > Doug > > On Wed, Mar 15, 2017 at 1:52 PM, Janet Erbach > wrote: > > > Hello all. My company is still on Office 2007, but the mandate came down > > last week that everyone will be upgraded to 2016. The licenses have been > > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > > > I've had issues in the past with mis-matched references: I upgraded to > > Outlook 2010, for example, to try and cure some outlook woes I had. But > > when I made changes to one of my access apps, it 'broke' on the > end-user's > > computer: the reference to the Microsoft Office Object Library 14.0 > > couldn't be found on the user's machine because they were still on the > > version with Object Library 12.0 > > > > Can you give me some guidelines for how we go about making this upgrade > as > > gracefully as possible? It's going to take us a good week to update the > > users/computers that need to be upgraded, and I KNOW we're going to have > > instances with references mis-matches before everyone can be brought to > the > > same version of office. And I suspect that we'll also have VBA code > issues > > with some of the Excel apps we have out there - antiquated code that uses > > functions or references that won't work in 2016. > > > > Any suggestions for us? Please???? Thanks. > > > > Janet Erbach > > Federal Mogul > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 jerbach.db at gmail.com Thu Mar 16 09:32:57 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Thu, 16 Mar 2017 09:32:57 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> Message-ID: Jim - thank you for all your comments and for the link. We ARE sticking with 32 bit Office - that is one issue I am aware of. Would you please explain this a little more, though? Last, make sure they are aware that you cannot mix Office 365 Click to Run install and traditional MSI installs. If we use the Office 365 interface to install, say, Word and Excel on a user's computer, we must ALSO use the 365 interface to install Access on that same machine at a later date? What happens if you try to install Access with an MSI when other parts of office have been installed with 365? Janet On Thu, Mar 16, 2017 at 6:51 AM, Jim Dettman wrote: > Janet, > > One other caution; I *hope* they are sticking with Office in 32 bit mode > and > not using the 64 bit version. > > Starting with A2010, Office can come two ways; 32 and 64 bit. > > 64 bit doesn't buy you much, and you loose a lot. You also can't mix 32 > and 64 bit components (say Access 32 bit and Excel 64 bit). It's either > one or the other. > > Last, make sure they are aware that you cannot mix Office 365 Click to Run > install and traditional MSI installs. > > Again, one or the other. For example, you can't get Office 365 with > everything but Access, then install Access as a standalone product with a > MSI install. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim > Dettman > Sent: Thursday, March 16, 2017 07:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Converting from Access 2007 to 2016 > > Janet, > > Moving from 2007 to 2016 you should find a fairly smooth process. > > However starting with A2013, a number of features were removed: > > 1. dbf support > 2. support for Jet 3.x DB's > 3. e-mail data collection feature > 4. ADP's > > are the high points. The rest are covered here. > > https://support.office.com/en-us/article/Discontinued- > features-and-modified- > functionality-in-Access-2013-BC006FC3-5B48-499E-8C7D-9A2DFEF68E2F > > If your not using any of those features, then you'll be fine and it will > be > painless. > > On references, as long as you continue to have A2007 folks, continue to > develop in A2007. The basic references that Access uses will automatically > "up version" when opened with A2016. You cannot do the reverse however; > develop in A2016 and have someone with A2007 open the DB. The references > will not automatically down version. > > If you set references beyond those basic ones (ie. Outlook), then you'll > need to be careful. Late binding is the best as the others have said, but > if you wanted, you could maintain two versions of the app while converting > everyone. Late binding does give a performance hit of about 15%, but > that's > the route most go anyway. With late binding, you can continue to develop > one version in A2007 for everyone. > > Of course before you try anything, make sure your apps compile cleanly in > 2007 and save off copies of everything. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Janet Erbach > Sent: Wednesday, March 15, 2017 04:52 PM > To: Database Advisors > Cc: Michael.Zimmer at federalmogul.com; Steve Erbach > Subject: [AccessD] Converting from Access 2007 to 2016 > > Hello all. My company is still on Office 2007, but the mandate came down > last week that everyone will be upgraded to 2016. The licenses have been > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > I've had issues in the past with mis-matched references: I upgraded to > Outlook 2010, for example, to try and cure some outlook woes I had. But > when I made changes to one of my access apps, it 'broke' on the end-user's > computer: the reference to the Microsoft Office Object Library 14.0 > couldn't be found on the user's machine because they were still on the > version with Object Library 12.0 > > Can you give me some guidelines for how we go about making this upgrade as > gracefully as possible? It's going to take us a good week to update the > users/computers that need to be upgraded, and I KNOW we're going to have > instances with references mis-matches before everyone can be brought to the > same version of office. And I suspect that we'll also have VBA code issues > with some of the Excel apps we have out there - antiquated code that uses > functions or references that won't work in 2016. > > Any suggestions for us? Please???? Thanks. > > Janet Erbach > Federal Mogul > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Thu Mar 16 09:47:01 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 16 Mar 2017 10:47:01 -0400 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> Message-ID: <> That is correct. << What happens if you try to install Access with an MSI when other parts of office have been installed with 365?>> See the following for the details: https://support.office.com/en-us/article/Office-installed-with-Click-to-Run- and-Windows-Installer-on-same-computer-isn-t-supported-30775ef4-fa77-4f47-98 fb-c5826a6926cd Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Thursday, March 16, 2017 10:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Converting from Access 2007 to 2016 Jim - thank you for all your comments and for the link. We ARE sticking with 32 bit Office - that is one issue I am aware of. Would you please explain this a little more, though? Last, make sure they are aware that you cannot mix Office 365 Click to Run install and traditional MSI installs. If we use the Office 365 interface to install, say, Word and Excel on a user's computer, we must ALSO use the 365 interface to install Access on that same machine at a later date? What happens if you try to install Access with an MSI when other parts of office have been installed with 365? Janet On Thu, Mar 16, 2017 at 6:51 AM, Jim Dettman wrote: > Janet, > > One other caution; I *hope* they are sticking with Office in 32 bit mode > and > not using the 64 bit version. > > Starting with A2010, Office can come two ways; 32 and 64 bit. > > 64 bit doesn't buy you much, and you loose a lot. You also can't mix 32 > and 64 bit components (say Access 32 bit and Excel 64 bit). It's either > one or the other. > > Last, make sure they are aware that you cannot mix Office 365 Click to Run > install and traditional MSI installs. > > Again, one or the other. For example, you can't get Office 365 with > everything but Access, then install Access as a standalone product with a > MSI install. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Jim > Dettman > Sent: Thursday, March 16, 2017 07:33 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Converting from Access 2007 to 2016 > > Janet, > > Moving from 2007 to 2016 you should find a fairly smooth process. > > However starting with A2013, a number of features were removed: > > 1. dbf support > 2. support for Jet 3.x DB's > 3. e-mail data collection feature > 4. ADP's > > are the high points. The rest are covered here. > > https://support.office.com/en-us/article/Discontinued- > features-and-modified- > functionality-in-Access-2013-BC006FC3-5B48-499E-8C7D-9A2DFEF68E2F > > If your not using any of those features, then you'll be fine and it will > be > painless. > > On references, as long as you continue to have A2007 folks, continue to > develop in A2007. The basic references that Access uses will automatically > "up version" when opened with A2016. You cannot do the reverse however; > develop in A2016 and have someone with A2007 open the DB. The references > will not automatically down version. > > If you set references beyond those basic ones (ie. Outlook), then you'll > need to be careful. Late binding is the best as the others have said, but > if you wanted, you could maintain two versions of the app while converting > everyone. Late binding does give a performance hit of about 15%, but > that's > the route most go anyway. With late binding, you can continue to develop > one version in A2007 for everyone. > > Of course before you try anything, make sure your apps compile cleanly in > 2007 and save off copies of everything. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Janet Erbach > Sent: Wednesday, March 15, 2017 04:52 PM > To: Database Advisors > Cc: Michael.Zimmer at federalmogul.com; Steve Erbach > Subject: [AccessD] Converting from Access 2007 to 2016 > > Hello all. My company is still on Office 2007, but the mandate came down > last week that everyone will be upgraded to 2016. The licenses have been > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > I've had issues in the past with mis-matched references: I upgraded to > Outlook 2010, for example, to try and cure some outlook woes I had. But > when I made changes to one of my access apps, it 'broke' on the end-user's > computer: the reference to the Microsoft Office Object Library 14.0 > couldn't be found on the user's machine because they were still on the > version with Object Library 12.0 > > Can you give me some guidelines for how we go about making this upgrade as > gracefully as possible? It's going to take us a good week to update the > users/computers that need to be upgraded, and I KNOW we're going to have > instances with references mis-matches before everyone can be brought to the > same version of office. And I suspect that we'll also have VBA code issues > with some of the Excel apps we have out there - antiquated code that uses > functions or references that won't work in 2016. > > Any suggestions for us? Please???? Thanks. > > Janet Erbach > Federal Mogul > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jerbach.db at gmail.com Thu Mar 16 09:59:40 2017 From: jerbach.db at gmail.com (Janet Erbach) Date: Thu, 16 Mar 2017 09:59:40 -0500 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: <8EB180D3F5AE48749E32CBBD3D3C4925@XPS> Message-ID: Very good. Thank you for clarifying that, Jim. On Thu, Mar 16, 2017 at 9:47 AM, Jim Dettman wrote: > < user's computer, we must ALSO use the 365 interface to install Access on > that same machine at a later date?>> > > That is correct. > > << What happens if you try to install > Access with an MSI when other parts of office have been installed with > 365?>> > > See the following for the details: > > https://support.office.com/en-us/article/Office-installed- > with-Click-to-Run- > and-Windows-Installer-on-same-computer-isn-t-supported- > 30775ef4-fa77-4f47-98 > fb-c5826a6926cd > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Janet Erbach > Sent: Thursday, March 16, 2017 10:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Converting from Access 2007 to 2016 > > Jim - thank you for all your comments and for the link. We ARE sticking > with 32 bit Office - that is one issue I am aware of. Would you please > explain this a little more, though? > > Last, make sure they are aware that you cannot mix Office 365 Click to Run > install and traditional MSI installs. > > If we use the Office 365 interface to install, say, Word and Excel on a > user's computer, we must ALSO use the 365 interface to install Access on > that same machine at a later date? What happens if you try to install > Access with an MSI when other parts of office have been installed with 365? > > Janet > > On Thu, Mar 16, 2017 at 6:51 AM, Jim Dettman > wrote: > > > Janet, > > > > One other caution; I *hope* they are sticking with Office in 32 bit mode > > and > > not using the 64 bit version. > > > > Starting with A2010, Office can come two ways; 32 and 64 bit. > > > > 64 bit doesn't buy you much, and you loose a lot. You also can't mix 32 > > and 64 bit components (say Access 32 bit and Excel 64 bit). It's either > > one or the other. > > > > Last, make sure they are aware that you cannot mix Office 365 Click to > Run > > install and traditional MSI installs. > > > > Again, one or the other. For example, you can't get Office 365 with > > everything but Access, then install Access as a standalone product with a > > MSI install. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Jim > > Dettman > > Sent: Thursday, March 16, 2017 07:33 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Converting from Access 2007 to 2016 > > > > Janet, > > > > Moving from 2007 to 2016 you should find a fairly smooth process. > > > > However starting with A2013, a number of features were removed: > > > > 1. dbf support > > 2. support for Jet 3.x DB's > > 3. e-mail data collection feature > > 4. ADP's > > > > are the high points. The rest are covered here. > > > > https://support.office.com/en-us/article/Discontinued- > > features-and-modified- > > functionality-in-Access-2013-BC006FC3-5B48-499E-8C7D-9A2DFEF68E2F > > > > If your not using any of those features, then you'll be fine and it will > > be > > painless. > > > > On references, as long as you continue to have A2007 folks, continue to > > develop in A2007. The basic references that Access uses will > automatically > > "up version" when opened with A2016. You cannot do the reverse however; > > develop in A2016 and have someone with A2007 open the DB. The references > > will not automatically down version. > > > > If you set references beyond those basic ones (ie. Outlook), then > you'll > > need to be careful. Late binding is the best as the others have said, > but > > if you wanted, you could maintain two versions of the app while > converting > > everyone. Late binding does give a performance hit of about 15%, but > > that's > > the route most go anyway. With late binding, you can continue to > develop > > one version in A2007 for everyone. > > > > Of course before you try anything, make sure your apps compile cleanly > in > > 2007 and save off copies of everything. > > > > Jim. > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Janet Erbach > > Sent: Wednesday, March 15, 2017 04:52 PM > > To: Database Advisors > > Cc: Michael.Zimmer at federalmogul.com; Steve Erbach > > Subject: [AccessD] Converting from Access 2007 to 2016 > > > > Hello all. My company is still on Office 2007, but the mandate came down > > last week that everyone will be upgraded to 2016. The licenses have been > > purchased and deployed, and we're supposed to upgrade everyone ASAP. > > > > I've had issues in the past with mis-matched references: I upgraded to > > Outlook 2010, for example, to try and cure some outlook woes I had. But > > when I made changes to one of my access apps, it 'broke' on the > end-user's > > computer: the reference to the Microsoft Office Object Library 14.0 > > couldn't be found on the user's machine because they were still on the > > version with Object Library 12.0 > > > > Can you give me some guidelines for how we go about making this upgrade > as > > gracefully as possible? It's going to take us a good week to update the > > users/computers that need to be upgraded, and I KNOW we're going to have > > instances with references mis-matches before everyone can be brought to > the > > same version of office. And I suspect that we'll also have VBA code > issues > > with some of the Excel apps we have out there - antiquated code that uses > > functions or references that won't work in 2016. > > > > Any suggestions for us? Please???? Thanks. > > > > Janet Erbach > > Federal Mogul > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Mar 16 12:17:42 2017 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 16 Mar 2017 10:17:42 -0700 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: On Thu, Mar 16, 2017 at 7:26 AM, Janet Erbach wrote: > Did you happen to have any issues with Excel > vba code that had been written in 2007? Or did that not apply to that > client site? > That didn't apply. Access development only. From maryannbiggeorge101 at gmail.com Thu Mar 16 13:07:50 2017 From: maryannbiggeorge101 at gmail.com (maryann biggeorge) Date: Thu, 16 Mar 2017 18:07:50 +0000 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: On Thu, Mar 16, 2017 at 12:20 PM Doug Steele wrote: > On Thu, Mar 16, 2017 at 7:26 AM, Janet Erbach > wrote: > > > Did you happen to have any issues with Excel > > vba code that had been written in 2007? Or did that not apply to that > > client site? > > > > That didn't apply. Access development only. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From maryannbiggeorge101 at gmail.com Thu Mar 16 13:12:00 2017 From: maryannbiggeorge101 at gmail.com (maryann biggeorge) Date: Thu, 16 Mar 2017 18:12:00 +0000 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: Please take my email maryannbiggeorge101 at gmail.com from mailing list as I don't want these sent any longer and thank you On Thu, Mar 16, 2017 at 1:07 PM maryann biggeorge < maryannbiggeorge101 at gmail.com> wrote: > > On Thu, Mar 16, 2017 at 12:20 PM Doug Steele wrote: > > On Thu, Mar 16, 2017 at 7:26 AM, Janet Erbach > wrote: > > > Did you happen to have any issues with Excel > > vba code that had been written in 2007? Or did that not apply to that > > client site? > > > > That didn't apply. Access development only. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jimdettman at verizon.net Thu Mar 16 14:34:05 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 16 Mar 2017 15:34:05 -0400 Subject: [AccessD] Converting from Access 2007 to 2016 In-Reply-To: References: Message-ID: Maryann, Go to this page: http://databaseadvisors.com/mailman/listinfo/accessd and at the bottom, enter your e-mail address. Click the unsubscribe / Edit button. You can un-subscribe on the next page. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of maryann biggeorge Sent: Thursday, March 16, 2017 02:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Converting from Access 2007 to 2016 Please take my email maryannbiggeorge101 at gmail.com from mailing list as I don't want these sent any longer and thank you On Thu, Mar 16, 2017 at 1:07 PM maryann biggeorge < maryannbiggeorge101 at gmail.com> wrote: > > On Thu, Mar 16, 2017 at 12:20 PM Doug Steele wrote: > > On Thu, Mar 16, 2017 at 7:26 AM, Janet Erbach > wrote: > > > Did you happen to have any issues with Excel > > vba code that had been written in 2007? Or did that not apply to that > > client site? > > > > That didn't apply. Access development only. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Sun Mar 19 23:50:25 2017 From: jbartow at winhaven.net (John R Bartow) Date: Sun, 19 Mar 2017 23:50:25 -0500 Subject: [AccessD] exporting one to many tables into flat file Message-ID: I have a project where I need to export some of the data from a relational database (MDB) to a comma delimited file for import into web based CRM program which utilizes a flat file. The client data will now have one row with a "tag" field for each organization that it is related to (some of these clients are linked to hundreds of organizations). I'm l looking for suggestions on how best to approach this: Client 1toM > Phone > Mto1 PhoneType Client 1toM > ClientOrg References: Message-ID: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> 1toM is hard to represent in a flat file. The many should, in theory be strung out in columns but the problem is how many columns to allow for? For a CSV file the problem is not as great because you can just create a string of the primary fields, and keep on concatenating the Many values (the Organizations) to the end of the string, separated by commas. You should end up with a nice CSV file with the records each containing a different number of fields. Which of course, means on the import, you need to parse the string and extract the n number of organizations. Since it's a CRM app with , I assume, some kind of import function that may be problematical since an import function typically wants to see a consistent number of fields in an import file. If the CRM app is based on a database into which you can push data then a stand-alone importer would work. But, of course, at that point you could just push the data right from the MDB into the CRM database. Is that an option? If, however, you need to use the CRM imported, and the importer needs a consistent record with the same number of fields in the same place, , then I think your solution is to create an export record with one Organization per record. Would that work? HTH Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Sunday, March 19, 2017 9:50 PM To: DBA-Access Subject: [AccessD] exporting one to many tables into flat file Importance: High I have a project where I need to export some of the data from a relational database (MDB) to a comma delimited file for import into web based CRM program which utilizes a flat file. The client data will now have one row with a "tag" field for each organization that it is related to (some of these clients are linked to hundreds of organizations). I'm l looking for suggestions on how best to approach this: Client 1toM > Phone > Mto1 PhoneType Client 1toM > ClientOrg References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> Message-ID: <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> This would actually add a field for every organization that is currently related. The scheme is to add Tag1, Tag2, Tag3, etc. I've done a lot of flat file to relational db migrations and quite a few normalizations of weak RDMSs but I haven't had to do this before. I started on System 36 which was a predecessor to the AS400 so that's my reference point. That's what they used to do on those systems - "tag" everything in a new field. I hated that idea. It hurts my brain to think this way which is why I'm asking. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, March 20, 2017 9:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file 1toM is hard to represent in a flat file. The many should, in theory be strung out in columns but the problem is how many columns to allow for? For a CSV file the problem is not as great because you can just create a string of the primary fields, and keep on concatenating the Many values (the Organizations) to the end of the string, separated by commas. You should end up with a nice CSV file with the records each containing a different number of fields. Which of course, means on the import, you need to parse the string and extract the n number of organizations. Since it's a CRM app with , I assume, some kind of import function that may be problematical since an import function typically wants to see a consistent number of fields in an import file. If the CRM app is based on a database into which you can push data then a stand-alone importer would work. But, of course, at that point you could just push the data right from the MDB into the CRM database. Is that an option? If, however, you need to use the CRM imported, and the importer needs a consistent record with the same number of fields in the same place, , then I think your solution is to create an export record with one Organization per record. Would that work? HTH Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Sunday, March 19, 2017 9:50 PM To: DBA-Access Subject: [AccessD] exporting one to many tables into flat file Importance: High I have a project where I need to export some of the data from a relational database (MDB) to a comma delimited file for import into web based CRM program which utilizes a flat file. The client data will now have one row with a "tag" field for each organization that it is related to (some of these clients are linked to hundreds of organizations). I'm l looking for suggestions on how best to approach this: Client 1toM > Phone > Mto1 PhoneType Client 1toM > ClientOrg References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> Message-ID: John, Years back, I wrote a piece for TechRepublic which may or may not be relevant. I used the COALESCE keyword to create a comma-delimited column in the flat file containing all the keys of the child-tables. Perhaps that is not relevant in your case. Perhaps you need instead to create one query for each parent-child relationship and then UNION those results. Arthur On Mon, Mar 20, 2017 at 3:25 PM, John R Bartow wrote: > This would actually add a field for every organization that is currently > related. The scheme is to add Tag1, Tag2, Tag3, etc. > > I've done a lot of flat file to relational db migrations and quite a few > normalizations of weak RDMSs but I haven't had to do this before. I started > on System 36 which was a predecessor to the AS400 so that's my reference > point. That's what they used to do on those systems - "tag" everything in a > new field. I hated that idea. It hurts my brain to think this way which is > why I'm asking. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin > Sent: Monday, March 20, 2017 9:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] exporting one to many tables into flat file > > 1toM is hard to represent in a flat file. The many should, in theory be > strung out in columns but the problem is how many columns to allow for? For > a CSV file the problem is not as great because you can just create a string > of the primary fields, and keep on concatenating the Many values (the > Organizations) to the end of the string, separated by commas. You should > end > up with a nice CSV file with the records each containing a different number > of fields. > > Which of course, means on the import, you need to parse the string and > extract the n number of organizations. Since it's a CRM app with , I > assume, some kind of import function that may be problematical since an > import function typically wants to see a consistent number of fields in an > import file. > > If the CRM app is based on a database into which you can push data then a > stand-alone importer would work. But, of course, at that point you could > just push the data right from the MDB into the CRM database. Is that an > option? > > If, however, you need to use the CRM imported, and the importer needs a > consistent record with the same number of fields in the same place, , then > I > think your solution is to create an export record with one Organization per > record. Would that work? > > HTH > > > Rocky Smolin > Beach Access Software > 760-683-5777 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John R Bartow > Sent: Sunday, March 19, 2017 9:50 PM > To: DBA-Access > Subject: [AccessD] exporting one to many tables into flat file > Importance: High > > I have a project where I need to export some of the data from a relational > database (MDB) to a comma delimited file for import into web based CRM > program which utilizes a flat file. The client data will now have one row > with a "tag" field for each organization that it is related to (some of > these clients are linked to hundreds of organizations). I'm l looking for > suggestions on how best to approach this: > > > > Client 1toM > Phone > Mto1 PhoneType > > Client 1toM > ClientOrg > > > Thanks in advance, > > John B > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur From stuart at lexacorp.com.pg Mon Mar 20 16:07:58 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Mar 2017 07:07:58 +1000 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: References: Message-ID: <58D044AE.11399.D222A4F@stuart.lexacorp.com.pg> Hard to say without knowing what structure the CRM program needs for the flat file. Generally such application stipulate the required inputs in some detail. Once you have that, it's just a case of building an appropriate query and stepping through it as a recordset, using Print# to put the elements into the output file. If you mean that each record will have a variable number of fields (potentially hundreds) then you need a function to build a string which can be concatenated to the output string, something off the top of my head would be: Function Orgs(ClientKey as Long) as String Dim rs as DAO.Recordset DIm strOut as string Set rs = CurrentDB.OpenRrecordset("Select OrgName from qryCLientOrgList where ClientFK = " & CLientKey While not rs.eof StrOut = StrOut & "," & rs(0) rs.movenext Wend Orgs = strOut End Function On 19 Mar 2017 at 23:50, John R Bartow wrote: > I have a project where I need to export some of the data from a > relational database (MDB) to a comma delimited file for import into > web based CRM program which utilizes a flat file. The client data will > now have one row with a "tag" field for each organization that it is > related to (some of these clients are linked to hundreds of > organizations). I'm l looking for suggestions on how best to approach > this: > > > > Client 1toM > Phone > Mto1 PhoneType > > Client 1toM > ClientOrg > > > Thanks in advance, > > John B > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Mar 20 16:42:34 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 20 Mar 2017 14:42:34 -0700 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> Message-ID: <030901d2a1c2$e2b81d50$a82857f0$@bchacc.com> What's the db organization of the target database? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Monday, March 20, 2017 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file Importance: High This would actually add a field for every organization that is currently related. The scheme is to add Tag1, Tag2, Tag3, etc. I've done a lot of flat file to relational db migrations and quite a few normalizations of weak RDMSs but I haven't had to do this before. I started on System 36 which was a predecessor to the AS400 so that's my reference point. That's what they used to do on those systems - "tag" everything in a new field. I hated that idea. It hurts my brain to think this way which is why I'm asking. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, March 20, 2017 9:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file 1toM is hard to represent in a flat file. The many should, in theory be strung out in columns but the problem is how many columns to allow for? For a CSV file the problem is not as great because you can just create a string of the primary fields, and keep on concatenating the Many values (the Organizations) to the end of the string, separated by commas. You should end up with a nice CSV file with the records each containing a different number of fields. Which of course, means on the import, you need to parse the string and extract the n number of organizations. Since it's a CRM app with , I assume, some kind of import function that may be problematical since an import function typically wants to see a consistent number of fields in an import file. If the CRM app is based on a database into which you can push data then a stand-alone importer would work. But, of course, at that point you could just push the data right from the MDB into the CRM database. Is that an option? If, however, you need to use the CRM imported, and the importer needs a consistent record with the same number of fields in the same place, , then I think your solution is to create an export record with one Organization per record. Would that work? HTH Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Sunday, March 19, 2017 9:50 PM To: DBA-Access Subject: [AccessD] exporting one to many tables into flat file Importance: High I have a project where I need to export some of the data from a relational database (MDB) to a comma delimited file for import into web based CRM program which utilizes a flat file. The client data will now have one row with a "tag" field for each organization that it is related to (some of these clients are linked to hundreds of organizations). I'm l looking for suggestions on how best to approach this: Client 1toM > Phone > Mto1 PhoneType Client 1toM > ClientOrg References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> <030901d2a1c2$e2b81d50$a82857f0$@bchacc.com> Message-ID: <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net> I have one option. Create a csv with stated fields: Record ID, first name, last name, first and last name, prefix, suffix, title/role, department, background, organization name, Home address line 1, Home address line 2, Home address line 3, Home city, Home state/province, Home postal code, Home country, Work address line 1, Work address line 2, Work address line 3, Work city, Work state/province, Work postal code, Work country, Postal address line 1, Postal address line 2, Postal address line 3, Postal city, Postal state/province, Postal postal code, Postal country, Other address line 1, Other address line 2, Other address line 3, Other city, Other state/province, Other postal code, Other country, Home phone, Home phone extension, Fax phone, Fax phone extension, Mobile phone, Mobile phone extension, Pager phone, Pager phone extension, Work phone, Work phone extension, Work Email, Personal Email, Other Email, Work IM, Personal IM, Other IM, Work Website, Personal Website, Other Website, Contact Tag List, Contact Tag 1, Contact Tag2, Contact Tag3, Contact Tag4, Contact Tag5, Contact Tag6, Contact Tag7, Contact Tag8, Contact Tag9... -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, March 20, 2017 4:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file What's the db organization of the target database? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Monday, March 20, 2017 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file Importance: High This would actually add a field for every organization that is currently related. The scheme is to add Tag1, Tag2, Tag3, etc. I've done a lot of flat file to relational db migrations and quite a few normalizations of weak RDMSs but I haven't had to do this before. I started on System 36 which was a predecessor to the AS400 so that's my reference point. That's what they used to do on those systems - "tag" everything in a new field. I hated that idea. It hurts my brain to think this way which is why I'm asking. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, March 20, 2017 9:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file 1toM is hard to represent in a flat file. The many should, in theory be strung out in columns but the problem is how many columns to allow for? For a CSV file the problem is not as great because you can just create a string of the primary fields, and keep on concatenating the Many values (the Organizations) to the end of the string, separated by commas. You should end up with a nice CSV file with the records each containing a different number of fields. Which of course, means on the import, you need to parse the string and extract the n number of organizations. Since it's a CRM app with , I assume, some kind of import function that may be problematical since an import function typically wants to see a consistent number of fields in an import file. If the CRM app is based on a database into which you can push data then a stand-alone importer would work. But, of course, at that point you could just push the data right from the MDB into the CRM database. Is that an option? If, however, you need to use the CRM imported, and the importer needs a consistent record with the same number of fields in the same place, , then I think your solution is to create an export record with one Organization per record. Would that work? HTH Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Sunday, March 19, 2017 9:50 PM To: DBA-Access Subject: [AccessD] exporting one to many tables into flat file Importance: High I have a project where I need to export some of the data from a relational database (MDB) to a comma delimited file for import into web based CRM program which utilizes a flat file. The client data will now have one row with a "tag" field for each organization that it is related to (some of these clients are linked to hundreds of organizations). I'm l looking for suggestions on how best to approach this: Client 1toM > Phone > Mto1 PhoneType Client 1toM > ClientOrg References: <58D044AE.11399.D222A4F@stuart.lexacorp.com.pg> Message-ID: <18db01d2a1d0$3dee90c0$b9cbb240$@winhaven.net> Thanks Stuart. I was hoping I could do it with a query but because of the variable number of fields created by client's link to an unknown number of organizations, I think I will have go through the record set as you suggested. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, March 20, 2017 4:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] exporting one to many tables into flat file Hard to say without knowing what structure the CRM program needs for the flat file. Generally such application stipulate the required inputs in some detail. Once you have that, it's just a case of building an appropriate query and stepping through it as a recordset, using Print# to put the elements into the output file. If you mean that each record will have a variable number of fields (potentially hundreds) then you need a function to build a string which can be concatenated to the output string, something off the top of my head would be: Function Orgs(ClientKey as Long) as String Dim rs as DAO.Recordset DIm strOut as string Set rs = CurrentDB.OpenRrecordset("Select OrgName from qryCLientOrgList where ClientFK = " & CLientKey While not rs.eof StrOut = StrOut & "," & rs(0) rs.movenext Wend Orgs = strOut End Function On 19 Mar 2017 at 23:50, John R Bartow wrote: > I have a project where I need to export some of the data from a > relational database (MDB) to a comma delimited file for import into > web based CRM program which utilizes a flat file. The client data will > now have one row with a "tag" field for each organization that it is > related to (some of these clients are linked to hundreds of > organizations). I'm l looking for suggestions on how best to approach > this: > > > > Client 1toM > Phone > Mto1 PhoneType > > Client 1toM > ClientOrg > > > Thanks in advance, > > John B > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Mar 20 18:20:27 2017 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 20 Mar 2017 19:20:27 -0400 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net> References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> <030901d2a1c2$e2b81d50$a82857f0$@bchacc.com> <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net> Message-ID: <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> I might be really off base, but could you export the appropriate query to Excel first, and work from that file instead? Susan H. I have one option. Create a csv with stated fields: Record ID, first name, last name, first and last name, prefix, suffix, title/role, department, background, organization name, Home address line 1, Home address line 2, Home address line 3, Home city, Home state/province, Home postal code, Home country, Work address line 1, Work address line 2, Work address line 3, Work city, Work state/province, Work postal code, Work country, Postal address line 1, Postal address line 2, Postal address line 3, Postal city, Postal state/province, Postal postal code, Postal country, Other address line 1, Other address line 2, Other address line 3, Other city, Other state/province, Other postal code, Other country, Home phone, Home phone extension, Fax phone, Fax phone extension, Mobile phone, Mobile phone extension, Pager phone, Pager phone extension, Work phone, Work phone extension, Work Email, Personal Email, Other Email, Work IM, Personal IM, Other IM, Work Website, Personal Website, Other Website, Contact Tag List, Contact Tag 1, Contact Tag2, Contact Tag3, Contact Tag4, Contact Tag5, Contact Tag6, Contact Tag7, Contact Tag8, Contact Tag9... From jbartow at winhaven.net Mon Mar 20 18:33:41 2017 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 20 Mar 2017 18:33:41 -0500 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> References: <029a01d2a189$c48b9840$4da2c8c0$@bchacc.com> <128501d2a1af$cc6fbf70$654f3e50$@winhaven.net> <030901d2a1c2$e2b81d50$a82857f0$@bchacc.com> <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net> <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> Message-ID: <190001d2a1d2$68ca7af0$3a5f70d0$@winhaven.net> It really feels like I'm creating one of those nightmare spreadsheets that some secretaries come up with. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, March 20, 2017 6:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] exporting one to many tables into flat file I might be really off base, but could you export the appropriate query to Excel first, and work from that file instead? Susan H. I have one option. Create a csv with stated fields: Record ID, first name, last name, first and last name, prefix, suffix, title/role, department, background, organization name, Home address line 1, Home address line 2, Home address line 3, Home city, Home state/province, Home postal code, Home country, Work address line 1, Work address line 2, Work address line 3, Work city, Work state/province, Work postal code, Work country, Postal address line 1, Postal address line 2, Postal address line 3, Postal city, Postal state/province, Postal postal code, Postal country, Other address line 1, Other address line 2, Other address line 3, Other city, Other state/province, Other postal code, Other country, Home phone, Home phone extension, Fax phone, Fax phone extension, Mobile phone, Mobile phone extension, Pager phone, Pager phone extension, Work phone, Work phone extension, Work Email, Personal Email, Other Email, Work IM, Personal IM, Other IM, Work Website, Personal Website, Other Website, Contact Tag List, Contact Tag 1, Contact Tag2, Contact Tag3, Contact Tag4, Contact Tag5, Contact Tag6, Contact Tag7, Contact Tag8, Contact Tag9... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Mar 20 18:43:42 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 21 Mar 2017 09:43:42 +1000 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> References: , <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net>, <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> Message-ID: <58D0692E.19251.DB0C01B@stuart.lexacorp.com.pg> Aaaaaaaaahhhhhh! :-) The bane of my life is getting data out of excel into other systems. It's the worst possible thing to use an an intermediary. -- Stuart On 20 Mar 2017 at 19:20, Susan Harkins wrote: > I might be really off base, but could you export the appropriate query > to Excel first, and work from that file instead? > > Susan H. > > > I have one option. Create a csv with stated fields: > Record ID, first name, last name, first and last name, prefix, suffix, > title/role, department, background, organization name, Home address > line 1, Home address line 2, Home address line 3, Home city, Home > state/province, Home postal code, Home country, Work address line 1, > Work address line 2, Work address line 3, Work city, Work > state/province, Work postal code, Work country, Postal address line 1, > Postal address line 2, Postal address line 3, Postal city, Postal > state/province, Postal postal code, Postal country, Other address line > 1, Other address line 2, Other address line 3, Other city, Other > state/province, Other postal code, Other country, Home phone, Home > phone extension, Fax phone, Fax phone extension, Mobile phone, Mobile > phone extension, Pager phone, Pager phone extension, Work phone, Work > phone extension, Work Email, Personal Email, Other Email, Work IM, > Personal IM, Other IM, Work Website, Personal Website, Other Website, > Contact Tag List, Contact Tag 1, Contact Tag2, Contact Tag3, Contact > Tag4, Contact Tag5, Contact Tag6, Contact Tag7, Contact Tag8, Contact > Tag9... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Mon Mar 20 18:51:55 2017 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 20 Mar 2017 19:51:55 -0400 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <58D0692E.19251.DB0C01B@stuart.lexacorp.com.pg> References: , <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net>, <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> <58D0692E.19251.DB0C01B@stuart.lexacorp.com.pg> Message-ID: <007d01d2a1d4$f52cfa70$df86ef50$@gmail.com> Well, don't hold back! Susan H. Aaaaaaaaahhhhhh! :-) The bane of my life is getting data out of excel into other systems. It's the worst possible thing to use an an intermediary. From jbartow at winhaven.net Tue Mar 21 02:05:56 2017 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 21 Mar 2017 02:05:56 -0500 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <58D0692E.19251.DB0C01B@stuart.lexacorp.com.pg> References: , <18c201d2a1cf$896beee0$9c43cca0$@winhaven.net>, <006b01d2a1d0$9143b9d0$b3cb2d70$@gmail.com> <58D0692E.19251.DB0C01B@stuart.lexacorp.com.pg> Message-ID: <22af01d2a211$96988f50$c3c9adf0$@winhaven.net> I'm not but I feel your pain. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, March 20, 2017 6:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] exporting one to many tables into flat file Aaaaaaaaahhhhhh! :-) The bane of my life is getting data out of excel into other systems. It's the worst possible thing to use an an intermediary. -- Stuart On 20 Mar 2017 at 19:20, Susan Harkins wrote: > I might be really off base, but could you export the appropriate query > to Excel first, and work from that file instead? > > Susan H. > > > I have one option. Create a csv with stated fields: > Record ID, first name, last name, first and last name, prefix, suffix, > title/role, department, background, organization name, Home address > line 1, Home address line 2, Home address line 3, Home city, Home > state/province, Home postal code, Home country, Work address line 1, > Work address line 2, Work address line 3, Work city, Work > state/province, Work postal code, Work country, Postal address line 1, > Postal address line 2, Postal address line 3, Postal city, Postal > state/province, Postal postal code, Postal country, Other address line > 1, Other address line 2, Other address line 3, Other city, Other > state/province, Other postal code, Other country, Home phone, Home > phone extension, Fax phone, Fax phone extension, Mobile phone, Mobile > phone extension, Pager phone, Pager phone extension, Work phone, Work > phone extension, Work Email, Personal Email, Other Email, Work IM, > Personal IM, Other IM, Work Website, Personal Website, Other Website, > Contact Tag List, Contact Tag 1, Contact Tag2, Contact Tag3, Contact > Tag4, Contact Tag5, Contact Tag6, Contact Tag7, Contact Tag8, Contact > Tag9... > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbartow at winhaven.net Tue Mar 21 03:12:33 2017 From: jbartow at winhaven.net (John R Bartow) Date: Tue, 21 Mar 2017 03:12:33 -0500 Subject: [AccessD] exporting one to many tables into flat file In-Reply-To: <58D044AE.11399.D222A4F@stuart.lexacorp.com.pg> References: <58D044AE.11399.D222A4F@stuart.lexacorp.com.pg> Message-ID: <232501d2a21a$e546d680$afd48380$@winhaven.net> Stuart, Thanks for the assistance. It all went as planned so far. Awaiting change orders... John B -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, March 20, 2017 4:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] exporting one to many tables into flat file Hard to say without knowing what structure the CRM program needs for the flat file. Generally such application stipulate the required inputs in some detail. Once you have that, it's just a case of building an appropriate query and stepping through it as a recordset, using Print# to put the elements into the output file. If you mean that each record will have a variable number of fields (potentially hundreds) then you need a function to build a string which can be concatenated to the output string, something off the top of my head would be: Function Orgs(ClientKey as Long) as String Dim rs as DAO.Recordset DIm strOut as string Set rs = CurrentDB.OpenRrecordset("Select OrgName from qryCLientOrgList where ClientFK = " & CLientKey While not rs.eof StrOut = StrOut & "," & rs(0) rs.movenext Wend Orgs = strOut End Function On 19 Mar 2017 at 23:50, John R Bartow wrote: > I have a project where I need to export some of the data from a > relational database (MDB) to a comma delimited file for import into > web based CRM program which utilizes a flat file. The client data will > now have one row with a "tag" field for each organization that it is > related to (some of these clients are linked to hundreds of > organizations). I'm l looking for suggestions on how best to approach > this: > > > > Client 1toM > Phone > Mto1 PhoneType > > Client 1toM > ClientOrg > > > Thanks in advance, > > John B > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 wrwehler at gmail.com Thu Mar 23 10:08:54 2017 From: wrwehler at gmail.com (Ryan W) Date: Thu, 23 Mar 2017 10:08:54 -0500 Subject: [AccessD] Has anyone here ever tinkered with MSysConf? Message-ID: Unfortunately I can't find an official MS Article relating to the MSysConf table for Access. The first half of this Oracle document describes it well enough: https://docs.oracle.com/cd/A83908_02/NT816EE/DOC/nt.816/z26073/ch5.htm It's also mentioned in Access 2010 VBA Inside and Out: https://books.google.com/books?id=1T8FCAAAQBAJ&pg=PA587&lpg=PA587&dq=access+msysconf&source=bl&ots=qv14ZFceO8&sig=StMTuZUUp6dxxF-LwvTDPfQJ1_8&hl=en&sa=X&ved=0ahUKEwj1rarx8-zSAhUKyGMKHRaDBQU4ChDoAQgsMAM#v=onepage&q=access%20msysconf&f=false From jimdettman at verizon.net Thu Mar 23 10:30:22 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 23 Mar 2017 11:30:22 -0400 Subject: [AccessD] Has anyone here ever tinkered with MSysConf? In-Reply-To: References: Message-ID: <> and you won't. Microsoft has never documented any of the Msys tables. Part of the reason for that is that everything they contain is settable by the Access UI and/or code. They would also always issue the warning that "format of the Msys tables may change from release to release and you should not rely on those values" But with that said, certain tables like Msysobjects has changed very little since Access 2.0 on most of the fundamental stuff. Others have gone through over hauls or been added/removed entirely. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ryan W Sent: Thursday, March 23, 2017 11:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] Has anyone here ever tinkered with MSysConf? Unfortunately I can't find an official MS Article relating to the MSysConf table for Access. The first half of this Oracle document describes it well enough: https://docs.oracle.com/cd/A83908_02/NT816EE/DOC/nt.816/z26073/ch5.htm It's also mentioned in Access 2010 VBA Inside and Out: https://books.google.com/books?id=1T8FCAAAQBAJ&pg=PA587&lpg=PA587&dq=access+ msysconf&source=bl&ots=qv14ZFceO8&sig=StMTuZUUp6dxxF-LwvTDPfQJ1_8&hl=en&sa=X &ved=0ahUKEwj1rarx8-zSAhUKyGMKHRaDBQU4ChDoAQgsMAM#v=onepage&q=access%20msysc onf&f=false -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wrwehler at gmail.com Thu Mar 23 10:39:08 2017 From: wrwehler at gmail.com (Ryan W) Date: Thu, 23 Mar 2017 10:39:08 -0500 Subject: [AccessD] Has anyone here ever tinkered with MSysConf? In-Reply-To: References: Message-ID: I just thought it would be interesting to experiment with option 103 for background chunk fetch. AFAIK the default is 100 rows at a time. On Thu, Mar 23, 2017 at 10:30 AM, Jim Dettman wrote: > > < MSysConf > table for Access.>> > > and you won't. > > Microsoft has never documented any of the Msys tables. Part of the reason > for that is that everything they contain is settable by the Access UI > and/or > code. > > They would also always issue the warning that "format of the Msys tables > may change from release to release and you should not rely on those values" > > But with that said, certain tables like Msysobjects has changed very > little > since Access 2.0 on most of the fundamental stuff. Others have gone > through > over hauls or been added/removed entirely. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Ryan W > Sent: Thursday, March 23, 2017 11:09 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Has anyone here ever tinkered with MSysConf? > > Unfortunately I can't find an official MS Article relating to the MSysConf > table for Access. > > The first half of this Oracle document describes it well enough: > > https://docs.oracle.com/cd/A83908_02/NT816EE/DOC/nt.816/z26073/ch5.htm > > > It's also mentioned in Access 2010 VBA Inside and Out: > > https://books.google.com/books?id=1T8FCAAAQBAJ&pg= > PA587&lpg=PA587&dq=access+ > msysconf&source=bl&ots=qv14ZFceO8&sig=StMTuZUUp6dxxF- > LwvTDPfQJ1_8&hl=en&sa=X > &ved=0ahUKEwj1rarx8-zSAhUKyGMKHRaDBQU4ChDoAQgsMAM# > v=onepage&q=access%20msysc > onf&f=false > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Mar 23 11:07:58 2017 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Mar 2017 16:07:58 +0000 Subject: [AccessD] Retain trailing space when entering data Message-ID: Hi all I didn?t know this was possible using a form, but it is, in fact, easily done with only a few lines of code: Private Sub Test_AfterUpdate() Debug.Print Test.Value & "<" Debug.Print Test.Text & "<" If Nz(Test.Value) <> Test.Text Then Test.Value = Test.Text End If Debug.Print Test.Value & "<<" Debug.Print Test.Text & "<<" End Sub You can even save blanks only. /gustav From wrwehler at gmail.com Fri Mar 24 14:23:23 2017 From: wrwehler at gmail.com (Ryan W) Date: Fri, 24 Mar 2017 14:23:23 -0500 Subject: [AccessD] How do YOU handle child table population? Message-ID: As you all know, if you have a table that's a child of another, meaning there's a PK/FK relationship between them, Access won't populate the child table with data until a piece of information is entered (a checkbox checked, a combo box filled out, etc) if it's got a form related to it. Example: frm_Quote is my quotes form. frm_QuoteChecklist is the subform on a tab control within that quote form. Tables: Quote QuoteChecklist Quote - QuoteID PK QuoteChecklist - QuoteID FK My manager has asked me to "fill in defaults" for QuoteChecklist once a quote has been inserted. Normally one might use the "default value" option in the table layout, in this case SQL Server. BUT... those defaults still don't actually populate/do anything until something on frm_QuoteChecklist is manipulated, right? So.. my question to you is how would YOU handle this?? My initial thought is to have a insert trigger on the Quote table to insert the QuoteID_FK into the QuoteChecklist table so that the defaults can populate and the relationship happen. From bensonforums at gmail.com Sat Mar 25 14:22:19 2017 From: bensonforums at gmail.com (Bill Benson) Date: Sat, 25 Mar 2017 15:22:19 -0400 Subject: [AccessD] How do YOU handle child table population? In-Reply-To: References: Message-ID: I recall in working with unbound forms and controls i would create new records with recordset object and .Addnew then .Update, then set the recordsource sgain and use .FindFirst and recordsetclone, bookmark, update controls on the form and leave the user in edit mode from there. Roughly, it's from memory. >From my non-flammable Note 3, Bill Benson On Mar 24, 2017 3:24 PM, "Ryan W" wrote: As you all know, if you have a table that's a child of another, meaning there's a PK/FK relationship between them, Access won't populate the child table with data until a piece of information is entered (a checkbox checked, a combo box filled out, etc) if it's got a form related to it. Example: frm_Quote is my quotes form. frm_QuoteChecklist is the subform on a tab control within that quote form. Tables: Quote QuoteChecklist Quote - QuoteID PK QuoteChecklist - QuoteID FK My manager has asked me to "fill in defaults" for QuoteChecklist once a quote has been inserted. Normally one might use the "default value" option in the table layout, in this case SQL Server. BUT... those defaults still don't actually populate/do anything until something on frm_QuoteChecklist is manipulated, right? So.. my question to you is how would YOU handle this?? My initial thought is to have a insert trigger on the Quote table to insert the QuoteID_FK into the QuoteChecklist table so that the defaults can populate and the relationship happen. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Mar 25 14:43:37 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 25 Mar 2017 12:43:37 -0700 Subject: [AccessD] How do YOU handle child table population? In-Reply-To: References: Message-ID: <029f01d2a5a0$18cbb740$4a6325c0$@bchacc.com> I would use the After Update (or maybe even After Insert not sure if you have the PK at that point) event to create the record in Quote Checklist (using DAO), populate the defaults there, then requery the main form, saving the PK of the main form's new record so you can return to it after the requery. Although if you have control over the back end design, you could set those defaults in the default value property of the checklist fields so when you added the record they would be set with no additional code from you. But if you have control over the back end design and the relationship is 1 to 1, and each quote record has the checklist, then why not merge the checklist fields into the quote table and lose the subform? IOW, don't solve the problem, just get rid of it. :) Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Saturday, March 25, 2017 12:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How do YOU handle child table population? I recall in working with unbound forms and controls i would create new records with recordset object and .Addnew then .Update, then set the recordsource sgain and use .FindFirst and recordsetclone, bookmark, update controls on the form and leave the user in edit mode from there. Roughly, it's from memory. >From my non-flammable Note 3, Bill Benson On Mar 24, 2017 3:24 PM, "Ryan W" wrote: As you all know, if you have a table that's a child of another, meaning there's a PK/FK relationship between them, Access won't populate the child table with data until a piece of information is entered (a checkbox checked, a combo box filled out, etc) if it's got a form related to it. Example: frm_Quote is my quotes form. frm_QuoteChecklist is the subform on a tab control within that quote form. Tables: Quote QuoteChecklist Quote - QuoteID PK QuoteChecklist - QuoteID FK My manager has asked me to "fill in defaults" for QuoteChecklist once a quote has been inserted. Normally one might use the "default value" option in the table layout, in this case SQL Server. BUT... those defaults still don't actually populate/do anything until something on frm_QuoteChecklist is manipulated, right? So.. my question to you is how would YOU handle this?? My initial thought is to have a insert trigger on the Quote table to insert the QuoteID_FK into the QuoteChecklist table so that the defaults can populate and the relationship happen. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Mar 25 16:34:44 2017 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Mar 2017 07:34:44 +1000 Subject: [AccessD] How do YOU handle child table population? In-Reply-To: References: Message-ID: <58D6E274.24506.4C0488C@stuart.lexacorp.com.pg> Actually, that's only true if you enforce referential integrity at the table level. You can indeed create child records in a subfrom as you describe if integrity is not set. The problem is that the Foreign Key of the supposed child is set to 0 since there is no record in the parent form. I don't think your idea of an Insert table trigger will work because the sub form will not refresh with the newly created child record. If a child record is required for every parent record, one was (untried) would be to use the parent form's After Insert event to set the values of the controls in the sub form. But why not just set the default values for the child table in the various control properties on the sub form? And one has to ask - why a parent child relationship? Can you have more than one quote checklist for a single quote? Sounds like you need to rethink you schema. On 24 Mar 2017 at 14:23, Ryan W wrote: > As you all know, if you have a table that's a child of another, > meaning there's a PK/FK relationship between them, Access won't > populate the child table with data until a piece of information is > entered (a checkbox checked, a combo box filled out, etc) if it's got > a form related to it. > > > Example: > > frm_Quote is my quotes form. > frm_QuoteChecklist is the subform on a tab control within that quote > form. > > Tables: > Quote > QuoteChecklist > > Quote - QuoteID PK > QuoteChecklist - QuoteID FK > > > My manager has asked me to "fill in defaults" for QuoteChecklist once > a quote has been inserted. Normally one might use the "default value" > option in the table layout, in this case SQL Server. > > BUT... those defaults still don't actually populate/do anything until > something on frm_QuoteChecklist is manipulated, right? > > So.. my question to you is how would YOU handle this?? My initial > thought is to have a insert trigger on the Quote table to insert the > QuoteID_FK into the QuoteChecklist table so that the defaults can > populate and the relationship happen. -- AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Website: > http://www.databaseadvisors.com > From wrwehler at gmail.com Sat Mar 25 17:23:25 2017 From: wrwehler at gmail.com (Ryan Wehler) Date: Sat, 25 Mar 2017 17:23:25 -0500 Subject: [AccessD] How do YOU handle child table population? In-Reply-To: <58D6E274.24506.4C0488C@stuart.lexacorp.com.pg> References: <58D6E274.24506.4C0488C@stuart.lexacorp.com.pg> Message-ID: <31EAF800-A62C-47B3-994F-CDEA2089A8E0@gmail.com> The insert trigger indeed did work as I tested Friday but I am not committed to that idea. When a quote is inserted my trigger inserts the identity column into my checklist table and the questionnaires column defaults get filled in. It seems to happen quick enough that my subform shows the right selections after the parent is added! When I added the checklist to the system it made more sense to me to have it be a child table rather than expanding the overall width of the quote/parent table. It feels more normalized to me but perhaps not needed since it's a 1:1 relationship. As far as control default options I don't believe those get committed unless an option is changed or a save is called on the form.... these are option groups by the way... I can tinker with that idea Monday. Just trying to see what else would work. The trigger made the most sense to me at the time of writing the email. Thanks for all the suggestions ! Sent from my iPhone > On Mar 25, 2017, at 4:34 PM, Stuart McLachlan wrote: > > Actually, that's only true if you enforce referential integrity at the table level. > > You can indeed create child records in a subfrom as you describe if integrity is not set. The > problem is that the Foreign Key of the supposed child is set to 0 since there is no record in > the parent form. > > I don't think your idea of an Insert table trigger will work because the sub form will not refresh > with the newly created child record. > > If a child record is required for every parent record, one was (untried) would be to use the > parent form's After Insert event to set the values of the controls in the sub form. > > But why not just set the default values for the child table in the various control properties on > the sub form? > > And one has to ask - why a parent child relationship? Can you have more than one quote > checklist for a single quote? Sounds like you need to rethink you schema. > > >> On 24 Mar 2017 at 14:23, Ryan W wrote: >> >> As you all know, if you have a table that's a child of another, >> meaning there's a PK/FK relationship between them, Access won't >> populate the child table with data until a piece of information is >> entered (a checkbox checked, a combo box filled out, etc) if it's got >> a form related to it. >> >> >> Example: >> >> frm_Quote is my quotes form. >> frm_QuoteChecklist is the subform on a tab control within that quote >> form. >> >> Tables: >> Quote >> QuoteChecklist >> >> Quote - QuoteID PK >> QuoteChecklist - QuoteID FK >> >> >> My manager has asked me to "fill in defaults" for QuoteChecklist once >> a quote has been inserted. Normally one might use the "default value" >> option in the table layout, in this case SQL Server. >> >> BUT... those defaults still don't actually populate/do anything until >> something on frm_QuoteChecklist is manipulated, right? >> >> So.. my question to you is how would YOU handle this?? My initial >> thought is to have a insert trigger on the Quote table to insert the >> QuoteID_FK into the QuoteChecklist table so that the defaults can >> populate and the relationship happen. -- AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd Website: >> http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Mar 27 19:39:56 2017 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 27 Mar 2017 17:39:56 -0700 Subject: [AccessD] How do YOU handle child table population? In-Reply-To: <31EAF800-A62C-47B3-994F-CDEA2089A8E0@gmail.com> References: <58D6E274.24506.4C0488C@stuart.lexacorp.com.pg> <31EAF800-A62C-47B3-994F-CDEA2089A8E0@gmail.com> Message-ID: What I do is use the BeforeUpdate event of the subform to check for null values in child keys that must be populated and copy the values from the parent form. Charlotte Foust (916) 206-4336 On Sat, Mar 25, 2017 at 3:23 PM, Ryan Wehler wrote: > The insert trigger indeed did work as I tested Friday but I am not > committed to that idea. When a quote is inserted my trigger inserts the > identity column into my checklist table and the questionnaires column > defaults get filled in. It seems to happen quick enough that my subform > shows the right selections after the parent is added! > > When I added the checklist to the system it made more sense to me to have > it be a child table rather than expanding the overall width of the > quote/parent table. It feels more normalized to me but perhaps not needed > since it's a 1:1 relationship. > > As far as control default options I don't believe those get committed > unless an option is changed or a save is called on the form.... these are > option groups by the way... I can tinker with that idea Monday. > > Just trying to see what else would work. The trigger made the most sense > to me at the time of writing the email. > > Thanks for all the suggestions ! > > > Sent from my iPhone > > > On Mar 25, 2017, at 4:34 PM, Stuart McLachlan > wrote: > > > > Actually, that's only true if you enforce referential integrity at the > table level. > > > > You can indeed create child records in a subfrom as you describe if > integrity is not set. The > > problem is that the Foreign Key of the supposed child is set to 0 since > there is no record in > > the parent form. > > > > I don't think your idea of an Insert table trigger will work because the > sub form will not refresh > > with the newly created child record. > > > > If a child record is required for every parent record, one was (untried) > would be to use the > > parent form's After Insert event to set the values of the controls in > the sub form. > > > > But why not just set the default values for the child table in the > various control properties on > > the sub form? > > > > And one has to ask - why a parent child relationship? Can you have more > than one quote > > checklist for a single quote? Sounds like you need to rethink you > schema. > > > > > >> On 24 Mar 2017 at 14:23, Ryan W wrote: > >> > >> As you all know, if you have a table that's a child of another, > >> meaning there's a PK/FK relationship between them, Access won't > >> populate the child table with data until a piece of information is > >> entered (a checkbox checked, a combo box filled out, etc) if it's got > >> a form related to it. > >> > >> > >> Example: > >> > >> frm_Quote is my quotes form. > >> frm_QuoteChecklist is the subform on a tab control within that quote > >> form. > >> > >> Tables: > >> Quote > >> QuoteChecklist > >> > >> Quote - QuoteID PK > >> QuoteChecklist - QuoteID FK > >> > >> > >> My manager has asked me to "fill in defaults" for QuoteChecklist once > >> a quote has been inserted. Normally one might use the "default value" > >> option in the table layout, in this case SQL Server. > >> > >> BUT... those defaults still don't actually populate/do anything until > >> something on frm_QuoteChecklist is manipulated, right? > >> > >> So.. my question to you is how would YOU handle this?? My initial > >> thought is to have a insert trigger on the Quote table to insert the > >> QuoteID_FK into the QuoteChecklist table so that the defaults can > >> populate and the relationship happen. -- AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd Website: > >> http://www.databaseadvisors.com > >> > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Mar 28 01:16:48 2017 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 28 Mar 2017 06:16:48 +0000 Subject: [AccessD] No more Access Web Apps on Office 365 Message-ID: Hi all Not that I have used these ? as little as the former attempts to bring Access to the web ? but they will be phased out soon: https://techcommunity.microsoft.com/t5/Office-Retirement-Blog/Updating-the-Access-Services-in-SharePoint-Roadmap/ba-p/57148 The suggested ?replacement?, not related to Access at all, is Power Apps. /gustav From rockysmolin at bchacc.com Tue Mar 28 09:51:20 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Mar 2017 07:51:20 -0700 Subject: [AccessD] Display Tabbed Documents Check Box Disappearing Message-ID: <003c01d2a7d2$c3590e90$4a0b2bb0$@bchacc.com> Dear Lists: I have something happening in an A2010 app which does not in any of the other apps. I click File?Options?Current Database and select Overlapping windows and check Display Tabbed Documents. Often, when I re-open the app the next day, the Display Tabbed Documents checkbox is unchecked. I have not been able to determine what sequence of operations causes this. It doesn?t happen when I try to make it happen by doing a Compact, for example. Any ideas? It?s not fatal but annoying to have to reset it every day. MTIA Rocky From df.waters at outlook.com Tue Mar 28 10:30:01 2017 From: df.waters at outlook.com (Dan Waters) Date: Tue, 28 Mar 2017 15:30:01 +0000 Subject: [AccessD] Display Tabbed Documents Check Box Disappearing In-Reply-To: <003c01d2a7d2$c3590e90$4a0b2bb0$@bchacc.com> References: <003c01d2a7d2$c3590e90$4a0b2bb0$@bchacc.com> Message-ID: Hi Rocky, I've always used overlapping windows so I'm going to guess ... Many of the Options can be changed in code. All my apps have a procedure which sets the Options I'm interested in so the environment stays consistent. You'll need to find the equivalent code name for Overlapping windows and see if it's being changed when the file opens. Another place to look might be in an AutoExec macro. Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, March 28, 2017 09:51 To: 'Off Topic'; 'Access Developers discussion and problem solving' Subject: [AccessD] Display Tabbed Documents Check Box Disappearing Dear Lists: I have something happening in an A2010 app which does not in any of the other apps. I click File?Options?Current Database and select Overlapping windows and check Display Tabbed Documents. Often, when I re-open the app the next day, the Display Tabbed Documents checkbox is unchecked. I have not been able to determine what sequence of operations causes this. It doesn't happen when I try to make it happen by doing a Compact, for example. Any ideas? It's not fatal but annoying to have to reset it every day. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Mar 28 10:38:05 2017 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 28 Mar 2017 08:38:05 -0700 Subject: [AccessD] Display Tabbed Documents Check Box Disappearing In-Reply-To: References: <003c01d2a7d2$c3590e90$4a0b2bb0$@bchacc.com> Message-ID: <005001d2a7d9$4b3ac410$e1b04c30$@bchacc.com> Dan: Thanks. I wrote the app so I don't have to hunt for stuff. :) But I never change those options through code and use no Autoexecs, so I think that's probably not it. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, March 28, 2017 8:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Display Tabbed Documents Check Box Disappearing Hi Rocky, I've always used overlapping windows so I'm going to guess ... Many of the Options can be changed in code. All my apps have a procedure which sets the Options I'm interested in so the environment stays consistent. You'll need to find the equivalent code name for Overlapping windows and see if it's being changed when the file opens. Another place to look might be in an AutoExec macro. Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, March 28, 2017 09:51 To: 'Off Topic'; 'Access Developers discussion and problem solving' Subject: [AccessD] Display Tabbed Documents Check Box Disappearing Dear Lists: I have something happening in an A2010 app which does not in any of the other apps. I click File?Options?Current Database and select Overlapping windows and check Display Tabbed Documents. Often, when I re-open the app the next day, the Display Tabbed Documents checkbox is unchecked. I have not been able to determine what sequence of operations causes this. It doesn't happen when I try to make it happen by doing a Compact, for example. Any ideas? It's not fatal but annoying to have to reset it every day. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Mar 28 12:49:54 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 Mar 2017 13:49:54 -0400 Subject: [AccessD] No more Access Web Apps on Office 365 In-Reply-To: References: Message-ID: <9B169F8BD26E4D09AD8E06789051AD44@XPS> Some additional info for anyone using Access Web Apps: Introduction to Microsoft PowerApps for Access web apps developers: https://www.microsoft.com/en-us/download/details.aspx?id=54942 Export Access web app tables to SharePoint https://support.office.com/en-us/article/Export-Access-web-app-tables-to-Sha rePoint-ff9d9058-14cf-40a2-89c8-ec46cf5cd67c?ui=en-US&rs=en-US&ad=US If your into Access Web Apps, it doesn't look good as Power Apps are not quite to the same place as AWA were. Do note however you can run an on-prem SharePoint server for the foreseeable future. It's the Office 365 folks that will see the quickest impact. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, March 28, 2017 02:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] No more Access Web Apps on Office 365 Hi all Not that I have used these - as little as the former attempts to bring Access to the web - but they will be phased out soon: https://techcommunity.microsoft.com/t5/Office-Retirement-Blog/Updating-the-A ccess-Services-in-SharePoint-Roadmap/ba-p/57148 The suggested "replacement", not related to Access at all, is Power Apps. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Mar 28 13:47:16 2017 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Mar 2017 12:47:16 -0600 (MDT) Subject: [AccessD] No more Access Web Apps on Office 365 In-Reply-To: References: Message-ID: <479765604.32878107.1490726836447.JavaMail.zimbra@shaw.ca> What is "Power Apps"? Please explain more...I am very interested in hear about the Access replacement. Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Monday, March 27, 2017 11:16:48 PM Subject: [AccessD] No more Access Web Apps on Office 365 Hi all Not that I have used these ? as little as the former attempts to bring Access to the web ? but they will be phased out soon: https://techcommunity.microsoft.com/t5/Office-Retirement-Blog/Updating-the-Access-Services-in-SharePoint-Roadmap/ba-p/57148 The suggested ?replacement?, not related to Access at all, is Power Apps. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Mar 28 14:16:00 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 28 Mar 2017 15:16:00 -0400 Subject: [AccessD] No more Access Web Apps on Office 365 In-Reply-To: <479765604.32878107.1490726836447.JavaMail.zimbra@shaw.ca> References: <479765604.32878107.1490726836447.JavaMail.zimbra@shaw.ca> Message-ID: <1B3C5AF990974CA8A50B53C569215A6C@XPS> Power Apps is Microsoft's next gen tool for creating apps in the web and mobile worlds: https://powerapps.microsoft.com/en-us/ Again with the promise of "writing apps without code"....gosh, how many times have we heard that! While they are a bit late to the party, if they can develop Power Apps quickly enough, then they still might have a seat at the dinner table. And to be clear, this announcement does not impact the Access Desktop at all. This is strictly the web stuff. But looking into the crystal ball, I doubt you'll see much more effort put into the Access Desktop when we get a few more years down the road. Microsoft seems to be making a big bet on Power Apps as whole, but it's not ready for prime time yet, so some things will need to be carried along for a bit. That seems to be what's going on with the Access Desktop. After years of "no new development on the desktop product", we are now seeing some hefty changes being made, which is good news for me. Probably can retire before I need to learn another new product ;) Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, March 28, 2017 02:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No more Access Web Apps on Office 365 What is "Power Apps"? Please explain more...I am very interested in hear about the Access replacement. Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Monday, March 27, 2017 11:16:48 PM Subject: [AccessD] No more Access Web Apps on Office 365 Hi all Not that I have used these - as little as the former attempts to bring Access to the web - but they will be phased out soon: https://techcommunity.microsoft.com/t5/Office-Retirement-Blog/Updating-the-A ccess-Services-in-SharePoint-Roadmap/ba-p/57148 The suggested "replacement", not related to Access at all, is Power Apps. /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 wrwehler at gmail.com Tue Mar 28 14:15:49 2017 From: wrwehler at gmail.com (Ryan W) Date: Tue, 28 Mar 2017 14:15:49 -0500 Subject: [AccessD] No more Access Web Apps on Office 365 In-Reply-To: <479765604.32878107.1490726836447.JavaMail.zimbra@shaw.ca> References: <479765604.32878107.1490726836447.JavaMail.zimbra@shaw.ca> Message-ID: Is this their very late response to Oracle APEX? On Tue, Mar 28, 2017 at 1:47 PM, Jim Lawrence wrote: > What is "Power Apps"? > > Please explain more...I am very interested in hear about the Access > replacement. > > Jim > > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" < > accessd at databaseadvisors.com> > Sent: Monday, March 27, 2017 11:16:48 PM > Subject: [AccessD] No more Access Web Apps on Office 365 > > Hi all > > Not that I have used these ? as little as the former attempts to bring > Access to the web ? but they will be phased out soon: > > https://techcommunity.microsoft.com/t5/Office- > Retirement-Blog/Updating-the-Access-Services-in-SharePoint- > Roadmap/ba-p/57148 > > The suggested ?replacement?, not related to Access at all, is Power Apps. > > /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 wrwehler at gmail.com Wed Mar 29 10:51:06 2017 From: wrwehler at gmail.com (Ryan W) Date: Wed, 29 Mar 2017 10:51:06 -0500 Subject: [AccessD] Report data changes when printing Message-ID: An interesting little thing I caught the other day... we never experienced this before because we always used overlapping window interfaces and it made it harder to 'multitask' that way. I have a form that builds two temp tables based on some criteria you feed it. Then the user selects 4 targets to report from the list. The report has 4 dynamic fields that get their caption on the Report_Open event because the data is pivoted across 4 data points and as far as I know the only way to make the dynamically named column headers is to loop through the a recordset and set the "Caption" property each of the 4 text boxes at that time. When you hit the print report button the report comes up in print preview mode. Ok everything is good at that point. But.... If the user goes back to the FORM tab and unchecks the 4 selected options (which make the 4 textbox captions) and selects 4 DIFFERENT ones and presses the "print" button again, from a VISUAL standpoint nothing has changed.. it just simply re-focuses the report that was left open. Until..... the user prints it. Then the pivot/transform data has changed but the header has not because that was done on Report_Open time. So, I guess really my question or remark is: Why does MS Access "Requery" the report recordset when printing, and not simply print what is on screen? I've already come up with a number of fixes for this: 1) If the report loses focus, close it. 2) If somehow that doesn't work, next time the user presses the print button if the report .IsLoaded, close it. So all of this brings up an interesting point that I assume could also cause grief. If for some reason one user had a report up but neglected to print it and another user changed some of the data that the report is using BEFORE the original user hit print it may change the report data. However unlikely that is. From wrwehler at gmail.com Wed Mar 29 13:45:02 2017 From: wrwehler at gmail.com (Ryan W) Date: Wed, 29 Mar 2017 13:45:02 -0500 Subject: [AccessD] Report data changes when printing In-Reply-To: References: Message-ID: Well I began pondering this a bit more and wondered why I wasn't using a Snapshot.... but it turns out you cannot set the recordset type on a stored query... and I can't use the query in the subreport directly, it gives me a message: "Cannot use the cross tab of a non fixed column as a subquery"... On Wed, Mar 29, 2017 at 10:51 AM, Ryan W wrote: > An interesting little thing I caught the other day... we never > experienced this before because we always used overlapping window > interfaces and it made it harder to 'multitask' that way. > > I have a form that builds two temp tables based on some criteria you feed > it. Then the user selects 4 targets to report from the list. > > > The report has 4 dynamic fields that get their caption on the Report_Open > event because the data is pivoted across 4 data points and as far as I know > the only way to make the dynamically named column headers is to loop > through the a recordset and set the "Caption" property each of the 4 text > boxes at that time. > > When you hit the print report button the report comes up in print preview > mode. Ok everything is good at that point. > > But.... > > If the user goes back to the FORM tab and unchecks the 4 selected options > (which make the 4 textbox captions) and selects 4 DIFFERENT ones and > presses the "print" button again, from a VISUAL standpoint nothing has > changed.. it just simply re-focuses the report that was left open. > > Until..... the user prints it. Then the pivot/transform data has changed > but the header has not because that was done on Report_Open time. > > So, I guess really my question or remark is: > > Why does MS Access "Requery" the report recordset when printing, and not > simply print what is on screen? > > > I've already come up with a number of fixes for this: > > 1) If the report loses focus, close it. > 2) If somehow that doesn't work, next time the user presses the print > button if the report .IsLoaded, close it. > > > So all of this brings up an interesting point that I assume could also > cause grief. If for some reason one user had a report up but neglected to > print it and another user changed some of the data that the report is using > BEFORE the original user hit print it may change the report data. However > unlikely that is. > > > > From kost36 at otenet.gr Wed Mar 29 13:59:02 2017 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 29 Mar 2017 21:59:02 +0300 Subject: [AccessD] IIf with three fields Message-ID: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> Hi all, I am a little confused about how to make IIf to work in query with three different phones fields while all or any of them may be null I use IIf([mobile] Is Null; [phone_home]; IIf([phone_home] Is Null; [phone_job]; IIf([phone_job] Is Null; [phone_home] & ", " & [mobile]; [phone_job] & ", " & [phone_home] & ", " & ", " & [mobile]))) But it doesn't work in all cases Any help please? Thank's /kostas From steve at datamanagementsolutions.biz Wed Mar 29 14:19:40 2017 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Thu, 30 Mar 2017 08:19:40 +1300 Subject: [AccessD] IIf with three fields In-Reply-To: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> References: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> Message-ID: Hi Kostas You probably don't need to us the IIf function here. Try this: [phone_job]+", " & [phone_home]+", " & [mobile] Regards Steve -----Original Message----- From: Kostas Konstantinidis Sent: Thursday, March 30, 2017 7:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IIf with three fields Hi all, I am a little confused about how to make IIf to work in query with three different phones fields while all or any of them may be null I use IIf([mobile] Is Null; [phone_home]; IIf([phone_home] Is Null; [phone_job]; IIf([phone_job] Is Null; [phone_home] & ", " & [mobile]; [phone_job] & ", " & [phone_home] & ", " & ", " & [mobile]))) But it doesn't work in all cases Any help please? Thank's /kostas From jimdettman at verizon.net Wed Mar 29 14:22:52 2017 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 29 Mar 2017 15:22:52 -0400 Subject: [AccessD] IIf with three fields In-Reply-To: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> References: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> Message-ID: Kostas, I would write a function as nested IIf()'s get messy and are hard to follow. Also both true/false expressions are always evaluated, so it can be slower. But what I would suggest is: IIf(NZ([Mobile],"")="","","Mobile: " & [Mobile]) & IIf(NZ([phone_home],"")="",""," Home: " & [phone_home]) & IIf(NZ([phone_job],"")="",""," Job: " & [phone_job]) so you get a nicely formatted string with any combination of numbers you might have. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, March 29, 2017 02:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IIf with three fields Hi all, I am a little confused about how to make IIf to work in query with three different phones fields while all or any of them may be null I use IIf([mobile] Is Null; [phone_home]; IIf([phone_home] Is Null; [phone_job]; IIf([phone_job] Is Null; [phone_home] & ", " & [mobile]; [phone_job] & ", " & [phone_home] & ", " & ", " & [mobile]))) But it doesn't work in all cases Any help please? Thank's /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Wed Mar 29 14:31:30 2017 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 29 Mar 2017 12:31:30 -0700 Subject: [AccessD] IIf with three fields In-Reply-To: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> References: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> Message-ID: Try nz Select Nz ([mobile],Nz ([phone_home],NZ ([phone_job],"No Phone") As PhoneNum >From SomeTable If you want all 3 together, try something like: Select IIF (Len (trim (nz ([mobile],"")))>0,"Mobile: " & trim ([Mobile]),"") & IIF (Len (trim (nz ([mobile],"")))>0,"Home: " & trim ([phone_home]),"") & IIF (Len (trim (nz ([mobile],"")))>0,"Job: " & trim ([phone_job]),"") >From sometable On Mar 29, 2017 12:00 PM, "Kostas Konstantinidis" wrote: Hi all, I am a little confused about how to make IIf to work in query with three different phones fields while all or any of them may be null I use IIf([mobile] Is Null; [phone_home]; IIf([phone_home] Is Null; [phone_job]; IIf([phone_job] Is Null; [phone_home] & ", " & [mobile]; [phone_job] & ", " & [phone_home] & ", " & ", " & [mobile]))) But it doesn't work in all cases Any help please? Thank's /kostas -- 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 Mar 29 20:18:38 2017 From: darren at activebilling.com.au (Darren - Active Billing) Date: Thu, 30 Mar 2017 12:18:38 +1100 Subject: [AccessD] A2003: Testing if a Service or an EXE is Running on another machine Message-ID: Hi Guys, Old Windows boxes ? Mix of Server 2003 and XP.I have found some scripting to tell me if an executable is running on my local machine. Works great ? However, I am unable to get it to interrogate a different machine without err. Errors usually relate to permissions Scoured the googles and have tried various things, all to no avail. Has anyone successfully got this to work from Access? I also want to test is ?services? are running on other machines, too. Would appreciate assistance with that too Many thanks in advance Here?s an example of working code interrogating the local machine for an Executable. But fails when I pass a machine name or IP Address. Function f_IsExeRunning(strExeName As String, Optional strComputer As String = ".") As Boolean On Error GoTo Err_ ??Dim objProcesses??? As Object ??? Set objProcesses = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2").ExecQuery("SELECT * FROM Win32_Process WHERE Name = '" & strExeName & "'") ??? If objProcesses.Count <> 0 Then f_IsExeRunning = True Exit_: ??? On Error Resume Next ??? Set objProcesses = Nothing ??? Exit Function Err_: ??? MsgBox Err.Number & " " & Err.Description, vbCritical, "An Error has Occured" ??? Resume Exit_ End Function From kost36 at otenet.gr Thu Mar 30 00:30:55 2017 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 30 Mar 2017 08:30:55 +0300 Subject: [AccessD] IIf with three fields In-Reply-To: References: <004001d2a8be$89884ef0$9c98ecd0$@otenet.gr> Message-ID: <005201d2a916$cf801ca0$6e8055e0$@otenet.gr> Jim, Steve and David, All of your solutions work :-)) Many thank's /kostas -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, March 29, 2017 10:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] IIf with three fields Try nz Select Nz ([mobile],Nz ([phone_home],NZ ([phone_job],"No Phone") As PhoneNum >From SomeTable If you want all 3 together, try something like: Select IIF (Len (trim (nz ([mobile],"")))>0,"Mobile: " & trim ([Mobile]),"") & IIF (Len (trim (nz ([mobile],"")))>0,"Home: " & trim ([phone_home]),"") & IIF (Len (trim (nz ([mobile],"")))>0,"Job: " & trim ([phone_job]),"") From sometable On Mar 29, 2017 12:00 PM, "Kostas Konstantinidis" wrote: Hi all, I am a little confused about how to make IIf to work in query with three different phones fields while all or any of them may be null I use IIf([mobile] Is Null; [phone_home]; IIf([phone_home] Is Null; [phone_job]; IIf([phone_job] Is Null; [phone_home] & ", " & [mobile]; [phone_job] & ", " & [phone_home] & ", " & ", " & [mobile]))) But it doesn't work in all cases Any help please? Thank's /kostas -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Thu Mar 30 03:45:35 2017 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 30 Mar 2017 11:45:35 +0300 Subject: [AccessD] one more tip for help... Message-ID: <005701d2a932$01634e70$0429eb50$@otenet.gr> HI again, It works with YES but not in NO Am I missing something? Thank's kostas If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Else DoCmd.RunCommand acCmdDeleteRecord End If End If End If End Sub From df.waters at outlook.com Thu Mar 30 08:20:22 2017 From: df.waters at outlook.com (Dan Waters) Date: Thu, 30 Mar 2017 13:20:22 +0000 Subject: [AccessD] one more tip for help... In-Reply-To: <005701d2a932$01634e70$0429eb50$@otenet.gr> References: <005701d2a932$01634e70$0429eb50$@otenet.gr> Message-ID: Hi Kostas, This is something you could try: If Me.NewRecord = False Then Me.AllowDeletions = True DoCmd.RunCommand acCmdDeleteRecord Me.AllowDeletions = False End If Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, March 30, 2017 03:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] one more tip for help... HI again, It works with YES but not in NO Am I missing something? Thank's kostas If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Else DoCmd.RunCommand acCmdDeleteRecord End If End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Thu Mar 30 12:18:44 2017 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 30 Mar 2017 20:18:44 +0300 Subject: [AccessD] one more tip for help... In-Reply-To: References: <005701d2a932$01634e70$0429eb50$@otenet.gr> Message-ID: <00a501d2a979$b08af780$11a0e680$@otenet.gr> Hi Dan, Thank's for your response.. What I need is when the user select NO from the message panel to be able to delete the current record... The logic is On new record is the user forget to complete [date1] to close the message (clicking YES) and [date1] to get in set focus again... until he will decide if he wants to proceed to current record or not If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Till here everything works perfect The problem is after the 'else' point If for any reason like e.g. by mistake the user do create a new record to be able to delete it... Thank's /kostas -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 30, 2017 4:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] one more tip for help... Hi Kostas, This is something you could try: If Me.NewRecord = False Then Me.AllowDeletions = True DoCmd.RunCommand acCmdDeleteRecord Me.AllowDeletions = False End If Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, March 30, 2017 03:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] one more tip for help... HI again, It works with YES but not in NO Am I missing something? Thank's kostas If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Else DoCmd.RunCommand acCmdDeleteRecord End If End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Thu Mar 30 14:03:38 2017 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Fri, 31 Mar 2017 08:03:38 +1300 Subject: [AccessD] one more tip for help... In-Reply-To: <00a501d2a979$b08af780$11a0e680$@otenet.gr> References: <005701d2a932$01634e70$0429eb50$@otenet.gr> <00a501d2a979$b08af780$11a0e680$@otenet.gr> Message-ID: <130376B5BAC843C0B3DD1348595145E5@SteveT540p> Hi Kostas I think the problem is that you can't delete the record until there is one to delete. The record has not been saved at this point, so trying to delete it won't work. Maybe try: Cancel = True Me.Undo Regards Steve -----Original Message----- From: Kostas Konstantinidis Sent: Friday, March 31, 2017 6:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] one more tip for help... Hi Dan, Thank's for your response.. What I need is when the user select NO from the message panel to be able to delete the current record... The logic is On new record is the user forget to complete [date1] to close the message (clicking YES) and [date1] to get in set focus again... until he will decide if he wants to proceed to current record or not If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Till here everything works perfect The problem is after the 'else' point If for any reason like e.g. by mistake the user do create a new record to be able to delete it... Thank's /kostas -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, March 30, 2017 4:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] one more tip for help... Hi Kostas, This is something you could try: If Me.NewRecord = False Then Me.AllowDeletions = True DoCmd.RunCommand acCmdDeleteRecord Me.AllowDeletions = False End If Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, March 30, 2017 03:46 To: 'Access Developers discussion and problem solving' Subject: [AccessD] one more tip for help... HI again, It works with YES but not in NO Am I missing something? Thank's kostas If IsNull(date1) Then Msg = "Select OK to continue or No to delete current record" Style = vbYesNo Title = "Choose" responce = MsgBox(Msg, Style, Title) If responce = vbYes Then Me.date1.SetFocus Cancel = True Else DoCmd.RunCommand acCmdDeleteRecord End If End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com