From ewaldt at gdls.com Tue Oct 4 14:01:37 2016 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 4 Oct 2016 15:01:37 -0400 Subject: [AccessD] Aggregation Aggravation In-Reply-To: References: Message-ID: I have about 20 tables in a database, each containing a parts list imported from an Excel workbook and having about 25 fields. I am interested primarily in 3 fields, a part number field (text), a weight field (single), and a BoE field (text field). BoE, BTW, stands for "Basis of Estimate" and states whether the weight was attained by physically weight the part (thus an "Actual"), or from CAD ("Released", and others.) or just an estimate ("Preliminary Estimate"). Each occurrence of a part number in a work book (and therefore a table in this database) SHOULD have the same weight and BoE for a part number, but that is not always the case. The analyst who created the workbook might not have updated the data, or might have his/her own preferred estimate for it. The boss wants to know which ones have BoEs or weights that disagree from table to table. I have created an additional table with a field for part number, and then two fields representing each table (BoE and weight), and have filled it with the corresponding data. With over 100,000 records and about 45 fields, most of it is empty, since most part numbers occur in only one table. About 35,000 part numbers occur more than once, so those are the ones I care about. I hope the following simplified example illustrating this summary table can help you visualize this (01, 02, and 03 being table references): PartNumber 01BoE 01Wt 02BoE 02Wt 03BoE 03Wt NumOccurrence ABCD001 Actual 14.2 1 ABCD002 Actual 12 Actual 12 2 ABCE003 Releas 11 PrelEst 10 2 No telling how that will look in your email. BTW, I do have the final field in this example, which I've attained via VBA. Basically, I don't care about record one in this context; it only shows one occurrence. Record 2 has two occurrences, and they agree. Yea! OTOH, record 3's occurrences do NOT agree. What I need is to be able to find how many multi-occurrence records DO agree and how many do NOT agree, and for the latter, how many disagree because of BoE, and how many because of weight. I have written code to create the summary table, as well as other code to create a table telling me how many occurrences are for each part number. If you think either is unneeded, don't hesitate to ignore either or both. This is not easy to describe. I'm at a standstill, not knowing which way to go from here. Help would be definitely appreciated. Thanks. Tom Ewald Mass Properties General Dynamics Land Systems ---------------------------------------------------------------------- This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. && From jamesbutton at blueyonder.co.uk Tue Oct 4 14:38:31 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Tue, 4 Oct 2016 20:38:31 +0100 Subject: [AccessD] Aggregation Aggravation In-Reply-To: References: Message-ID: Thoughts - A table with all the part numbers and any one of the entries from your aggregate That will give you a start set of 'all reported parts' that have data against the part number) A separate table may be of use to indicate parts with no data entry In turn, match that against each of the source sets generating ( inner/outer? Whatever) a table of 'parts @ source workbook' where it differs from the value in the generated 'all reported parts' entry in the start You can use those reports individually to advise people of the need for checking/correction And you can then re-do an aggregation to report all parts where there are multiple differing values. I suspect the actual technique to use will depend on what you want to do with the results. Also - as you have the aggregate table, you could just process that to generate multiple result tables, and then aggregate them as you want. JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Tuesday, October 4, 2016 8:02 PM To: accessd at databaseadvisors.com Subject: [AccessD] Aggregation Aggravation I have about 20 tables in a database, each containing a parts list imported from an Excel workbook and having about 25 fields. I am interested primarily in 3 fields, a part number field (text), a weight field (single), and a BoE field (text field). BoE, BTW, stands for "Basis of Estimate" and states whether the weight was attained by physically weight the part (thus an "Actual"), or from CAD ("Released", and others.) or just an estimate ("Preliminary Estimate"). Each occurrence of a part number in a work book (and therefore a table in this database) SHOULD have the same weight and BoE for a part number, but that is not always the case. The analyst who created the workbook might not have updated the data, or might have his/her own preferred estimate for it. The boss wants to know which ones have BoEs or weights that disagree from table to table. I have created an additional table with a field for part number, and then two fields representing each table (BoE and weight), and have filled it with the corresponding data. With over 100,000 records and about 45 fields, most of it is empty, since most part numbers occur in only one table. About 35,000 part numbers occur more than once, so those are the ones I care about. I hope the following simplified example illustrating this summary table can help you visualize this (01, 02, and 03 being table references): PartNumber 01BoE 01Wt 02BoE 02Wt 03BoE 03Wt NumOccurrence ABCD001 Actual 14.2 1 ABCD002 Actual 12 Actual 12 2 ABCE003 Releas 11 PrelEst 10 2 No telling how that will look in your email. BTW, I do have the final field in this example, which I've attained via VBA. Basically, I don't care about record one in this context; it only shows one occurrence. Record 2 has two occurrences, and they agree. Yea! OTOH, record 3's occurrences do NOT agree. What I need is to be able to find how many multi-occurrence records DO agree and how many do NOT agree, and for the latter, how many disagree because of BoE, and how many because of weight. I have written code to create the summary table, as well as other code to create a table telling me how many occurrences are for each part number. If you think either is unneeded, don't hesitate to ignore either or both. This is not easy to describe. I'm at a standstill, not knowing which way to go from here. Help would be definitely appreciated. Thanks. Tom Ewald Mass Properties General Dynamics Land Systems ---------------------------------------------------------------------- This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. && -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Oct 4 14:41:55 2016 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 5 Oct 2016 08:41:55 +1300 Subject: [AccessD] Aggregation Aggravation In-Reply-To: References: Message-ID: <001801d21e77$5ceeefb0$16cccf10$@dalyn.co.nz> Hi Tom, If I understand you correctly, another way of approaching it is to have a single table with the three fields and put all the records into the table (you might want to include a 4th field for the original table the data came from). Then create a Totals query that groups the fields and also includes a count. The results will tell you how many of each combination you have. Then you could create another Totals query on the first query to count how many parts have multiple records. Using filtering you should be able to come up with your two lists. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, 5 October 2016 8:02 a.m. To: accessd at databaseadvisors.com Subject: [AccessD] Aggregation Aggravation I have about 20 tables in a database, each containing a parts list imported from an Excel workbook and having about 25 fields. I am interested primarily in 3 fields, a part number field (text), a weight field (single), and a BoE field (text field). BoE, BTW, stands for "Basis of Estimate" and states whether the weight was attained by physically weight the part (thus an "Actual"), or from CAD ("Released", and others.) or just an estimate ("Preliminary Estimate"). Each occurrence of a part number in a work book (and therefore a table in this database) SHOULD have the same weight and BoE for a part number, but that is not always the case. The analyst who created the workbook might not have updated the data, or might have his/her own preferred estimate for it. The boss wants to know which ones have BoEs or weights that disagree from table to table. I have created an additional table with a field for part number, and then two fields representing each table (BoE and weight), and have filled it with the corresponding data. With over 100,000 records and about 45 fields, most of it is empty, since most part numbers occur in only one table. About 35,000 part numbers occur more than once, so those are the ones I care about. I hope the following simplified example illustrating this summary table can help you visualize this (01, 02, and 03 being table references): PartNumber 01BoE 01Wt 02BoE 02Wt 03BoE 03Wt NumOccurrence ABCD001 Actual 14.2 1 ABCD002 Actual 12 Actual 12 2 ABCE003 Releas 11 PrelEst 10 2 No telling how that will look in your email. BTW, I do have the final field in this example, which I've attained via VBA. Basically, I don't care about record one in this context; it only shows one occurrence. Record 2 has two occurrences, and they agree. Yea! OTOH, record 3's occurrences do NOT agree. What I need is to be able to find how many multi-occurrence records DO agree and how many do NOT agree, and for the latter, how many disagree because of BoE, and how many because of weight. I have written code to create the summary table, as well as other code to create a table telling me how many occurrences are for each part number. If you think either is unneeded, don't hesitate to ignore either or both. This is not easy to describe. I'm at a standstill, not knowing which way to go from here. Help would be definitely appreciated. Thanks. Tom Ewald Mass Properties General Dynamics Land Systems ---------------------------------------------------------------------- This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. && -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Oct 4 16:36:33 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Oct 2016 07:36:33 +1000 Subject: [AccessD] Aggregation Aggravation In-Reply-To: References: , Message-ID: <57F420E1.8383.4FA744DE@stuart.lexacorp.com.pg> Bad approach. Don't have separate fields for the same data in separate workbooks. What you should start off with is a summary table containing: PartNum,BOE,Wt,WorkBookNum as Table1 Now create Table2 using : Select Distinct PartnNum,BOE,Wt from Table1 Group by PartNum,BOE,Wt That will give you a list of all the combinations or BOE and Wt for each partnum. Now create Table3 using: Select Distinct PartNum, Count(Partnum) as Variations >From Table2 Where Count(PartNum) > 1 That will give you a list of all Partnumbers where there are variations. Now delete all unique records in Table 2 Delete * from table2 where PartNum not in (Select Partnum from Table 3) Now you can easily run various queries against Table2 to determine the quantity and type of discrepancies. On 4 Oct 2016 at 15:01, ewaldt at gdls.com wrote: > I have about 20 tables in a database, each containing a parts list > imported from an Excel workbook and having about 25 fields. I am > interested primarily in 3 fields, a part number field (text), a weight > field (single), and a BoE field (text field). BoE, BTW, stands for > "Basis of Estimate" and states whether the weight was attained byType, > physically weight the part (thus an "Actual"), or from CAD > ("Released", and others.) or just an estimate ("Preliminary > Estimate"). Each occurrence of a part number in a work book (and > therefore a table in this database) SHOULD have the same weight and > BoE for a part number, but that is not always the case. The analyst > who created the workbook might not have updated the data, or might > have his/her own preferred estimate for it. The boss wants to know > which ones have BoEs or weights that disagree from table to table. I > have created an additional table with a field for part number, and > then two fields representing each table (BoE and weight), and have > filled it with the corresponding data. With over 100,000 records and > about 45 fields, most of it is empty, since most part numbers occur in > only one table. About 35,000 part numbers occur more than once, so > those are the ones I care about. I hope the following simplified > example illustrating this summary table can help you visualize this > (01, 02, and 03 being table references): > > PartNumber 01BoE 01Wt 02BoE 02Wt 03BoE 03Wt NumOccurrence > ABCD001 Actual 14.2 1 > ABCD002 Actual 12 Actual 12 2 > ABCE003 Releas 11 PrelEst 10 2 > > No telling how that will look in your email. BTW, I do have the final > field in this example, which I've attained via VBA. Basically, I don't > care about record one in this context; it only shows one occurrence. > Record 2 has two occurrences, and they agree. Yea! OTOH, record 3's > occurrences do NOT agree. > > What I need is to be able to find how many multi-occurrence records DO > agree and how many do NOT agree, and for the latter, how many disagree > because of BoE, and how many because of weight. > > I have written code to create the summary table, as well as other code > to create a table telling me how many occurrences are for each part > number. If you think either is unneeded, don't hesitate to ignore > either or both. > > This is not easy to describe. I'm at a standstill, not knowing which > way to go from here. Help would be definitely appreciated. > > Thanks. > > Tom Ewald > Mass Properties > General Dynamics Land Systems > > ---------------------------------------------------------------------- > This is an e-mail from General Dynamics Land Systems. It is for the > intended recipient only and may contain confidential and privileged > information. No one else may read, print, store, copy, forward or act > in reliance on it or its attachments. If you are not the intended > recipient, please return this message to the sender and delete the > message and any attachments from your computer. Your cooperation is > appreciated. && -- AccessD mailing list AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Website: > http://www.databaseadvisors.com > From jeff.developer at gmail.com Wed Oct 5 08:39:10 2016 From: jeff.developer at gmail.com (Jeff Barrows) Date: Wed, 5 Oct 2016 08:39:10 -0500 Subject: [AccessD] [Cross Posted] Website development question Message-ID: Is there anyone on here that is VERY familiar with JOOMLA website development? I would like to ask a few questions, off list, as I foolishly agreed to move and upgrade a JOOMLA website and now have a couple issues that I need help with. If you have any experience with JOOMLA, please contact me directly at jeff @ outbaktech .com. (Please not the unusual spelling of the email sddress) Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI From kost36 at otenet.gr Thu Oct 6 06:27:10 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 6 Oct 2016 14:27:10 +0300 Subject: [AccessD] Open Form As Datasheet Message-ID: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> Hi all, It works but although the "OffersData" is by default open as datasheet it opens as single form Dim stDocName As String Dim stLinkCriteria As String DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 stDocName = "OffersData" stLinkCriteria = "[CustomerId]=" & Me![Id] DoCmd.OpenForm stDocName, , , stLinkCriteria Could you please help? Thank's /kostas From paul.hartland at googlemail.com Thu Oct 6 06:53:29 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 6 Oct 2016 12:53:29 +0100 Subject: [AccessD] Open Form As Datasheet In-Reply-To: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> Message-ID: one of the comma's can't remember which off-hand should be a datamode and I think you can specify how you want the form to open there, I had problems in the past where the default mode wouldn't open correctly when using docmd.openform unless I also specified it in the docmd line On 6 October 2016 at 12:27, Kostas Konstantinidis wrote: > Hi all, > It works but although the "OffersData" is by default open as datasheet it > opens as single form > > Dim stDocName As String > Dim stLinkCriteria As String > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 > stDocName = "OffersData" > stLinkCriteria = "[CustomerId]=" & Me![Id] > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > > Could you please help? > > Thank's > /kostas > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From kost36 at otenet.gr Thu Oct 6 07:48:46 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 6 Oct 2016 15:48:46 +0300 Subject: [AccessD] Open Form As Datasheet In-Reply-To: References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> Message-ID: <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> I tried also acnormal and acdatash with no luck -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Thursday, October 6, 2016 2:53 PM To: Access Developers discussion and problem solving Cc: Paul Hartland Subject: Re: [AccessD] Open Form As Datasheet one of the comma's can't remember which off-hand should be a datamode and I think you can specify how you want the form to open there, I had problems in the past where the default mode wouldn't open correctly when using docmd.openform unless I also specified it in the docmd line On 6 October 2016 at 12:27, Kostas Konstantinidis wrote: > Hi all, > It works but although the "OffersData" is by default open as datasheet > it opens as single form > > Dim stDocName As String > Dim stLinkCriteria As String > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 > stDocName = "OffersData" > stLinkCriteria = "[CustomerId]=" & Me![Id] > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > > Could you please help? > > Thank's > /kostas > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Thu Oct 6 07:55:42 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 6 Oct 2016 13:55:42 +0100 Subject: [AccessD] Open Form As Datasheet In-Reply-To: <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> Message-ID: hmmm, what happens if you remove the stLinkCriteria and just try the line DoCmd.OpenForm stDocName, acFormDS On 6 October 2016 at 13:48, Kostas Konstantinidis wrote: > I tried also acnormal and acdatash with no luck > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland via AccessD > Sent: Thursday, October 6, 2016 2:53 PM > To: Access Developers discussion and problem solving > > Cc: Paul Hartland > Subject: Re: [AccessD] Open Form As Datasheet > > one of the comma's can't remember which off-hand should be a datamode and I > think you can specify how you want the form to open there, I had problems > in > the past where the default mode wouldn't open correctly when using > docmd.openform unless I also specified it in the docmd line > > On 6 October 2016 at 12:27, Kostas Konstantinidis > wrote: > > > Hi all, > > It works but although the "OffersData" is by default open as datasheet > > it opens as single form > > > > Dim stDocName As String > > Dim stLinkCriteria As String > > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , > acMenuVer70 > > stDocName = "OffersData" > > stLinkCriteria = "[CustomerId]=" & Me![Id] > > > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > > > > > Could you please help? > > > > Thank's > > /kostas > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From kost36 at otenet.gr Thu Oct 6 08:09:38 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 6 Oct 2016 16:09:38 +0300 Subject: [AccessD] Open Form As Datasheet In-Reply-To: References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> Message-ID: <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria That make the difference Thank's Paul -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Thursday, October 6, 2016 3:56 PM To: Access Developers discussion and problem solving Cc: Paul Hartland Subject: Re: [AccessD] Open Form As Datasheet hmmm, what happens if you remove the stLinkCriteria and just try the line DoCmd.OpenForm stDocName, acFormDS On 6 October 2016 at 13:48, Kostas Konstantinidis wrote: > I tried also acnormal and acdatash with no luck > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Paul Hartland via AccessD > Sent: Thursday, October 6, 2016 2:53 PM > To: Access Developers discussion and problem solving > > Cc: Paul Hartland > Subject: Re: [AccessD] Open Form As Datasheet > > one of the comma's can't remember which off-hand should be a datamode > and I think you can specify how you want the form to open there, I had > problems in the past where the default mode wouldn't open correctly > when using docmd.openform unless I also specified it in the docmd line > > On 6 October 2016 at 12:27, Kostas Konstantinidis > wrote: > > > Hi all, > > It works but although the "OffersData" is by default open as > > datasheet it opens as single form > > > > Dim stDocName As String > > Dim stLinkCriteria As String > > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , > acMenuVer70 > > stDocName = "OffersData" > > stLinkCriteria = "[CustomerId]=" & Me![Id] > > > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > > > > > Could you please help? > > > > Thank's > > /kostas > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Thu Oct 6 08:17:34 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 6 Oct 2016 14:17:34 +0100 Subject: [AccessD] Open Form As Datasheet In-Reply-To: <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> Message-ID: No worries, glad I could be of help, this group has helped me a lot over the years. On 6 October 2016 at 14:09, Kostas Konstantinidis wrote: > DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria > > That make the difference > > Thank's Paul > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland via AccessD > Sent: Thursday, October 6, 2016 3:56 PM > To: Access Developers discussion and problem solving > > Cc: Paul Hartland > Subject: Re: [AccessD] Open Form As Datasheet > > hmmm, what happens if you remove the stLinkCriteria and just try the line > DoCmd.OpenForm stDocName, acFormDS > > On 6 October 2016 at 13:48, Kostas Konstantinidis > wrote: > > > I tried also acnormal and acdatash with no luck > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Paul Hartland via AccessD > > Sent: Thursday, October 6, 2016 2:53 PM > > To: Access Developers discussion and problem solving > > > > Cc: Paul Hartland > > Subject: Re: [AccessD] Open Form As Datasheet > > > > one of the comma's can't remember which off-hand should be a datamode > > and I think you can specify how you want the form to open there, I had > > problems in the past where the default mode wouldn't open correctly > > when using docmd.openform unless I also specified it in the docmd line > > > > On 6 October 2016 at 12:27, Kostas Konstantinidis > > wrote: > > > > > Hi all, > > > It works but although the "OffersData" is by default open as > > > datasheet it opens as single form > > > > > > Dim stDocName As String > > > Dim stLinkCriteria As String > > > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , > > acMenuVer70 > > > stDocName = "OffersData" > > > stLinkCriteria = "[CustomerId]=" & Me![Id] > > > > > > DoCmd.OpenForm stDocName, , , stLinkCriteria > > > > > > > > > Could you please help? > > > > > > Thank's > > > /kostas > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From ewaldt at gdls.com Thu Oct 6 08:29:33 2016 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Thu, 6 Oct 2016 09:29:33 -0400 Subject: [AccessD] Aggregation Aggravation In-Reply-To: References: Message-ID: Aggregation Aggravation Thanks, all. David and Stuart, you have some similarities in your approach, and I think you're correct. The table I have has its place (it's what the boss wants to see), but it's not what I need for aggregate reports. I need that four-field table identifying the part number, weight, BeO and originating table. Thanks. I knew it didn't look normalized, but for some reason it wasn't clicking. Been doing too much Excel lately, I guess. :-) Thanks, again. Tom Ewald Mass Properties General Dynamics Land Systems (586) 825-4838 ---------------------------------------------------------------------- This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. && From Lambert.Heenan at aig.com Thu Oct 6 10:23:48 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Thu, 6 Oct 2016 15:23:48 +0000 Subject: [AccessD] Open Form As Datasheet In-Reply-To: <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> Message-ID: Glad you got that sorted out. :-) BTW I personally always use Me.Dirty = False to commit any record changes in a bound form rather than the somewhat arcane DoCmd code DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 If for no other reason than that it is version independent. Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, October 06, 2016 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open Form As Datasheet DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria That make the difference Thank's Paul -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Thursday, October 6, 2016 3:56 PM To: Access Developers discussion and problem solving Cc: Paul Hartland Subject: Re: [AccessD] Open Form As Datasheet hmmm, what happens if you remove the stLinkCriteria and just try the line DoCmd.OpenForm stDocName, acFormDS From kost36 at otenet.gr Thu Oct 6 12:10:04 2016 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 6 Oct 2016 20:10:04 +0300 Subject: [AccessD] Open Form As Datasheet In-Reply-To: References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> Message-ID: <004801d21ff4$7c207970$74616c50$@otenet.gr> Hi Lambert, Thank's for your comments /kostas -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, October 6, 2016 6:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open Form As Datasheet Glad you got that sorted out. :-) BTW I personally always use Me.Dirty = False to commit any record changes in a bound form rather than the somewhat arcane DoCmd code DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 If for no other reason than that it is version independent. Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Thursday, October 06, 2016 9:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open Form As Datasheet DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria That make the difference Thank's Paul -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Thursday, October 6, 2016 3:56 PM To: Access Developers discussion and problem solving Cc: Paul Hartland Subject: Re: [AccessD] Open Form As Datasheet hmmm, what happens if you remove the stLinkCriteria and just try the line DoCmd.OpenForm stDocName, acFormDS -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Sun Oct 9 05:43:53 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 9 Oct 2016 06:43:53 -0400 Subject: [AccessD] [Cross Posted] Website development question In-Reply-To: References: Message-ID: None at all, but having read this from their website, I am sure it is not a foolish choice: "With more than 3 percent of the Web running on Joomla! and a CMS market share of more than 9 percent, Joomla! powers the web presence of hundreds of thousands of small businesses, governments, non-profits and large organizations worldwide." Something that big ought to be supported, even if not on an Access geek site like this (heh heh - apologies mates!); Let us know please Jeff if you find a solution. On Wed, Oct 5, 2016 at 9:39 AM, Jeff Barrows wrote: > Is there anyone on here that is VERY familiar with JOOMLA website > development? I would like to ask a few questions, off list, as I foolishly > agreed to move and upgrade a JOOMLA website and now have a couple issues > that I need help with. > > If you have any experience with JOOMLA, please contact me directly at jeff > @ outbaktech .com. (Please not the unusual spelling of the email sddress) > > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Sun Oct 9 07:18:03 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 9 Oct 2016 08:18:03 -0400 Subject: [AccessD] Open Form As Datasheet In-Reply-To: References: <002801d21fc4$95608ef0$c021acd0$@otenet.gr> <002f01d21fcf$fb943090$f2bc91b0$@otenet.gr> <003001d21fd2$e6116aa0$b2343fe0$@otenet.gr> Message-ID: what happens to Me.Dirty when you hit Escape and the old value in a field reappears? On Thu, Oct 6, 2016 at 11:23 AM, Heenan, Lambert wrote: > Glad you got that sorted out. :-) > > BTW I personally always use > > Me.Dirty = False > > to commit any record changes in a bound form rather than the somewhat > arcane DoCmd code > > DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 > > If for no other reason than that it is version independent. > > Lambert > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kostas Konstantinidis > Sent: Thursday, October 06, 2016 9:10 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Open Form As Datasheet > > DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria > > That make the difference > > Thank's Paul > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland via AccessD > Sent: Thursday, October 6, 2016 3:56 PM > To: Access Developers discussion and problem solving < > accessd at databaseadvisors.com> > Cc: Paul Hartland > Subject: Re: [AccessD] Open Form As Datasheet > > hmmm, what happens if you remove the stLinkCriteria and just try the line > DoCmd.OpenForm stDocName, acFormDS > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Oct 9 16:08:26 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 9 Oct 2016 17:08:26 -0400 Subject: [AccessD] Sayonara Message-ID: I have less than 60 days to live, according to the physicians at my hospital.I just want to say Thanks to you all, for your contributions not only to me but also this worldwide community that has envigrated me and made me feel that life was worth living. I had a good trip, and now it''s over, within days. Goodbye, my friends. I don't know how to tell you how much you enhanced my life, but you did. It's time to say goodbye, and I love you all, and have profited from you all. Thank you for enhancing my life. Might be a few more days, but this needed to be said. I met a lot of friends here and this will not be forgotten, -- Arthur From bensonforums at gmail.com Sun Oct 9 19:51:47 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 9 Oct 2016 20:51:47 -0400 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: Art, I have enjoyed everything - and I mean EVERYTHING we have discussed here, little though I participate - and your posts very much a part of that. I don't mean to trouble you with any stuff you either have no energy for or can't get access to in your current condition or location, but if - and I mean *if* you are interested in at least fantasizing about the possibility that nutrition can help in any way at all to fight whatever you are fighting... please consider checking out this video and the site itself. Now, full disclosure: there is nothing to disclose! I have never even visited the site. But I had one friend fighting cancer and when I wrote to another friend asking him to help me with a GoFundMe site to raise money for the 1st friend's treatment, he adamantly refused but could not say enough about this site. So with your recent announcement, this bell went off, and I thought what can it hurt to pass this information on. At worst, you will know I am a friend trying to help ... and at best, this might really do so. http://nutritionfacts.org/video/food-as-medicine/ All the best, Bill Benson Schenectady, NY On Sun, Oct 9, 2016 at 5:08 PM, Arthur Fuller wrote: > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions not > only to me but also this worldwide community that has envigrated me and > made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my friends. I > don't know how to tell you how much you enhanced my life, but you did. It's > time to say goodbye, and I love you all, and have profited from you all. > Thank you for enhancing my life. Might be a few more days, but this needed > to be said. I met a lot of friends here and this will not be forgotten, > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Sun Oct 9 19:54:32 2016 From: marksimms at verizon.net (Mark Simms) Date: Sun, 09 Oct 2016 20:54:32 -0400 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: <009a01d22290$ddc20240$994606c0$@net> Omigosh Art - that is so sad. You've been a great contributor to this forum and won't be forgotten. God Bless you. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Arthur Fuller > Sent: Sunday, October 09, 2016 5:08 PM > To: Access Developers discussion and problem solving; Off Topic; > Discussion concerning MS SQL Server > Subject: [AccessD] Sayonara > > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions > not > only to me but also this worldwide community that has envigrated me and > made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my > friends. I > don't know how to tell you how much you enhanced my life, but you did. > It's > time to say goodbye, and I love you all, and have profited from you > all. > Thank you for enhancing my life. Might be a few more days, but this > needed > to be said. I met a lot of friends here and this will not be forgotten, > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jackandpat.d at gmail.com Sun Oct 9 21:09:42 2016 From: jackandpat.d at gmail.com (jack drawbridge) Date: Sun, 9 Oct 2016 22:09:42 -0400 Subject: [AccessD] Sayonara In-Reply-To: <009a01d22290$ddc20240$994606c0$@net> References: <009a01d22290$ddc20240$994606c0$@net> Message-ID: Shocking news Arthur. I hardly know how to respond. I always enjoy your posts and discussions and your enthusiasm. God bless. Jack On Sun, Oct 9, 2016 at 8:54 PM, Mark Simms wrote: > Omigosh Art - > that is so sad. You've been a great contributor to this forum and won't be > forgotten. > God Bless you. > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Arthur Fuller > > Sent: Sunday, October 09, 2016 5:08 PM > > To: Access Developers discussion and problem solving; Off Topic; > > Discussion concerning MS SQL Server > > Subject: [AccessD] Sayonara > > > > I have less than 60 days to live, according to the physicians at my > > hospital.I just want to say Thanks to you all, for your contributions > > not > > only to me but also this worldwide community that has envigrated me and > > made me feel that life was worth living. > > > > I had a good trip, and now it''s over, within days. Goodbye, my > > friends. I > > don't know how to tell you how much you enhanced my life, but you did. > > It's > > time to say goodbye, and I love you all, and have profited from you > > all. > > Thank you for enhancing my life. Might be a few more days, but this > > needed > > to be said. I met a lot of friends here and this will not be forgotten, > > > > -- > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Sun Oct 9 21:26:32 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 9 Oct 2016 19:26:32 -0700 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: This is the most important time of your life, Arthur. Know that your friends and family and people you've never met care about you and are sending their love and support as long as you may need it. You have enriched our lives and will live on in our hearts. Blessings, old friend, and goodbye. On Oct 9, 2016 2:10 PM, "Arthur Fuller" wrote: > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions not > only to me but also this worldwide community that has envigrated me and > made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my friends. I > don't know how to tell you how much you enhanced my life, but you did. It's > time to say goodbye, and I love you all, and have profited from you all. > Thank you for enhancing my life. Might be a few more days, but this needed > to be said. I met a lot of friends here and this will not be forgotten, > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at gmail.com Sun Oct 9 22:03:18 2016 From: jwcolby at gmail.com (John Colby) Date: Sun, 9 Oct 2016 23:03:18 -0400 Subject: [AccessD] [dba-SQLServer] Sayonara In-Reply-To: References: Message-ID: Arthur, You have meant so much to this group and to the world. Witty, resourceful, knowledgeable, always willing to assist. My life will be diminished. You will be missed not only here, but in the world around you outside of these rooms. I think we need one more go at temporal database design or natural vs surrogate keys. Go in peace my friend. On 10/9/2016 5:08 PM, Arthur Fuller wrote: > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions not > only to me but also this worldwide community that has envigrated me and > made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my friends. I > don't know how to tell you how much you enhanced my life, but you did. It's > time to say goodbye, and I love you all, and have profited from you all. > Thank you for enhancing my life. Might be a few more days, but this needed > to be said. I met a lot of friends here and this will not be forgotten, > -- John W. Colby From robert at servicexp.com Mon Oct 10 06:04:56 2016 From: robert at servicexp.com (Robert) Date: Mon, 10 Oct 2016 07:04:56 -0400 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: <000001d222e6$244cef90$6ce6ceb0$@com> Arthur, Thank You! Thank you for the many times you reached out to help me and my fellow developers around the world. Thank you for the courage to say goodbye, you will be missed. We see you off first to the land ahead, as we are all not far behind. I'll leave you with this poem: God never promised a life without pain, Laughter without tears or sun without rain. But He did promise strength for the day, Comfort for the tears and the light for the way, And for all who believe In His Heaven above He rewards their faith In His everlasting love. (unknown) Sayonara! Arthur Robert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, October 09, 2016 5:08 PM To: Access Developers discussion and problem solving; Off Topic; Discussion concerning MS SQL Server Subject: [AccessD] Sayonara I have less than 60 days to live, according to the physicians at my hospital.I just want to say Thanks to you all, for your contributions not only to me but also this worldwide community that has envigrated me and made me feel that life was worth living. I had a good trip, and now it''s over, within days. Goodbye, my friends. I don't know how to tell you how much you enhanced my life, but you did. It's time to say goodbye, and I love you all, and have profited from you all. Thank you for enhancing my life. Might be a few more days, but this needed to be said. I met a lot of friends here and this will not be forgotten, -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Mon Oct 10 08:12:12 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Mon, 10 Oct 2016 13:12:12 +0000 Subject: [AccessD] Sayonara In-Reply-To: <009a01d22290$ddc20240$994606c0$@net> References: <009a01d22290$ddc20240$994606c0$@net> Message-ID: It is sobering to find this reminder of our mortality in our in-boxes today. Arthur, I must say that your message exhibits tremendous strength of character and courage in the face of your prognosis. I never met you, but have read your contributions to this group with interest. You are a role model that we could all learn from. May your last moments be peaceful. Lambert > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Arthur Fuller > Sent: Sunday, October 09, 2016 5:08 PM > To: Access Developers discussion and problem solving; Off Topic; > Discussion concerning MS SQL Server > Subject: [AccessD] Sayonara > > I have less than 60 days to live, according to the physicians at my > hospital.I just want to say Thanks to you all, for your contributions > not only to me but also this worldwide community that has envigrated > me and made me feel that life was worth living. > > I had a good trip, and now it''s over, within days. Goodbye, my > friends. I don't know how to tell you how much you enhanced my life, > but you did. > It's > time to say goodbye, and I love you all, and have profited from you > all. > Thank you for enhancing my life. Might be a few more days, but this > needed to be said. I met a lot of friends here and this will not be > forgotten, > > -- > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Oct 10 08:50:55 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 10 Oct 2016 09:50:55 -0400 Subject: [AccessD] Sayonara In-Reply-To: References: Message-ID: <14F3551BD4A04FE08818E652FF27275C@XPS> Arthur, I have many thoughts and feelings at the moment, but would like to start with that I echo all of the comments and thoughts the others have already shared. I'd also add that I consider myself better for having known you through your contributions to this list, Access, databases in general, and having the opportunity to work with you. I once said that you had more facets than a diamond, which are beautiful things. Your e-mail below just goes to prove that to be true, as you just revealed many more. You have my best in ever sense for your continuing journey in whatever form that may take. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, October 09, 2016 05:08 PM To: Access Developers discussion and problem solving; Off Topic; Discussion concerning MS SQL Server Subject: [AccessD] Sayonara I have less than 60 days to live, according to the physicians at my hospital.I just want to say Thanks to you all, for your contributions not only to me but also this worldwide community that has envigrated me and made me feel that life was worth living. I had a good trip, and now it''s over, within days. Goodbye, my friends. I don't know how to tell you how much you enhanced my life, but you did. It's time to say goodbye, and I love you all, and have profited from you all. Thank you for enhancing my life. Might be a few more days, but this needed to be said. I met a lot of friends here and this will not be forgotten, -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delam at zyterra.com Mon Oct 10 09:29:16 2016 From: delam at zyterra.com (Zyterra) Date: Mon, 10 Oct 2016 09:29:16 -0500 Subject: [AccessD] Sayonara In-Reply-To: References: <009a01d22290$ddc20240$994606c0$@net> Message-ID: Arthur, I am in shock and spent a day hoping this was a really lousy joke. That said, I hope you fill your days with the best memories yet. Here is to hoping that your case is yet another I have seen where the doctors are wrong. Debbie I cannot be perfect, but I can choose to be better than I was yesterday. Sent from my iPhone > On Oct 10, 2016, at 8:12 AM, Heenan, Lambert wrote: > > It is sobering to find this reminder of our mortality in our in-boxes today. > > Arthur, I must say that your message exhibits tremendous strength of character and courage in the face of your prognosis. I never met you, but have read your contributions to this group with interest. You are a role model that we could all learn from. May your last moments be peaceful. > > > Lambert > >> -----Original Message----- >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf >> Of Arthur Fuller >> Sent: Sunday, October 09, 2016 5:08 PM >> To: Access Developers discussion and problem solving; Off Topic; >> Discussion concerning MS SQL Server >> Subject: [AccessD] Sayonara >> >> I have less than 60 days to live, according to the physicians at my >> hospital.I just want to say Thanks to you all, for your contributions >> not only to me but also this worldwide community that has envigrated >> me and made me feel that life was worth living. >> >> I had a good trip, and now it''s over, within days. Goodbye, my >> friends. I don't know how to tell you how much you enhanced my life, >> but you did. >> It's >> time to say goodbye, and I love you all, and have profited from you >> all. >> Thank you for enhancing my life. Might be a few more days, but this >> needed to be said. I met a lot of friends here and this will not be >> forgotten, >> >> -- >> Arthur >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paul at wordwright.org Mon Oct 10 10:15:23 2016 From: paul at wordwright.org (paul) Date: Mon, 10 Oct 2016 17:15:23 +0200 Subject: [AccessD] Sayonara In-Reply-To: References: <009a01d22290$ddc20240$994606c0$@net> Message-ID: Hear hear! to the sympathies and empathies, and here's my best of hopes, too, Art. However, do remember these 'experts' are OFTEN wrong. I seem to recall that you had a similar warning back around 2007. Defy the experts, Arthur. Keep going with your magic. We want you, and dare I say it, need you. Best wishes, best hopes paul Paul Rodgers London KT6 On 10 October 2016 at 16:29, Zyterra wrote: > Arthur, > > I am in shock and spent a day hoping this was a really lousy joke. That > said, I hope you fill your days with the best memories yet. Here is to > hoping that your case is yet another I have seen where the doctors are > wrong. > > Debbie > > I cannot be perfect, but I can choose to be better than I was yesterday. > > Sent from my iPhone > > > On Oct 10, 2016, at 8:12 AM, Heenan, Lambert > wrote: > > > > It is sobering to find this reminder of our mortality in our in-boxes > today. > > > > Arthur, I must say that your message exhibits tremendous strength of > character and courage in the face of your prognosis. I never met you, but > have read your contributions to this group with interest. You are a role > model that we could all learn from. May your last moments be peaceful. > > > > > > Lambert > > > >> -----Original Message----- > >> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > >> Of Arthur Fuller > >> Sent: Sunday, October 09, 2016 5:08 PM > >> To: Access Developers discussion and problem solving; Off Topic; > >> Discussion concerning MS SQL Server > >> Subject: [AccessD] Sayonara > >> > >> I have less than 60 days to live, according to the physicians at my > >> hospital.I just want to say Thanks to you all, for your contributions > >> not only to me but also this worldwide community that has envigrated > >> me and made me feel that life was worth living. > >> > >> I had a good trip, and now it''s over, within days. Goodbye, my > >> friends. I don't know how to tell you how much you enhanced my life, > >> but you did. > >> It's > >> time to say goodbye, and I love you all, and have profited from you > >> all. > >> Thank you for enhancing my life. Might be a few more days, but this > >> needed to be said. I met a lot of friends here and this will not be > >> forgotten, > >> > >> -- > >> Arthur > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Oct 10 12:24:04 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Oct 2016 10:24:04 -0700 Subject: [AccessD] Make pdf report Message-ID: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From Chester_Kaup at kindermorgan.com Mon Oct 10 12:40:53 2016 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 10 Oct 2016 17:40:53 +0000 Subject: [AccessD] Make pdf report In-Reply-To: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA6ED@HOUEX11.kindermorgan.com> Here is an excerpt of a function to send a report to a pdf file ReportDate = ReportMonth & " " & ReportYear ReportTemplate = "rpt Cisco Sands Monthly Well Count" ReportName = "Cisco Sands Well Count " & ReportDate & ".pdf" Path = "C:\Files\Access\Well Counts" FileName = Path & "\" & ReportName DoCmd.OutputTo acOutputReport, ReportTemplate, "PDFFormat(*.pdf)", FileName, False, "", , acExportQualityPrint -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, October 10, 2016 12:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Make pdf report Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon Oct 10 12:42:24 2016 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 10 Oct 2016 10:42:24 -0700 Subject: [AccessD] Make pdf report In-Reply-To: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: Hi Rocky: You don't mention which version of Access you're using. Here is some Access 2010 code I use, which also applies a filter string to the report before outputting, and deals with a weird bug I've found in the SQL string for reports, where sometimes there is a semicolon at the end, and sometimes not: DoCmd.OpenReport RName, acViewDesign, , , acHidden SqlStr = Reports(RName).Report.RecordSource 'is there a semicolon at the end? Is this an access 2010 difference? If InStr(SqlStr, ";") > 0 Then SqlStr = Left(SqlStr, InStr(SqlStr, ";") - 1) End If If FilterStr <> "" Then ' insert custom where string before order by i = InStr(SqlStr, "ORDER BY") If i <> 0 Then SqlStr = Left(SqlStr, i - 1) & "WHERE " & FilterStr & " " & Right(SqlStr, Len(SqlStr) - i + 1) Else SqlStr = SqlStr & " WHERE " & FilterStr End If End If Reports(RName).Report.RecordSource = SqlStr MyPath = PDFPath & FName & ".pdf" DoCmd.OutputTo acOutputReport, RName, acFormatPDF, MyPath On Mon, Oct 10, 2016 at 10:24 AM, Rocky Smolin wrote: > Dear List: > > > > I developed some code to create a report as a pdf and attach it to an email > many years ago in A2003. It doesn't work any more. > > > > Is there a 'moderne' way to accomplish this? Sending the attachment by > email > is, I think the less important part of the task - getting the report output > in pdf form is the sticker. > > > > 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 Chester_Kaup at kindermorgan.com Mon Oct 10 12:48:20 2016 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 10 Oct 2016 17:48:20 +0000 Subject: [AccessD] Make pdf report In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA6ED@HOUEX11.kindermorgan.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA6ED@HOUEX11.kindermorgan.com> Message-ID: <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA708@HOUEX11.kindermorgan.com> Forgot to mention this is for access 2010. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, October 10, 2016 12:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make pdf report Here is an excerpt of a function to send a report to a pdf file ReportDate = ReportMonth & " " & ReportYear ReportTemplate = "rpt Cisco Sands Monthly Well Count" ReportName = "Cisco Sands Well Count " & ReportDate & ".pdf" Path = "C:\Files\Access\Well Counts" FileName = Path & "\" & ReportName DoCmd.OutputTo acOutputReport, ReportTemplate, "PDFFormat(*.pdf)", FileName, False, "", , acExportQualityPrint -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, October 10, 2016 12:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Make pdf report Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. 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 Mon Oct 10 13:42:42 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Oct 2016 11:42:42 -0700 Subject: [AccessD] Make pdf report In-Reply-To: <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA6ED@HOUEX11.kindermorgan.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> <8E16E03987F1FD4FB0A9BEBF7CC160CB294EA6ED@HOUEX11.kindermorgan.com> Message-ID: <016101d22326$15c99eb0$415cdc10$@bchacc.com> Dang! Seems too easy. I'll give it spin and report back. Thank you. Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, October 10, 2016 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make pdf report Here is an excerpt of a function to send a report to a pdf file ReportDate = ReportMonth & " " & ReportYear ReportTemplate = "rpt Cisco Sands Monthly Well Count" ReportName = "Cisco Sands Well Count " & ReportDate & ".pdf" Path = "C:\Files\Access\Well Counts" FileName = Path & "\" & ReportName DoCmd.OutputTo acOutputReport, ReportTemplate, "PDFFormat(*.pdf)", FileName, False, "", , acExportQualityPrint -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, October 10, 2016 12:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Make pdf report Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. 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 Mon Oct 10 13:43:57 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Oct 2016 11:43:57 -0700 Subject: [AccessD] Make pdf report In-Reply-To: References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: <016201d22326$426a7c50$c73f74f0$@bchacc.com> Thanks. Similar to Chester's. I think that OutPut To may not have been in 2003? Otherwise I should have used it. This is going to be A2010. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Monday, October 10, 2016 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make pdf report Hi Rocky: You don't mention which version of Access you're using. Here is some Access 2010 code I use, which also applies a filter string to the report before outputting, and deals with a weird bug I've found in the SQL string for reports, where sometimes there is a semicolon at the end, and sometimes not: DoCmd.OpenReport RName, acViewDesign, , , acHidden SqlStr = Reports(RName).Report.RecordSource 'is there a semicolon at the end? Is this an access 2010 difference? If InStr(SqlStr, ";") > 0 Then SqlStr = Left(SqlStr, InStr(SqlStr, ";") - 1) End If If FilterStr <> "" Then ' insert custom where string before order by i = InStr(SqlStr, "ORDER BY") If i <> 0 Then SqlStr = Left(SqlStr, i - 1) & "WHERE " & FilterStr & " " & Right(SqlStr, Len(SqlStr) - i + 1) Else SqlStr = SqlStr & " WHERE " & FilterStr End If End If Reports(RName).Report.RecordSource = SqlStr MyPath = PDFPath & FName & ".pdf" DoCmd.OutputTo acOutputReport, RName, acFormatPDF, MyPath On Mon, Oct 10, 2016 at 10:24 AM, Rocky Smolin wrote: > Dear List: > > > > I developed some code to create a report as a pdf and attach it to an > email many years ago in A2003. It doesn't work any more. > > > > Is there a 'moderne' way to accomplish this? Sending the attachment by > email is, I think the less important part of the task - getting the > report output in pdf form is the sticker. > > > > 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 Lambert.Heenan at aig.com Mon Oct 10 14:21:46 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Mon, 10 Oct 2016 19:21:46 +0000 Subject: [AccessD] Make pdf report In-Reply-To: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: What version of Office, Rocky? In 2008 and above you can output directly to a PDF file with code like this... DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, strFolder & strSubFolder & strOutputname, False Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, October 10, 2016 1:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Make pdf report Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. 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 jwcolby at gmail.com Mon Oct 10 17:18:41 2016 From: jwcolby at gmail.com (John Colby) Date: Mon, 10 Oct 2016 18:18:41 -0400 Subject: [AccessD] Make pdf report In-Reply-To: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: <82174924-a88d-9610-a501-55148a1bbb49@gmail.com> This is the header of what I use. No idea whether it runs under Windows 10 etc. If this is NOT what you use and would like the rest of it (the actual code) I can send it to you off line. 'DEVELOPED AND TESTED UNDER MICROSOFT ACCESS 2000 through A2003 ' Can be converted to A97 but you must modify the RelationSip window Blob ' structures to the A97 specific versions. You can find these structure declarations ' in the RelationShip Views project on my site. ' 'Copyright: Stephen Lebans - Lebans Holdings 1999 Ltd. 'Distribution: ' Plain and simple you are free to use this source within your own ' applications, whether private or commercial, without cost or obligation, other that keeping ' the copyright notices intact. No public notice of copyright is required. ' You may not resell this source code by itself or as part of a collection. ' You may not post this code or any portion of this code in electronic format. ' The source may only be downloaded from: ' www.lebans.com ' 'Name: ConvertReportToPDF ' 'Version: 7.85 ' 'Purpose: ' ' 1) Export report to Snapshot and then to PDF. Output exact duplicate of a Report to PDF. ' '????????????????????????????????????????????????? ' 'Author: Stephen Lebans ' 'Email: Stephen at lebans.com ' 'Web Site: www.lebans.com ' 'Date: May 16, 2008, 11:11:11 PM ' 'Dependencies: DynaPDF.dll StrStorage.dll clsCommonDialog ' 'Inputs: See inline Comments for explanation 'Output: See inline Comments for explanation ' 'Credits: Anyone who wants some! ' 'BUGS: Please report any bugs to my email address. ' 'What's Missing: ' Enhanced Error Handling ' 'How it Works: ' A SnapShot file is created in the normal manner by code like: ' 'Export the selected Report to SnapShot format ' DoCmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", _ ' strPathandFileName ' ' rptName is the desired Report we are working with. ' strPathandFileName can be anything, in this Class it is a ' Temporary FileName and Path created with calls to the ' GetTempPath and GetUniqueFileName API's. ' ' We then pass the FileName to the SetupDecompressOrCopyFile API. ' This will decompress the original SnapShot file into a ' Temporary file with the same name but a "tmp" extension. ' ' The decompressed Temp SnapShot file is then passed to the ' ConvertUncompressedSnapshotToPDF function exposed by StrStorage.DLL. ' The declaration for this call is at the top of this module. ' The function uses the Structured Storage API's to ' open and read the uncompressed Snapshot file. Within this file, ' there is one Enhanced Metafile for each page of the original report. ' Additionally, there is a Header section that contains, among other things, ' a copy of the Report's Printer Devmode structure. We need this to ' determine the page size of the report. 'The StrStorage DLL exposes the function: 'Public Function ConvertUncompressedSnapshotToPDF( _ 'UnCompressedSnapShotName As String, _ 'OutputPDFname As String = "", _ 'Optional CompressionLevel As Long = 0, _ 'Optional PasswordOpenAs String = "" _ 'Optional PasswordOwner As String = "" _ 'Optional PasswordRestrictions as Long = 0, _ 'Optional ByVal PDFNoFontEmbedding As Long = 0, _ 'Optional ByVal PDFUnicodeFlags As Long = 0 _ ') As Boolean ' Now we call the ConvertUncompressedSnapshotToPDF funtion exposed by the StrStorage DLL. ' 'blRet = ConvertUncompressedSnapshot(sFileName as String, sPDFFileName as String) ' Please note that sFileName must include a full valid path(folder) or it will default ' to your My Documents folder. For example "C:\MyPDFs\MonthlyReport.PDF" ' All other parameters are optional. ' 'Have Fun! ' ' ' Version 7.85 ' Please note that the function signatures for both ConvertUncompressedSnapshotToPDF and ConvertReportToPDF ' have changed. An optional parameter has been added to expose the conversion of the ' Metafile to PDF. Flags now include broader support for Unicode and BiDi languages. Finer control ' over how the Metafile is interpreted is exposed as well. ' Added Security/Encryption ' Added/Exposed Flags for Unicode ' Fixed Bug in 11 x 17 paper size ' Fixed Landscape/Portrait bug ' ' Version 7.75 ' Added Merge function to merge 2 PDF documents ' ' ****************************************************** On 10/10/2016 1:24 PM, Rocky Smolin wrote: > Dear List: > > > > I developed some code to create a report as a pdf and attach it to an email > many years ago in A2003. It doesn't work any more. > > > > Is there a 'moderne' way to accomplish this? Sending the attachment by email > is, I think the less important part of the task - getting the report output > in pdf form is the sticker. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > -- John W. Colby From stuart at lexacorp.com.pg Mon Oct 10 17:56:57 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 11 Oct 2016 08:56:57 +1000 Subject: [AccessD] Make pdf report In-Reply-To: <016201d22326$426a7c50$c73f74f0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com>, , <016201d22326$426a7c50$c73f74f0$@bchacc.com> Message-ID: <57FC1CB9.23759.6ED6DD98@stuart.lexacorp.com.pg> Output To has been available since 97 at least, but the PDF format has only been available since 2007. Prior to 2007, you have to use a kludge. :) On 10 Oct 2016 at 11:43, Rocky Smolin wrote: > Thanks. Similar to Chester's. I think that OutPut To may not have > been in 2003? Otherwise I should have used it. This is going to be > A2010. > > R > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Doug Steele Sent: Monday, October 10, 2016 10:42 AM To: Access > Developers discussion and problem solving Subject: Re: [AccessD] Make > pdf report > > Hi Rocky: > > You don't mention which version of Access you're using. Here is some > Access 2010 code I use, which also applies a filter string to the > report before outputting, and deals with a weird bug I've found in the > SQL string for reports, where sometimes there is a semicolon at the > end, and sometimes not: > > DoCmd.OpenReport RName, acViewDesign, , , acHidden > SqlStr = Reports(RName).Report.RecordSource > > 'is there a semicolon at the end? Is this an access 2010 > difference? > If InStr(SqlStr, ";") > 0 Then > SqlStr = Left(SqlStr, InStr(SqlStr, ";") - 1) > End If > If FilterStr <> "" Then > ' insert custom where string before order by > i = InStr(SqlStr, "ORDER BY") > If i <> 0 Then > SqlStr = Left(SqlStr, i - 1) & "WHERE " & FilterStr & > " " & > Right(SqlStr, Len(SqlStr) - i + 1) > Else > SqlStr = SqlStr & " WHERE " & FilterStr > End If > End If > Reports(RName).Report.RecordSource = SqlStr > > MyPath = PDFPath & FName & ".pdf" > DoCmd.OutputTo acOutputReport, RName, acFormatPDF, MyPath > > On Mon, Oct 10, 2016 at 10:24 AM, Rocky Smolin > wrote: > > > Dear List: > > > > > > > > I developed some code to create a report as a pdf and attach it to > > an email many years ago in A2003. It doesn't work any more. > > > > > > > > Is there a 'moderne' way to accomplish this? Sending the attachment > > by email is, I think the less important part of the task - getting > > the report output in pdf form is the sticker. > > > > > > > > MTIA > > > > > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > 760-683-5777 > > > > www.bchacc.com > > > > www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Mon Oct 10 23:00:57 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Oct 2016 21:00:57 -0700 Subject: [AccessD] Make pdf report In-Reply-To: References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> Message-ID: <009a01d22374$122e2c00$368a8400$@bchacc.com> 2010. And since I originally developed this in A2003 (way back towards the beginning of the century) that's probably why I didn't use that method. Actually had a third party API that worked well for a long time. Then didn?t. :( R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, October 10, 2016 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make pdf report What version of Office, Rocky? In 2008 and above you can output directly to a PDF file with code like this... DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, strFolder & strSubFolder & strOutputname, False Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, October 10, 2016 1:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Make pdf report Dear List: I developed some code to create a report as a pdf and attach it to an email many years ago in A2003. It doesn't work any more. Is there a 'moderne' way to accomplish this? Sending the attachment by email is, I think the less important part of the task - getting the report output in pdf form is the sticker. 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 Mon Oct 10 23:03:05 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 10 Oct 2016 21:03:05 -0700 Subject: [AccessD] Make pdf report In-Reply-To: <82174924-a88d-9610-a501-55148a1bbb49@gmail.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> <82174924-a88d-9610-a501-55148a1bbb49@gmail.com> Message-ID: <009b01d22374$5e7d63a0$1b782ae0$@bchacc.com> John: That's the one I used! I recognize it now! In 2003. And it don't work no more - even in my 2003 (and their) install. Time to up my game. 2010 - woo-hoo! (love that obsolete technology - it tends to work). R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2016 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make pdf report This is the header of what I use. No idea whether it runs under Windows 10 etc. If this is NOT what you use and would like the rest of it (the actual code) I can send it to you off line. 'DEVELOPED AND TESTED UNDER MICROSOFT ACCESS 2000 through A2003 ' Can be converted to A97 but you must modify the RelationSip window Blob ' structures to the A97 specific versions. You can find these structure declarations ' in the RelationShip Views project on my site. ' 'Copyright: Stephen Lebans - Lebans Holdings 1999 Ltd. 'Distribution: ' Plain and simple you are free to use this source within your own ' applications, whether private or commercial, without cost or obligation, other that keeping ' the copyright notices intact. No public notice of copyright is required. ' You may not resell this source code by itself or as part of a collection. ' You may not post this code or any portion of this code in electronic format. ' The source may only be downloaded from: ' www.lebans.com ' 'Name: ConvertReportToPDF ' 'Version: 7.85 ' 'Purpose: ' ' 1) Export report to Snapshot and then to PDF. Output exact duplicate of a Report to PDF. ' '------------------------------------------------- ' 'Author: Stephen Lebans ' 'Email: Stephen at lebans.com ' 'Web Site: www.lebans.com ' 'Date: May 16, 2008, 11:11:11 PM ' 'Dependencies: DynaPDF.dll StrStorage.dll clsCommonDialog ' 'Inputs: See inline Comments for explanation 'Output: See inline Comments for explanation ' 'Credits: Anyone who wants some! ' 'BUGS: Please report any bugs to my email address. ' 'What's Missing: ' Enhanced Error Handling ' 'How it Works: ' A SnapShot file is created in the normal manner by code like: ' 'Export the selected Report to SnapShot format ' DoCmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", _ ' strPathandFileName ' ' rptName is the desired Report we are working with. ' strPathandFileName can be anything, in this Class it is a ' Temporary FileName and Path created with calls to the ' GetTempPath and GetUniqueFileName API's. ' ' We then pass the FileName to the SetupDecompressOrCopyFile API. ' This will decompress the original SnapShot file into a ' Temporary file with the same name but a "tmp" extension. ' ' The decompressed Temp SnapShot file is then passed to the ' ConvertUncompressedSnapshotToPDF function exposed by StrStorage.DLL. ' The declaration for this call is at the top of this module. ' The function uses the Structured Storage API's to ' open and read the uncompressed Snapshot file. Within this file, ' there is one Enhanced Metafile for each page of the original report. ' Additionally, there is a Header section that contains, among other things, ' a copy of the Report's Printer Devmode structure. We need this to ' determine the page size of the report. 'The StrStorage DLL exposes the function: 'Public Function ConvertUncompressedSnapshotToPDF( _ 'UnCompressedSnapShotName As String, _ 'OutputPDFname As String = "", _ 'Optional CompressionLevel As Long = 0, _ 'Optional PasswordOpenAs String = "" _ 'Optional PasswordOwner As String = "" _ 'Optional PasswordRestrictions as Long = 0, _ 'Optional ByVal PDFNoFontEmbedding As Long = 0, _ 'Optional ByVal PDFUnicodeFlags As Long = 0 _ ') As Boolean ' Now we call the ConvertUncompressedSnapshotToPDF funtion exposed by the StrStorage DLL. ' 'blRet = ConvertUncompressedSnapshot(sFileName as String, sPDFFileName as String) ' Please note that sFileName must include a full valid path(folder) or it will default ' to your My Documents folder. For example "C:\MyPDFs\MonthlyReport.PDF" ' All other parameters are optional. ' 'Have Fun! ' ' ' Version 7.85 ' Please note that the function signatures for both ConvertUncompressedSnapshotToPDF and ConvertReportToPDF ' have changed. An optional parameter has been added to expose the conversion of the ' Metafile to PDF. Flags now include broader support for Unicode and BiDi languages. Finer control ' over how the Metafile is interpreted is exposed as well. ' Added Security/Encryption ' Added/Exposed Flags for Unicode ' Fixed Bug in 11 x 17 paper size ' Fixed Landscape/Portrait bug ' ' Version 7.75 ' Added Merge function to merge 2 PDF documents ' ' ****************************************************** On 10/10/2016 1:24 PM, Rocky Smolin wrote: > Dear List: > > > > I developed some code to create a report as a pdf and attach it to an email > many years ago in A2003. It doesn't work any more. > > > > Is there a 'moderne' way to accomplish this? Sending the attachment by email > is, I think the less important part of the task - getting the report output > in pdf form is the sticker. > > > > 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 jimdettman at verizon.net Tue Oct 11 06:45:18 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 11 Oct 2016 07:45:18 -0400 Subject: [AccessD] Make pdf report In-Reply-To: <009b01d22374$5e7d63a0$1b782ae0$@bchacc.com> References: <012301d2231b$195a6790$4c0f36b0$@bchacc.com> <82174924-a88d-9610-a501-55148a1bbb49@gmail.com> <009b01d22374$5e7d63a0$1b782ae0$@bchacc.com> Message-ID: <3F943AA8B0A44D54818DC088E9B7C94F@XPS> Rocky, Just be aware that there's no programmatic control over the output to with the .PDF. For the most part it works darn well, but I've seen a time or two where it doesn't render something correctly. It's unfortunate that Stephan has retired; he did some really fantastic stuff, but as you found, it no longer works in 2010 and up. If you need more control over the process, the only other alternative then is the old one; print to a printer, either using a printer driver that goes to PDF (i.e. CutePDF), or convert it yourself (i.e. use Ghost Script). Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, October 11, 2016 12:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Make pdf report John: That's the one I used! I recognize it now! In 2003. And it don't work no more - even in my 2003 (and their) install. Time to up my game. 2010 - woo-hoo! (love that obsolete technology - it tends to work). R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2016 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Make pdf report This is the header of what I use. No idea whether it runs under Windows 10 etc. If this is NOT what you use and would like the rest of it (the actual code) I can send it to you off line. 'DEVELOPED AND TESTED UNDER MICROSOFT ACCESS 2000 through A2003 ' Can be converted to A97 but you must modify the RelationSip window Blob ' structures to the A97 specific versions. You can find these structure declarations ' in the RelationShip Views project on my site. ' 'Copyright: Stephen Lebans - Lebans Holdings 1999 Ltd. 'Distribution: ' Plain and simple you are free to use this source within your own ' applications, whether private or commercial, without cost or obligation, other that keeping ' the copyright notices intact. No public notice of copyright is required. ' You may not resell this source code by itself or as part of a collection. ' You may not post this code or any portion of this code in electronic format. ' The source may only be downloaded from: ' www.lebans.com ' 'Name: ConvertReportToPDF ' 'Version: 7.85 ' 'Purpose: ' ' 1) Export report to Snapshot and then to PDF. Output exact duplicate of a Report to PDF. ' '------------------------------------------------- ' 'Author: Stephen Lebans ' 'Email: Stephen at lebans.com ' 'Web Site: www.lebans.com ' 'Date: May 16, 2008, 11:11:11 PM ' 'Dependencies: DynaPDF.dll StrStorage.dll clsCommonDialog ' 'Inputs: See inline Comments for explanation 'Output: See inline Comments for explanation ' 'Credits: Anyone who wants some! ' 'BUGS: Please report any bugs to my email address. ' 'What's Missing: ' Enhanced Error Handling ' 'How it Works: ' A SnapShot file is created in the normal manner by code like: ' 'Export the selected Report to SnapShot format ' DoCmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", _ ' strPathandFileName ' ' rptName is the desired Report we are working with. ' strPathandFileName can be anything, in this Class it is a ' Temporary FileName and Path created with calls to the ' GetTempPath and GetUniqueFileName API's. ' ' We then pass the FileName to the SetupDecompressOrCopyFile API. ' This will decompress the original SnapShot file into a ' Temporary file with the same name but a "tmp" extension. ' ' The decompressed Temp SnapShot file is then passed to the ' ConvertUncompressedSnapshotToPDF function exposed by StrStorage.DLL. ' The declaration for this call is at the top of this module. ' The function uses the Structured Storage API's to ' open and read the uncompressed Snapshot file. Within this file, ' there is one Enhanced Metafile for each page of the original report. ' Additionally, there is a Header section that contains, among other things, ' a copy of the Report's Printer Devmode structure. We need this to ' determine the page size of the report. 'The StrStorage DLL exposes the function: 'Public Function ConvertUncompressedSnapshotToPDF( _ 'UnCompressedSnapShotName As String, _ 'OutputPDFname As String = "", _ 'Optional CompressionLevel As Long = 0, _ 'Optional PasswordOpenAs String = "" _ 'Optional PasswordOwner As String = "" _ 'Optional PasswordRestrictions as Long = 0, _ 'Optional ByVal PDFNoFontEmbedding As Long = 0, _ 'Optional ByVal PDFUnicodeFlags As Long = 0 _ ') As Boolean ' Now we call the ConvertUncompressedSnapshotToPDF funtion exposed by the StrStorage DLL. ' 'blRet = ConvertUncompressedSnapshot(sFileName as String, sPDFFileName as String) ' Please note that sFileName must include a full valid path(folder) or it will default ' to your My Documents folder. For example "C:\MyPDFs\MonthlyReport.PDF" ' All other parameters are optional. ' 'Have Fun! ' ' ' Version 7.85 ' Please note that the function signatures for both ConvertUncompressedSnapshotToPDF and ConvertReportToPDF ' have changed. An optional parameter has been added to expose the conversion of the ' Metafile to PDF. Flags now include broader support for Unicode and BiDi languages. Finer control ' over how the Metafile is interpreted is exposed as well. ' Added Security/Encryption ' Added/Exposed Flags for Unicode ' Fixed Bug in 11 x 17 paper size ' Fixed Landscape/Portrait bug ' ' Version 7.75 ' Added Merge function to merge 2 PDF documents ' ' ****************************************************** On 10/10/2016 1:24 PM, Rocky Smolin wrote: > Dear List: > > > > I developed some code to create a report as a pdf and attach it to an email > many years ago in A2003. It doesn't work any more. > > > > Is there a 'moderne' way to accomplish this? Sending the attachment by email > is, I think the less important part of the task - getting the report output > in pdf form is the sticker. > > > > 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 rockysmolin at bchacc.com Wed Oct 12 09:45:13 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 12 Oct 2016 07:45:13 -0700 Subject: [AccessD] Change default setting on find dialog box Message-ID: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com> Dear List: Is there a way to change the default setting on the find/replace dialog box in Access 2010? Searched the internets but couldn't find an answer. MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From Lambert.Heenan at aig.com Wed Oct 12 11:27:17 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 12 Oct 2016 16:27:17 +0000 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com> Message-ID: Should be the same as all the previous versions, See here for example https://bytes.com/topic/access/answers/758233-code-find-replace-default-part-field 'Set to General Search - Part of Field Application.SetOption "Default Find/Replace Behavior", 1 'do whatever you like in here, but Reset Option at some point 'Reset to Fast Search - Whole Field Application.SetOption "Default Find/Replace Behavior", 0 Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, October 12, 2016 10:45 AM To: 'Access Developers discussion and problem solving' Cc: 'Off Topic' Subject: [AccessD] Change default setting on find dialog box Dear List: Is there a way to change the default setting on the find/replace dialog box in Access 2010? Searched the internets but couldn't find an answer. 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 accessd at shaw.ca Wed Oct 12 13:21:40 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 12 Oct 2016 12:21:40 -0600 (MDT) Subject: [AccessD] Sayonara In-Reply-To: Message-ID: <457541634.106037277.1476296500550.JavaMail.root@shaw.ca> Someone actually phoned to tell me of your situation. You are known in the extended developers community. This is terrible and you will be very much missed. I hope you are in no pain. Send updates as long as you can. Peace be with you. Jim ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" , "Off Topic" , "Discussion concerning MS SQL Server" Sent: Sunday, October 9, 2016 2:08:26 PM Subject: [AccessD] Sayonara I have less than 60 days to live, according to the physicians at my hospital.I just want to say Thanks to you all, for your contributions not only to me but also this worldwide community that has envigrated me and made me feel that life was worth living. I had a good trip, and now it''s over, within days. Goodbye, my friends. I don't know how to tell you how much you enhanced my life, but you did. It's time to say goodbye, and I love you all, and have profited from you all. Thank you for enhancing my life. Might be a few more days, but this needed to be said. I met a lot of friends here and this will not be forgotten, -- Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Oct 12 16:39:04 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 12 Oct 2016 14:39:04 -0700 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com> Message-ID: <003d01d224d1$0de1eac0$29a5c040$@bchacc.com> Lambert: Thank you. But I was looking for how to set the options through the Access UI. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, October 12, 2016 9:27 AM To: 'Access Developers discussion and problem solving' Cc: 'Off Topic' Subject: Re: [AccessD] Change default setting on find dialog box Should be the same as all the previous versions, See here for example https://bytes.com/topic/access/answers/758233-code-find-replace-default-part -field 'Set to General Search - Part of Field Application.SetOption "Default Find/Replace Behavior", 1 'do whatever you like in here, but Reset Option at some point 'Reset to Fast Search - Whole Field Application.SetOption "Default Find/Replace Behavior", 0 Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, October 12, 2016 10:45 AM To: 'Access Developers discussion and problem solving' Cc: 'Off Topic' Subject: [AccessD] Change default setting on find dialog box Dear List: Is there a way to change the default setting on the find/replace dialog box in Access 2010? Searched the internets but couldn't find an answer. 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 stuart at lexacorp.com.pg Wed Oct 12 17:08:34 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 13 Oct 2016 08:08:34 +1000 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <003d01d224d1$0de1eac0$29a5c040$@bchacc.com> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com>, , <003d01d224d1$0de1eac0$29a5c040$@bchacc.com> Message-ID: <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg> File - Options - Client Settings - Default find/replace behaviour. On 12 Oct 2016 at 14:39, Rocky Smolin wrote: > Lambert: > > Thank you. But I was looking for how to set the options through the > Access UI. > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Heenan, Lambert Sent: Wednesday, October 12, 2016 9:27 AM To: > 'Access Developers discussion and problem solving' Cc: 'Off Topic' > Subject: Re: [AccessD] Change default setting on find dialog box > > Should be the same as all the previous versions, > > See here for example > https://bytes.com/topic/access/answers/758233-code-find-replace-defaul > t-part -field > > > 'Set to General Search - Part of Field > Application.SetOption "Default Find/Replace Behavior", 1 > > 'do whatever you like in here, but Reset Option at some point > > 'Reset to Fast Search - Whole Field > Application.SetOption "Default Find/Replace Behavior", 0 > > > Lambert? > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Wednesday, October 12, 2016 10:45 AM To: 'Access > Developers discussion and problem solving' Cc: 'Off Topic' Subject: > [AccessD] Change default setting on find dialog box > > Dear List: > > > > Is there a way to change the default setting on the find/replace > dialog box in Access 2010? Searched the internets but couldn't find > an answer. > > > > 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 davidmcafee at gmail.com Wed Oct 12 17:11:52 2016 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 12 Oct 2016 15:11:52 -0700 Subject: [AccessD] Compare Clock-In/Out to LogIn/Out Message-ID: I was given a task that was taken from someone else to compare Employee's Clock-in and out times to their logIn and out times from two different software systems. I've already explained that the Log-in/out system isn't going to be accurate as there is no true capture for logging someone out as well as other issues such as network loss, time outs and a few other things. Ignoring all that for moment. How would you go about comparing the times? They want to know when employees are loggin in and for how long outside of their clocked in/out times. I imported various spread sheets (their method of delivery to me) into various SQL tables. I thought for the initial "ballpark" comparison, I would take each employee's Min Clock in and max clock out grouped by Date and compare that to each log in. If the log in is outside of the clocked in/out times I include it. If the logged in/out times overlap the clocked in/out times, I only count the minutes that is outside of the clocked in/out times (as per their request). A problem comes up when I assumed that everyone has a 30 minute lunch and we were going to ignore that. So a Clock in session for an employee might be : In 9AM out 12, in 12:30 out 5PM. but in reality we are seeing: in 9, out 12. in 12:30 out 5PM, in 9PM, out 11:30PM. I have actually counted 5 clockin/out sessions for an employee for a given day. They also want to count log ins during the lunch period. I'm thinking of doing one of two different things (hopefully one of you can come up with something easier :) ). Method 1. Dump all logins into a temp table. Fields : EmpID, Date, LogIn, LogOut 1a. Loop through each clock in/out record (same fields) and delete the row from the temp table where the login is fully engulfed by the clock in session. 1b. Loop through and modify the log in or out time where it overlaps the clock in/out session, leaving only the outer login/out times. my resulting list in the temp tables would be the login/out times outside of clocked sessions. or method two: Create a table of every minute (1440) in the day. insert the PK of each Clock session and ID of each Minute of the day into a Clock temp table and do the same for the log ins. Compare the temp tables by minute. any thoughts? TIA David From rockysmolin at bchacc.com Wed Oct 12 19:17:21 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 12 Oct 2016 17:17:21 -0700 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com>, , <003d01d224d1$0de1eac0$29a5c040$@bchacc.com> <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg> Message-ID: <00c101d224e7$2a872170$7f956450$@bchacc.com> That gets me three options: fast search, general search, start of field search. What I'm looking for when I do a find or replace (like looking for a value in a table in datasheet view) is Look in: Current document, Match: any part of field. Any way to set that globally? TIA r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, October 12, 2016 3:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change default setting on find dialog box File - Options - Client Settings - Default find/replace behaviour. On 12 Oct 2016 at 14:39, Rocky Smolin wrote: > Lambert: > > Thank you. But I was looking for how to set the options through the > Access UI. > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Heenan, Lambert Sent: Wednesday, October 12, 2016 9:27 AM To: > 'Access Developers discussion and problem solving' Cc: 'Off Topic' > Subject: Re: [AccessD] Change default setting on find dialog box > > Should be the same as all the previous versions, > > See here for example > https://bytes.com/topic/access/answers/758233-code-find-replace-defaul > t-part -field > > > 'Set to General Search - Part of Field > Application.SetOption "Default Find/Replace Behavior", 1 > > 'do whatever you like in here, but Reset Option at some point > > 'Reset to Fast Search - Whole Field > Application.SetOption "Default Find/Replace Behavior", 0 > > > Lambert > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Rocky Smolin Sent: Wednesday, October 12, 2016 10:45 AM To: 'Access > Developers discussion and problem solving' Cc: 'Off Topic' Subject: > [AccessD] Change default setting on find dialog box > > Dear List: > > > > Is there a way to change the default setting on the find/replace > dialog box in Access 2010? Searched the internets but couldn't find > an answer. > > > > MTIA > > > > > > Rocky Smolin > > Beach Access Software > > 760-683-5777 > > www.bchacc.com > > www.e-z-mrp.com > > Skype: rocky.smolin > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Oct 13 03:12:53 2016 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 13 Oct 2016 08:12:53 +0000 Subject: [AccessD] Compare Clock-In/Out to LogIn/Out Message-ID: Hi David > but in reality we are seeing: > in 9, out 12. in 12:30 out 5PM, in 9PM, out 11:30PM. How is that? I doubt they work that much, so such false entries should not be able to be created by the source system. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af David McAfee Sendt: 13. oktober 2016 00:12 Til: Access Developers discussion and problem solving ; ACCESS-L at peach.ease.lsoft.com Emne: [AccessD] Compare Clock-In/Out to LogIn/Out I was given a task that was taken from someone else to compare Employee's Clock-in and out times to their logIn and out times from two different software systems. I've already explained that the Log-in/out system isn't going to be accurate as there is no true capture for logging someone out as well as other issues such as network loss, time outs and a few other things. Ignoring all that for moment. How would you go about comparing the times? They want to know when employees are loggin in and for how long outside of their clocked in/out times. I imported various spread sheets (their method of delivery to me) into various SQL tables. I thought for the initial "ballpark" comparison, I would take each employee's Min Clock in and max clock out grouped by Date and compare that to each log in. If the log in is outside of the clocked in/out times I include it. If the logged in/out times overlap the clocked in/out times, I only count the minutes that is outside of the clocked in/out times (as per their request). A problem comes up when I assumed that everyone has a 30 minute lunch and we were going to ignore that. So a Clock in session for an employee might be : In 9AM out 12, in 12:30 out 5PM. but in reality we are seeing: in 9, out 12. in 12:30 out 5PM, in 9PM, out 11:30PM. I have actually counted 5 clockin/out sessions for an employee for a given day. They also want to count log ins during the lunch period. I'm thinking of doing one of two different things (hopefully one of you can come up with something easier :) ). Method 1. Dump all logins into a temp table. Fields : EmpID, Date, LogIn, LogOut 1a. Loop through each clock in/out record (same fields) and delete the row from the temp table where the login is fully engulfed by the clock in session. 1b. Loop through and modify the log in or out time where it overlaps the clock in/out session, leaving only the outer login/out times. my resulting list in the temp tables would be the login/out times outside of clocked sessions. or method two: Create a table of every minute (1440) in the day. insert the PK of each Clock session and ID of each Minute of the day into a Clock temp table and do the same for the log ins. Compare the temp tables by minute. any thoughts? TIA David From jm.hwsn at gmail.com Thu Oct 13 10:29:34 2016 From: jm.hwsn at gmail.com (Jim Hewson) Date: Thu, 13 Oct 2016 10:29:34 -0500 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <00c101d224e7$2a872170$7f956450$@bchacc.com> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com> <003d01d224d1$0de1eac0$29a5c040$@bchacc.com> <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg> <00c101d224e7$2a872170$7f956450$@bchacc.com> Message-ID: I needed to search a particular field using a button on a form. I used the following code on the on click event: ?DoCmd.GoToControl Screen.PreviousControl.Name err.Clear SendKeys "%ha%n", False ' sets Match to "Any Part of Field" DoCmd.RunCommand acCmdFind On Wed, Oct 12, 2016 at 7:17 PM, Rocky Smolin wrote: > That gets me three options: fast search, general search, start of field > search. What I'm looking for when I do a find or replace (like looking for > a value in a table in datasheet view) is Look in: Current document, Match: > any part of field. > > Any way to set that globally? > > TIA > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Wednesday, October 12, 2016 3:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Change default setting on find dialog box > > File - Options - Client Settings - Default find/replace behaviour. > > > > On 12 Oct 2016 at 14:39, Rocky Smolin wrote: > > > Lambert: > > > > Thank you. But I was looking for how to set the options through the > > Access UI. > > > > r > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Heenan, Lambert Sent: Wednesday, October 12, 2016 9:27 AM To: > > 'Access Developers discussion and problem solving' Cc: 'Off Topic' > > Subject: Re: [AccessD] Change default setting on find dialog box > > > > Should be the same as all the previous versions, > > > > See here for example > > https://bytes.com/topic/access/answers/758233-code-find-replace-defaul > > t-part -field > > > > > > 'Set to General Search - Part of Field > > Application.SetOption "Default Find/Replace Behavior", 1 > > > > 'do whatever you like in here, but Reset Option at some point > > > > 'Reset to Fast Search - Whole Field > > Application.SetOption "Default Find/Replace Behavior", 0 > > > > > > Lambert > > > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > > Of Rocky Smolin Sent: Wednesday, October 12, 2016 10:45 AM To: 'Access > > Developers discussion and problem solving' Cc: 'Off Topic' Subject: > > [AccessD] Change default setting on find dialog box > > > > Dear List: > > > > > > > > Is there a way to change the default setting on the find/replace > > dialog box in Access 2010? Searched the internets but couldn't find > > an answer. > > > > > > > > MTIA > > > > > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > 760-683-5777 > > > > www.bchacc.com > > > > www.e-z-mrp.com > > > > Skype: rocky.smolin > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu Oct 13 16:21:59 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2016 07:21:59 +1000 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <00c101d224e7$2a872170$7f956450$@bchacc.com> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com>, <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg>, <00c101d224e7$2a872170$7f956450$@bchacc.com> Message-ID: <57FFFAF7.17428.21BA905@stuart.lexacorp.com.pg> I think the set of options that you are asking for is there as "General Search" Fast search - Look in: Current field Match: Whole Field Search Fields as Formatted General search Look in: Current document Match: Any Part of Field Start of field search Look in: Current field Match: Start of Field Search Fields as Formatted On 12 Oct 2016 at 17:17, Rocky Smolin wrote: > That gets me three options: fast search, general search, start of > field search. What I'm looking for when I do a find or replace (like > looking for a value in a table in datasheet view) is Look in: Current > document, Match: any part of field. > > Any way to set that globally? > > TIA > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, October 12, 2016 3:09 PM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Change default setting on find dialog box > > File - Options - Client Settings - Default find/replace behaviour. > > From rockysmolin at bchacc.com Thu Oct 13 17:22:59 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 13 Oct 2016 15:22:59 -0700 Subject: [AccessD] Change default setting on find dialog box In-Reply-To: <57FFFAF7.17428.21BA905@stuart.lexacorp.com.pg> References: <000001d22497$3d9f08e0$b8dd1aa0$@bchacc.com>, <57FEB462.29939.78F74CE3@stuart.lexacorp.com.pg>, <00c101d224e7$2a872170$7f956450$@bchacc.com> <57FFFAF7.17428.21BA905@stuart.lexacorp.com.pg> Message-ID: <00d801d225a0$5b4c0730$11e41590$@bchacc.com> Ba-da-bing! Ty r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, October 13, 2016 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change default setting on find dialog box I think the set of options that you are asking for is there as "General Search" Fast search - Look in: Current field Match: Whole Field Search Fields as Formatted General search Look in: Current document Match: Any Part of Field Start of field search Look in: Current field Match: Start of Field Search Fields as Formatted On 12 Oct 2016 at 17:17, Rocky Smolin wrote: > That gets me three options: fast search, general search, start of > field search. What I'm looking for when I do a find or replace (like > looking for a value in a table in datasheet view) is Look in: Current > document, Match: any part of field. > > Any way to set that globally? > > TIA > > r > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Stuart McLachlan Sent: Wednesday, October 12, 2016 3:09 PM To: > Access Developers discussion and problem solving Subject: Re: > [AccessD] Change default setting on find dialog box > > File - Options - Client Settings - Default find/replace behaviour. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Oct 14 06:46:06 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 14 Oct 2016 04:46:06 -0700 Subject: [AccessD] The antique computers that just won't quit Message-ID: <014301d22610$8ca2fdf0$a5e8f9d0$@bchacc.com> http://www.techrepublic.com/pictures/the-antique-computers-that-just-wont-qu it/?ftag=TRE684d531 &bhid=22241133460340104310638886868896 http://tinyurl.com/hveg7oe Some fun for us antique programmers who just won't quit R From accessd at shaw.ca Fri Oct 14 15:27:42 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2016 14:27:42 -0600 (MDT) Subject: [AccessD] The antique computers that just won't quit In-Reply-To: <014301d22610$8ca2fdf0$a5e8f9d0$@bchacc.com> Message-ID: <800294907.107770477.1476476862623.JavaMail.root@shaw.ca> I don't know but those machines don't seem that old to me. Maybe age is relative? Just a little Windex, a bit of buffing, a new OS and it is all good to go for another decade. ;-) Jim ----- Original Message ----- From: "Rocky Smolin" To: "Access Developers discussion and problem solving" , "Off Topic" Cc: "Noah Sutton-Smolin" Sent: Friday, October 14, 2016 4:46:06 AM Subject: [AccessD] The antique computers that just won't quit http://www.techrepublic.com/pictures/the-antique-computers-that-just-wont-qu it/?ftag=TRE684d531 &bhid=22241133460340104310638886868896 http://tinyurl.com/hveg7oe Some fun for us antique programmers who just won't quit R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Oct 14 16:57:04 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 14 Oct 2016 14:57:04 -0700 Subject: [AccessD] The antique computers that just won't quit In-Reply-To: <800294907.107770477.1476476862623.JavaMail.root@shaw.ca> References: <014301d22610$8ca2fdf0$a5e8f9d0$@bchacc.com> <800294907.107770477.1476476862623.JavaMail.root@shaw.ca> Message-ID: <01c801d22665$e6a8f2f0$b3fad8d0$@bchacc.com> " those machines don't seem that old to me" Ain't touching that line... r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, October 14, 2016 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The antique computers that just won't quit I don't know but those machines don't seem that old to me. Maybe age is relative? Just a little Windex, a bit of buffing, a new OS and it is all good to go for another decade. ;-) Jim ----- Original Message ----- From: "Rocky Smolin" To: "Access Developers discussion and problem solving" , "Off Topic" Cc: "Noah Sutton-Smolin" Sent: Friday, October 14, 2016 4:46:06 AM Subject: [AccessD] The antique computers that just won't quit http://www.techrepublic.com/pictures/the-antique-computers-that-just-wont-qu it/?ftag=TRE684d531 &bhid=22241133460340104310638886868896 http://tinyurl.com/hveg7oe Some fun for us antique programmers who just won't quit R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 17:35:47 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2016 16:35:47 -0600 (MDT) Subject: [AccessD] The antique computers that just won't quit In-Reply-To: <01c801d22665$e6a8f2f0$b3fad8d0$@bchacc.com> Message-ID: <162956805.107852217.1476484547738.JavaMail.root@shaw.ca> You just did. ;-) Jim ----- Original Message ----- From: "Rocky Smolin" To: "Access Developers discussion and problem solving" Sent: Friday, October 14, 2016 2:57:04 PM Subject: Re: [AccessD] The antique computers that just won't quit " those machines don't seem that old to me" Ain't touching that line... r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, October 14, 2016 1:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The antique computers that just won't quit I don't know but those machines don't seem that old to me. Maybe age is relative? Just a little Windex, a bit of buffing, a new OS and it is all good to go for another decade. ;-) Jim ----- Original Message ----- From: "Rocky Smolin" To: "Access Developers discussion and problem solving" , "Off Topic" Cc: "Noah Sutton-Smolin" Sent: Friday, October 14, 2016 4:46:06 AM Subject: [AccessD] The antique computers that just won't quit http://www.techrepublic.com/pictures/the-antique-computers-that-just-wont-qu it/?ftag=TRE684d531 &bhid=22241133460340104310638886868896 http://tinyurl.com/hveg7oe Some fun for us antique programmers who just won't quit R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Oct 17 03:21:49 2016 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Oct 2016 08:21:49 +0000 Subject: [AccessD] SQLite cloud/mobile (was: Basic Question (Probably) that I just don't know) Message-ID: Hi all Did you know that SQLite is available even at Azure? Well, it is. From NuGet: Azure Mobile SQLiteStore: https://www.nuget.org/packages/Microsoft.Azure.Mobile.Client.SQLiteStore/ A How-To is here: https://blog.xamarin.com/getting-started-azure-mobile-apps-easy-tables/?wt.mc_id=AID530598_EML_4607277 Further info: http://azure.microsoft.com/mobile /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 24. september 2016 15:54 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know Hi Stuart I see your points. And I can see, browsing the documentation, that SQLite certainly has its niche. What struck me was, that Arthur wrote: > SQL Express, MySQL, MariaDB, PostGreSQL, SQLite... the list goes on and I didn't see SQLite fit in here. It has its own category. Thank you for the clarification. /gustav ________________________________________ Fra: AccessD p? vegne af Stuart McLachlan Sendt: 24. september 2016 13:38:11 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know I agree it's not a good alternative for multi user systems, but SQLite is an excellent solution for single user applications. There are reasons why it is so ubiquitous. It's free. :) The same database file is usable on many platforms including Windows, Linux,Android and iOS. It's fast, lightweight and versatile. For Windows, it's just one native 500KB DLL and no dependencies. While it doesn't have a huge range of dataypes, there's not much that you can't do with a 8 bytes integers and floats (twice the size that Access offers) and a default maximum size for text of 1 billion characters (try indexinga field of more than 255 characters in Access), and the same size of BLOBs. There are plenty of built in functions for Date manipulation that make the use of a dedicated Date/Time datatypes unnecessary including UnixTime (which is a real PITA to handle in Access). You're right that many (including me) use it because we "don't know any better". That's because in its niche, there is no better. :) On 24 Sep 2016 at 8:35, Gustav Brock wrote: > Hi Arthur > > I can't add much to the comments already posted, except for one thing: > SQLite is certainly not an alternative for an accdb or any other > decent database as SQLite is severely limited regarding data types. In > fact, I think why so many use it, is only because they just don't know > better. From accessd at shaw.ca Mon Oct 17 14:07:46 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2016 13:07:46 -0600 (MDT) Subject: [AccessD] SQLite cloud/mobile (was: Basic Question (Probably) that I just don't know) In-Reply-To: Message-ID: <1163870762.109000299.1476731266536.JavaMail.root@shaw.ca> That is very interesting. Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Monday, October 17, 2016 1:21:49 AM Subject: [AccessD] SQLite cloud/mobile (was: Basic Question (Probably) that I just don't know) Hi all Did you know that SQLite is available even at Azure? Well, it is. From NuGet: Azure Mobile SQLiteStore: https://www.nuget.org/packages/Microsoft.Azure.Mobile.Client.SQLiteStore/ A How-To is here: https://blog.xamarin.com/getting-started-azure-mobile-apps-easy-tables/?wt.mc_id=AID530598_EML_4607277 Further info: http://azure.microsoft.com/mobile /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 24. september 2016 15:54 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know Hi Stuart I see your points. And I can see, browsing the documentation, that SQLite certainly has its niche. What struck me was, that Arthur wrote: > SQL Express, MySQL, MariaDB, PostGreSQL, SQLite... the list goes on and I didn't see SQLite fit in here. It has its own category. Thank you for the clarification. /gustav ________________________________________ Fra: AccessD p? vegne af Stuart McLachlan Sendt: 24. september 2016 13:38:11 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know I agree it's not a good alternative for multi user systems, but SQLite is an excellent solution for single user applications. There are reasons why it is so ubiquitous. It's free. :) The same database file is usable on many platforms including Windows, Linux,Android and iOS. It's fast, lightweight and versatile. For Windows, it's just one native 500KB DLL and no dependencies. While it doesn't have a huge range of dataypes, there's not much that you can't do with a 8 bytes integers and floats (twice the size that Access offers) and a default maximum size for text of 1 billion characters (try indexinga field of more than 255 characters in Access), and the same size of BLOBs. There are plenty of built in functions for Date manipulation that make the use of a dedicated Date/Time datatypes unnecessary including UnixTime (which is a real PITA to handle in Access). You're right that many (including me) use it because we "don't know any better". That's because in its niche, there is no better. :) On 24 Sep 2016 at 8:35, Gustav Brock wrote: > Hi Arthur > > I can't add much to the comments already posted, except for one thing: > SQLite is certainly not an alternative for an accdb or any other > decent database as SQLite is severely limited regarding data types. In > fact, I think why so many use it, is only because they just don't know > better. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Mon Oct 17 20:40:21 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 18 Oct 2016 01:40:21 +0000 Subject: [AccessD] Speed Issues on network just with Access App Message-ID: Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com From Lambert.Heenan at aig.com Tue Oct 18 08:30:16 2016 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 18 Oct 2016 13:30:16 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: It's curious that this has just showed up, but I wonder if an old trick will help. When you applications startup have them open a connection to a table in the shared back-end (any table, even an empty one), and leave that connection open until the application closes. Lambert? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 9:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Tue Oct 18 08:50:23 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 18 Oct 2016 13:50:23 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: , Message-ID: Thanks Lambert. Already doing that - forgot to mention it in my summary. I wish I could peg it to some additional screen or code I added to the program, but it has bee stagnant for a few months while they test out changes in a test system. John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Heenan, Lambert Sent: Tuesday, October 18, 2016 9:30 AM To: 'accessd at databaseadvisors.com' Subject: Re: [AccessD] Speed Issues on network just with Access App It's curious that this has just showed up, but I wonder if an old trick will help. When you applications startup have them open a connection to a table in the shared back-end (any table, even an empty one), and leave that connection open until the application closes. Lambert -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 9:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Oct 18 10:04:09 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 18 Oct 2016 11:04:09 -0400 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Lambert, I suppose that it's not immediately relevant to your situation, but you should at least consider migrating the BE to any one of SQL Express, MySQL, MariaDB or PostGreSQL, all of which are free. The data-port is easy; besides the Microsoft migration tools, there are a couple of tools available free from Bullzip that do an excellent job of porting Access data to various "real" databases. The difference in performance, as compared with the standard FE/BE in any format (MDB, ACCDB) is astounding. And it only gets better as you progressively migrate queries to Views and SPs. Using Access 2000 and beyond, a system I wrote supported upwards of 75 users at once, all hitting one single SQL Express database, and it far surpassed the MDB FE/BE system I replaced. I took it a bit at a time. Step 1 was to find all the data and row sources that began with the word "SELECT", and then change them to named Access queries. That makes them portable to Views. Step 2 was to migrate the data to one of the databases mentioned previously. Step 3 was to change one test workstation to address the new database. Step 4 was to compare the performance. Step 5 was to slap my forehead and exclaim, "Why didn't I think of this sooner?" Since then, I have never even considered an MDB BE other than for little test programs I write, and most of those don't even need a BE; they're just little one-offs to test some theory or other that I'm pondering. Other than that, I have not much use for MDBs or ACCEDBs as the back end for anything serious. A. ? From jimdettman at verizon.net Tue Oct 18 10:08:33 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 18 Oct 2016 11:08:33 -0400 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Tue Oct 18 10:47:31 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 18 Oct 2016 15:47:31 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: , Message-ID: Hi Jim, 1) A/V - yes all the same McAfee VirusScan Enterprise and all up-to-date. Can try turning off for sure 2) NIC Drivers - I was wondering if they were too up-to-date. Seems like the threads I found on the net talked about NIC cards and advanced settings of these. Will check these as well 3) Diagnostic Protocol - didn't check this, but will remove if found 4) NIC Sleep - Not sure, but will check 5) Mapped Drives - yes, using Mapped Drives. I know how the little red X's pop up next to a drive when disconnected from the server share and a simple click re-activates it. I can try setting that 10 minute feature off, but I've not seen that issue anywhere before in this scenario. 6) IP6 - can disable 7) MaxBuffers - never had this set on any machine, but did so as I was trying to figure out this issue. I'll bump up to max 65535 as you mention and see where that gets me. Thanks very much for great ideas and simple checks. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Jim Dettman Sent: Tuesday, October 18, 2016 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Speed Issues on network just with Access App John, <> A few. 1. Anti-virus - I would assume it's the same for all, but try turning it off. 2. NIC drivers - make sure their up to date. 3. Make sure there is no diagnostic protocol loaded for the NIC. If so, remove it. 4. Make sure the NIC is not set to go to sleep (low power mode) 5. Are you using mapped drives or UNC? If mapped, default settings in Win 7 disconnect a mapped drive after 10 minutes of inactivity. You can disable this. 6. You should disable ipv6 if your not using it. That's it for the moment off the top of my head. Oh and the MaxBuffers, set it to the max of 65535. There was a bug in some versions of Access when running on a 64 bit multi-core processor. JET has three background threads by default, one of which was for cache cleanup. If the threads ended up on different processors, they can block one another. Setting MaxBuffers to the max alters the cache cleanup process to work around that. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Monday, October 17, 2016 09:40 PM To: accessd at databaseadvisors.com Subject: [AccessD] Speed Issues on network just with Access App Not sure if any of you have had the below issues before, but I haven't in the dozens of years of using access. Driving me nuts, along with the customer. Hope someone can help. Sorry for long post but wanted to share details. About 15 users w/Access 2000 running a front end access program Backend lives on a server in a shared folder (both FE/BE are MDB's) Gigabit Ethernet Switch Workstations are (were) XP Pro SP3, Win7Pro SP1 64Bit XP machines are Dell Optiplex 360's and 380's Win7Pro machines are Dell Optiplex 3020 Small Form Factor and Micro, and one Opti 7010 Above combo has been running fine since pretty much before dinosaurs became extinct. Besides Access, some users have Quickbooks, and everyone has some flavor of Office H&B (2007, 2010, 2013, 2016). None of the H&B come with Access, so only one version of Access on the PC. In attempt to get remaining users off XP, I bought more Dell's, but they were the Optiplex 3040 Micros, Win7Pro 64Bit. Not too long after putting these on the network, some, but not all, of the 3040 users experienced slowdowns where a screen that would normally take 2 seconds to open up, now taking 10, 15 sometimes up to 2 minutes. Not consistent, user might work fine for a while and then bang, slow to a crawl, pretty much unusable. Other 3040 users may or may not have same problem, but then some of the 3020 micro users experienced the same problem where they never did before, but not nearly as many times as the 3040 users. Very strangely, the XP users never experience any of this nor the 7010 w/Win7Pro 64Bit, even when the other users are. They just move along. So to with the Opti 7010, no issue. And all machines are running fine with all other apps - QB, Word, Outlook, PDF's, Internet, etc. - Just Access Issue. Saw various articles describing same problem, even with a standalone workstation running both FE and BE with Windows 7 64Bit. I haven't seen the issue if there is only one user in the system (common on a Saturday). However, I've seen this issue with just 2 people in. Although I can't tell if every machine needs the below or just ones with issues, I have tried the following based on many posts that I have read: PC Specific: Group Policy Change to Turn Off Multicast Name Resolution=Enabled Registry MaxBufferSize=50,000 Turn Autotuning Off (NetSh Interface TCP Set Global Autotuning=Disabled) Non-PC Specific I replaced the network switch with an older gigabit model but again, I do not think is it. Replaced wiring at some workstations Made sure the Lock file was deleted in the shared folder when all users out so it would get created fresh Access 2k SP1 or SP3 was installed on workstations Checked Tools/References to make sure none were missing on the workstation VBE6.DLL was dated 3/17/2015 on the Win7 Machines Bought a used Opti 7010 with same specs (because only other 7010 has never had an issue to date), set it up and put it on the network. Issue right away with only one other person on the network Probably a few other things I forgot to mention, I've lost track Customer has brought back some old XP machines because of issue and they are working just fine. I have a 32bit Win7Pro machine that I am almost done reformatting and will put on the network to see if that does anything. Any other ideas? I don't think the number of users is the issue. I have a 2002 Insurance app with 65 people in it from three locations all day long and no speed issues. Thanks for taking the time. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbodin at sbor.com Tue Oct 18 13:16:28 2016 From: jbodin at sbor.com (John Bodin) Date: Tue, 18 Oct 2016 18:16:28 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: , Message-ID: Thanks Arthur. Does make sense. Customer not up for that challenge right now as they are flat out. Not sure how their wallet is these day either. I do know they are starting to stick needles in a pin cushion that looks an awful lot like me... btw, what did you do with all the DAO links you had? Or did you use ADO from the get go? Did the Bullzip have any tools regarding that? Thanks, John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Arthur Fuller Sent: Tuesday, October 18, 2016 11:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Lambert, I suppose that it's not immediately relevant to your situation, but you should at least consider migrating the BE to any one of SQL Express, MySQL, MariaDB or PostGreSQL, all of which are free. The data-port is easy; besides the Microsoft migration tools, there are a couple of tools available free from Bullzip that do an excellent job of porting Access data to various "real" databases. The difference in performance, as compared with the standard FE/BE in any format (MDB, ACCDB) is astounding. And it only gets better as you progressively migrate queries to Views and SPs. Using Access 2000 and beyond, a system I wrote supported upwards of 75 users at once, all hitting one single SQL Express database, and it far surpassed the MDB FE/BE system I replaced. I took it a bit at a time. Step 1 was to find all the data and row sources that began with the word "SELECT", and then change them to named Access queries. That makes them portable to Views. Step 2 was to migrate the data to one of the databases mentioned previously. Step 3 was to change one test workstation to address the new database. Step 4 was to compare the performance. Step 5 was to slap my forehead and exclaim, "Why didn't I think of this sooner?" Since then, I have never even considered an MDB BE other than for little test programs I write, and most of those don't even need a BE; they're just little one-offs to test some theory or other that I'm pondering. Other than that, I have not much use for MDBs or ACCEDBs as the back end for anything serious. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Tue Oct 18 14:09:29 2016 From: bensonforums at gmail.com (Bill Benson) Date: Tue, 18 Oct 2016 15:09:29 -0400 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: RE: Step 1 was to find all the data and row sources that began with the word "SELECT", and then change them to named Access queries. T With the exception of your Make Table queries, right? On Tue, Oct 18, 2016 at 11:04 AM, Arthur Fuller wrote: > Lambert, > > I suppose that it's not immediately relevant to your situation, but you > should at least consider migrating the BE to any one of SQL Express, MySQL, > MariaDB or PostGreSQL, all of which are free. The data-port is easy; > besides the Microsoft migration tools, there are a couple of tools > available free from Bullzip that do an excellent job of porting Access data > to various "real" databases. > > The difference in performance, as compared with the standard FE/BE in any > format (MDB, ACCDB) is astounding. And it only gets better as you > progressively migrate queries to Views and SPs. Using Access 2000 and > beyond, a system I wrote supported upwards of 75 users at once, all hitting > one single SQL Express database, and it far surpassed the MDB FE/BE system > I replaced. > > I took it a bit at a time. Step 1 was to find all the data and row sources > that began with the word "SELECT", and then change them to named Access > queries. That makes them portable to Views. Step 2 was to migrate the data > to one of the databases mentioned previously. Step 3 was to change one test > workstation to address the new database. Step 4 was to compare the > performance. Step 5 was to slap my forehead and exclaim, "Why didn't I > think of this sooner?" > > Since then, I have never even considered an MDB BE other than for little > test programs I write, and most of those don't even need a BE; they're just > little one-offs to test some theory or other that I'm pondering. Other than > that, I have not much use for MDBs or ACCEDBs as the back end for anything > serious. > > A. > ? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Oct 18 14:30:34 2016 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 18 Oct 2016 15:30:34 -0400 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Yup. Thanks for the correction. Those queries require manual translation, so far as I can see. No tool does those for you. But they are easy to isolate, and if you know anything about SQL, they are easy to replicate. If you need help on this, just ask. I've been down this road a thousand times. A. On Tue, Oct 18, 2016 at 3:09 PM, Bill Benson wrote: > RE: Step 1 was to find all the data and row sources > that began with the word "SELECT", and then change them to named Access > queries. T > > With the exception of your Make Table queries, right? > > On Tue, Oct 18, 2016 at 11:04 AM, Arthur Fuller > wrote: > > > Lambert, > > > > I suppose that it's not immediately relevant to your situation, but you > > should at least consider migrating the BE to any one of SQL Express, > MySQL, > > MariaDB or PostGreSQL, all of which are free. The data-port is easy; > > besides the Microsoft migration tools, there are a couple of tools > > available free from Bullzip that do an excellent job of porting Access > data > > to various "real" databases. > > > > The difference in performance, as compared with the standard FE/BE in any > > format (MDB, ACCDB) is astounding. And it only gets better as you > > progressively migrate queries to Views and SPs. Using Access 2000 and > > beyond, a system I wrote supported upwards of 75 users at once, all > hitting > > one single SQL Express database, and it far surpassed the MDB FE/BE > system > > I replaced. > > > > I took it a bit at a time. Step 1 was to find all the data and row > sources > > that began with the word "SELECT", and then change them to named Access > > queries. That makes them portable to Views. Step 2 was to migrate the > data > > to one of the databases mentioned previously. Step 3 was to change one > test > > workstation to address the new database. Step 4 was to compare the > > performance. Step 5 was to slap my forehead and exclaim, "Why didn't I > > think of this sooner?" > > > > Since then, I have never even considered an MDB BE other than for little > > test programs I write, and most of those don't even need a BE; they're > just > > little one-offs to test some theory or other that I'm pondering. Other > than > > that, I have not much use for MDBs or ACCEDBs as the back end for > anything > > serious. > > > > 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 > -- Arthur From darryl at whittleconsulting.com.au Tue Oct 18 16:28:53 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 18 Oct 2016 21:28:53 +0000 Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: Yes. I would support this 100%. Best bit is you can do it in little steps until you get familiar with it all. Eventually you'll move everything 'server side' and just have access as a UI FE. Stability, scalability, security and performance are all superior to using an Access BE. Even using the free SQL Server express variant is a powerful upgrade. In 99% of case Express will do the job brilliantly anyway. Something to consider. Regards Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 19 October 2016 2:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed Issues on network just with Access App Lambert, I suppose that it's not immediately relevant to your situation, but you should at least consider migrating the BE to any one of SQL Express, MySQL, MariaDB or PostGreSQL, all of which are free. The data-port is easy; besides the Microsoft migration tools, there are a couple of tools available free from Bullzip that do an excellent job of porting Access data to various "real" databases. The difference in performance, as compared with the standard FE/BE in any format (MDB, ACCDB) is astounding. And it only gets better as you progressively migrate queries to Views and SPs. Using Access 2000 and beyond, a system I wrote supported upwards of 75 users at once, all hitting one single SQL Express database, and it far surpassed the MDB FE/BE system I replaced. I took it a bit at a time. Step 1 was to find all the data and row sources that began with the word "SELECT", and then change them to named Access queries. That makes them portable to Views. Step 2 was to migrate the data to one of the databases mentioned previously. Step 3 was to change one test workstation to address the new database. Step 4 was to compare the performance. Step 5 was to slap my forehead and exclaim, "Why didn't I think of this sooner?" Since then, I have never even considered an MDB BE other than for little test programs I write, and most of those don't even need a BE; they're just little one-offs to test some theory or other that I'm pondering. Other than that, I have not much use for MDBs or ACCEDBs as the back end for anything serious. A. ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Thu Oct 20 02:12:11 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 20 Oct 2016 08:12:11 +0100 Subject: [AccessD] Examples In Best Coding VB.net Message-ID: To all, Being self-taught and not had much time to actually spend with VB.net I now find myself with a little time to try and learn it properly, don;t really want to go through a step-by-step learning process, I seem to be able to pick things up quicker through working examples etc. So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most effiicient ways to link even a single form to a SQL Server BE, say a name and address form. I have looked using searches and so many examples out there with different ways, but I trust the people on here to guide me in the right direction, as I believe just a simple form that will show me the best way to select, update, delete and insert records is enough to start me. The reason I am after this is that I have a Access manufacturing process application dedicated to a certain industry and want to rewrite it in vb.net and SQL as well, I could probably get something up and running but want it to be as slick as it can be as I may look at selling it afterwards. Thank you so much for any help in advance. -- Paul Hartland paul.hartland at googlemail.com From gustav at cactus.dk Thu Oct 20 03:12:47 2016 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2016 08:12:47 +0000 Subject: [AccessD] Examples In Best Coding VB.net Message-ID: Hi Paul I would strongly advise to get some basics first because just jumping into it will quickly turn out to be quite confusing as there are so many ways to solve tasks. A good and free source is MVA, Microsoft Virtual Academy: https://mva.microsoft.com An intro-course in VB.NET is here: https://mva.microsoft.com/en-US/training-courses/visual-basic-fundamentals-for-absolute-beginners-16507 That said, you should consider moving to C#. VB.NET may look like Visual Basic but it is very different, so there really isn't much to carry over from VBA, and there is so much more code and advice out there for C# than for VB.NET. And don't forget the free Visual Studio 2015 Community edition: https://www.visualstudio.com/vs/community/ and to sign up to our list: Development in Visual Studio /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Paul Hartland via AccessD Sendt: 20. oktober 2016 09:12 Til: Access List ; Development in Visual Studio Cc: Paul Hartland Emne: [AccessD] Examples In Best Coding VB.net To all, Being self-taught and not had much time to actually spend with VB.net I now find myself with a little time to try and learn it properly, don;t really want to go through a step-by-step learning process, I seem to be able to pick things up quicker through working examples etc. So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most effiicient ways to link even a single form to a SQL Server BE, say a name and address form. I have looked using searches and so many examples out there with different ways, but I trust the people on here to guide me in the right direction, as I believe just a simple form that will show me the best way to select, update, delete and insert records is enough to start me. The reason I am after this is that I have a Access manufacturing process application dedicated to a certain industry and want to rewrite it in vb.net and SQL as well, I could probably get something up and running but want it to be as slick as it can be as I may look at selling it afterwards. Thank you so much for any help in advance. -- Paul Hartland paul.hartland at googlemail.com From paul.hartland at googlemail.com Thu Oct 20 03:22:03 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 20 Oct 2016 09:22:03 +0100 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: Message-ID: I have the free edition of community and also used VS Express 2013 to create a VB.net application for my current employer but that was learning as I go and sure it could be written better, as for the C# I have noticed that myself and was thinking of re-developing the Access application into SQL Server Express (to start) and C# so think I may just try that route. Many thanks for the links and advice, greatly appreciated, especially as I am also looking for another job to hopefully move into more of a developer role as developing currently takes about 5% of my role if that at my current employer, plus also thinking of trying to branch out on my own developing custom software for small businesses to start with. On 20 October 2016 at 09:12, Gustav Brock wrote: > Hi Paul > > I would strongly advise to get some basics first because just jumping into > it will quickly turn out to be quite confusing as there are so many ways to > solve tasks. > > A good and free source is MVA, Microsoft Virtual Academy: > > https://mva.microsoft.com > > An intro-course in VB.NET is here: > > https://mva.microsoft.com/en-US/training-courses/visual- > basic-fundamentals-for-absolute-beginners-16507 > > That said, you should consider moving to C#. VB.NET may look like Visual > Basic but it is very different, so there really isn't much to carry over > from VBA, and there is so much more code and advice out there for C# than > for VB.NET. > > And don't forget the free Visual Studio 2015 Community edition: > > https://www.visualstudio.com/vs/community/ > > and to sign up to our list: > > Development in Visual Studio > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Paul Hartland via AccessD > Sendt: 20. oktober 2016 09:12 > Til: Access List ; Development in Visual > Studio > Cc: Paul Hartland > Emne: [AccessD] Examples In Best Coding VB.net > > To all, > > Being self-taught and not had much time to actually spend with VB.net I > now find myself with a little time to try and learn it properly, don;t > really want to go through a step-by-step learning process, I seem to be > able to pick things up quicker through working examples etc. So could > anyone point me in the right direction for (should I say) best coding > examples, doesn't have to be massive just would like to see the best and > most effiicient ways to link even a single form to a SQL Server BE, say a > name and address form. I have looked using searches and so many examples > out there with different ways, but I trust the people on here to guide me > in the right direction, as I believe just a simple form that will show me > the best way to select, update, delete and insert records is enough to > start me. > > The reason I am after this is that I have a Access manufacturing process > application dedicated to a certain industry and want to rewrite it in > vb.net and SQL as well, I could probably get something up and running but > want it to be as slick as it can be as I may look at selling it afterwards. > > Thank you so much for any help in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From gustav at cactus.dk Thu Oct 20 03:38:26 2016 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2016 08:38:26 +0000 Subject: [AccessD] Examples In Best Coding VB.net Message-ID: Hi Paul OK, then you are indeed not a complete novice. I must say, I find nearly every project more or less "a learning experience". That's the challenge - and the fun. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Paul Hartland via AccessD Sendt: 20. oktober 2016 10:22 Til: Access Developers discussion and problem solving Cc: Paul Hartland Emne: Re: [AccessD] Examples In Best Coding VB.net I have the free edition of community and also used VS Express 2013 to create a VB.net application for my current employer but that was learning as I go and sure it could be written better, as for the C# I have noticed that myself and was thinking of re-developing the Access application into SQL Server Express (to start) and C# so think I may just try that route. Many thanks for the links and advice, greatly appreciated, especially as I am also looking for another job to hopefully move into more of a developer role as developing currently takes about 5% of my role if that at my current employer, plus also thinking of trying to branch out on my own developing custom software for small businesses to start with. On 20 October 2016 at 09:12, Gustav Brock wrote: > Hi Paul > > I would strongly advise to get some basics first because just jumping > into it will quickly turn out to be quite confusing as there are so > many ways to solve tasks. > > A good and free source is MVA, Microsoft Virtual Academy: > > https://mva.microsoft.com > > An intro-course in VB.NET is here: > > https://mva.microsoft.com/en-US/training-courses/visual- > basic-fundamentals-for-absolute-beginners-16507 > > That said, you should consider moving to C#. VB.NET may look like > Visual Basic but it is very different, so there really isn't much to > carry over from VBA, and there is so much more code and advice out > there for C# than for VB.NET. > > And don't forget the free Visual Studio 2015 Community edition: > > https://www.visualstudio.com/vs/community/ > > and to sign up to our list: > > Development in Visual Studio > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Paul Hartland via AccessD > Sendt: 20. oktober 2016 09:12 > Til: Access List ; Development in Visual > Studio > Cc: Paul Hartland > Emne: [AccessD] Examples In Best Coding VB.net > > To all, > > Being self-taught and not had much time to actually spend with VB.net > I now find myself with a little time to try and learn it properly, > don;t really want to go through a step-by-step learning process, I > seem to be able to pick things up quicker through working examples > etc. So could anyone point me in the right direction for (should I > say) best coding examples, doesn't have to be massive just would like > to see the best and most effiicient ways to link even a single form to > a SQL Server BE, say a name and address form. I have looked using > searches and so many examples out there with different ways, but I > trust the people on here to guide me in the right direction, as I > believe just a simple form that will show me the best way to select, > update, delete and insert records is enough to start me. > > The reason I am after this is that I have a Access manufacturing > process application dedicated to a certain industry and want to > rewrite it in vb.net and SQL as well, I could probably get something > up and running but want it to be as slick as it can be as I may look at selling it afterwards. > > Thank you so much for any help in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com From jimdettman at verizon.net Thu Oct 20 07:05:45 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 20 Oct 2016 08:05:45 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: Message-ID: <6283359FD3F346059835E5B205B0ECCC@XPS> <> Not sure I would agree with that. VB.NET is certainly a lot closer to VBA than C#. Really the learning curve with .Net is learning the framework and all the classes more so than the language. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2016 04:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Examples In Best Coding VB.net Hi Paul I would strongly advise to get some basics first because just jumping into it will quickly turn out to be quite confusing as there are so many ways to solve tasks. A good and free source is MVA, Microsoft Virtual Academy: https://mva.microsoft.com An intro-course in VB.NET is here: https://mva.microsoft.com/en-US/training-courses/visual-basic-fundamentals-f or-absolute-beginners-16507 That said, you should consider moving to C#. VB.NET may look like Visual Basic but it is very different, so there really isn't much to carry over from VBA, and there is so much more code and advice out there for C# than for VB.NET. And don't forget the free Visual Studio 2015 Community edition: https://www.visualstudio.com/vs/community/ and to sign up to our list: Development in Visual Studio /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Paul Hartland via AccessD Sendt: 20. oktober 2016 09:12 Til: Access List ; Development in Visual Studio Cc: Paul Hartland Emne: [AccessD] Examples In Best Coding VB.net To all, Being self-taught and not had much time to actually spend with VB.net I now find myself with a little time to try and learn it properly, don;t really want to go through a step-by-step learning process, I seem to be able to pick things up quicker through working examples etc. So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most effiicient ways to link even a single form to a SQL Server BE, say a name and address form. I have looked using searches and so many examples out there with different ways, but I trust the people on here to guide me in the right direction, as I believe just a simple form that will show me the best way to select, update, delete and insert records is enough to start me. The reason I am after this is that I have a Access manufacturing process application dedicated to a certain industry and want to rewrite it in vb.net and SQL as well, I could probably get something up and running but want it to be as slick as it can be as I may look at selling it afterwards. Thank you so much for any help in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Oct 20 07:07:40 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 20 Oct 2016 08:07:40 -0400 Subject: [AccessD] FW: Examples In Best Coding VB.net Message-ID: <6A929CFE624548A89C704F9E1789E6D6@XPS> I should have added to that switching from traditional linear programming to OOP is the other major hurtle. Jim. -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Thursday, October 20, 2016 08:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Examples In Best Coding VB.net <> Not sure I would agree with that. VB.NET is certainly a lot closer to VBA than C#. Really the learning curve with .Net is learning the framework and all the classes more so than the language. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2016 04:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Examples In Best Coding VB.net Hi Paul I would strongly advise to get some basics first because just jumping into it will quickly turn out to be quite confusing as there are so many ways to solve tasks. A good and free source is MVA, Microsoft Virtual Academy: https://mva.microsoft.com An intro-course in VB.NET is here: https://mva.microsoft.com/en-US/training-courses/visual-basic-fundamentals-f or-absolute-beginners-16507 That said, you should consider moving to C#. VB.NET may look like Visual Basic but it is very different, so there really isn't much to carry over from VBA, and there is so much more code and advice out there for C# than for VB.NET. And don't forget the free Visual Studio 2015 Community edition: https://www.visualstudio.com/vs/community/ and to sign up to our list: Development in Visual Studio /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Paul Hartland via AccessD Sendt: 20. oktober 2016 09:12 Til: Access List ; Development in Visual Studio Cc: Paul Hartland Emne: [AccessD] Examples In Best Coding VB.net To all, Being self-taught and not had much time to actually spend with VB.net I now find myself with a little time to try and learn it properly, don;t really want to go through a step-by-step learning process, I seem to be able to pick things up quicker through working examples etc. So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most effiicient ways to link even a single form to a SQL Server BE, say a name and address form. I have looked using searches and so many examples out there with different ways, but I trust the people on here to guide me in the right direction, as I believe just a simple form that will show me the best way to select, update, delete and insert records is enough to start me. The reason I am after this is that I have a Access manufacturing process application dedicated to a certain industry and want to rewrite it in vb.net and SQL as well, I could probably get something up and running but want it to be as slick as it can be as I may look at selling it afterwards. Thank you so much for any help in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Thu Oct 20 07:13:48 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 20 Oct 2016 13:13:48 +0100 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: <6A929CFE624548A89C704F9E1789E6D6@XPS> References: <6A929CFE624548A89C704F9E1789E6D6@XPS> Message-ID: Thats what I seem to struggle with the most as I was VB6 and VBA, I seem to struggle with the framework and classes and sure the one or two little applications I have wrote can be a lot better On 20 October 2016 at 13:07, Jim Dettman wrote: > > I should have added to that switching from traditional linear programming > to OOP is the other major hurtle. > > Jim. > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at verizon.net] > Sent: Thursday, October 20, 2016 08:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Examples In Best Coding VB.net > > > <> > > Not sure I would agree with that. VB.NET is certainly a lot closer to > VBA > than C#. > > Really the learning curve with .Net is learning the framework and all the > classes more so than the language. > > Jim. > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Thursday, October 20, 2016 04:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Examples In Best Coding VB.net > > Hi Paul > > I would strongly advise to get some basics first because just jumping into > it will quickly turn out to be quite confusing as there are so many ways to > solve tasks. > > A good and free source is MVA, Microsoft Virtual Academy: > > https://mva.microsoft.com > > An intro-course in VB.NET is here: > > https://mva.microsoft.com/en-US/training-courses/visual- > basic-fundamentals-f > or-absolute-beginners-16507 > > That said, you should consider moving to C#. VB.NET may look like Visual > Basic but it is very different, so there really isn't much to carry over > from VBA, and there is so much more code and advice out there for C# than > for VB.NET. > > And don't forget the free Visual Studio 2015 Community edition: > > https://www.visualstudio.com/vs/community/ > > and to sign up to our list: > > Development in Visual Studio > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > Paul > Hartland via AccessD > Sendt: 20. oktober 2016 09:12 > Til: Access List ; Development in Visual > Studio > Cc: Paul Hartland > Emne: [AccessD] Examples In Best Coding VB.net > > To all, > > Being self-taught and not had much time to actually spend with VB.net I now > find myself with a little time to try and learn it properly, don;t really > want to go through a step-by-step learning process, I seem to be able to > pick things up quicker through working examples etc. So could anyone point > me in the right direction for (should I say) best coding examples, doesn't > have to be massive just would like to see the best and most effiicient ways > to link even a single form to a SQL Server BE, say a name and address form. > I have looked using searches and so many examples out there with different > ways, but I trust the people on here to guide me in the right direction, as > I believe just a simple form that will show me the best way to select, > update, delete and insert records is enough to start me. > > The reason I am after this is that I have a Access manufacturing process > application dedicated to a certain industry and want to rewrite it in > vb.net > and SQL as well, I could probably get something up and running but want it > to be as slick as it can be as I may look at selling it afterwards. > > Thank you so much for any help in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From charlotte.foust at gmail.com Thu Oct 20 11:22:10 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Oct 2016 09:22:10 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine Message-ID: There is an Access app in use in public affairs office for the State of California (I didn't build it) that is used by multiple people but on one machine, one person is missing part of the form when he logs in. The missing button would allow him to add new records. Anyone else logging in on his machine has no problems, and he has no problems when logging into someone else's machine (according to him). I've been scratching my head over this for months because I can't recreate it. Any ideas? Charlotte Foust (916) 206-4336 From lmrazek at lcm-res.com Thu Oct 20 11:29:23 2016 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 20 Oct 2016 11:29:23 -0500 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: References: <6A929CFE624548A89C704F9E1789E6D6@XPS> Message-ID: Paul: Good luck with your switch. Have you considered moving to C# instead of VB.NET? Asking because (I've found) most of the code examples seem to be written in C#. I've programmed in both, and also found the transition from linear to OOP was the biggest hurdle. Microsoft's virtual academy (free) and Pluralsight are great resources for training. Larry Mrazek lmrazek at lcm-res.com On Thu, Oct 20, 2016 at 7:13 AM, Paul Hartland via AccessD < accessd at databaseadvisors.com> wrote: > Thats what I seem to struggle with the most as I was VB6 and VBA, I seem to > struggle with the framework and classes and sure the one or two little > applications I have wrote can be a lot better > > > On 20 October 2016 at 13:07, Jim Dettman wrote: > > > > > I should have added to that switching from traditional linear > programming > > to OOP is the other major hurtle. > > > > Jim. > > > > -----Original Message----- > > From: Jim Dettman [mailto:jimdettman at verizon.net] > > Sent: Thursday, October 20, 2016 08:06 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Examples In Best Coding VB.net > > > > > > <> > > > > Not sure I would agree with that. VB.NET is certainly a lot closer to > > VBA > > than C#. > > > > Really the learning curve with .Net is learning the framework and all > the > > classes more so than the language. > > > > Jim. > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Gustav Brock > > Sent: Thursday, October 20, 2016 04:13 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Examples In Best Coding VB.net > > > > Hi Paul > > > > I would strongly advise to get some basics first because just jumping > into > > it will quickly turn out to be quite confusing as there are so many ways > to > > solve tasks. > > > > A good and free source is MVA, Microsoft Virtual Academy: > > > > https://mva.microsoft.com > > > > An intro-course in VB.NET is here: > > > > https://mva.microsoft.com/en-US/training-courses/visual- > > basic-fundamentals-f > > or-absolute-beginners-16507 > > > > That said, you should consider moving to C#. VB.NET may look like Visual > > Basic but it is very different, so there really isn't much to carry over > > from VBA, and there is so much more code and advice out there for C# than > > for VB.NET. > > > > And don't forget the free Visual Studio 2015 Community edition: > > > > https://www.visualstudio.com/vs/community/ > > > > and to sign up to our list: > > > > Development in Visual Studio > > > > /gustav > > > > -----Oprindelig meddelelse----- > > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > > Paul > > Hartland via AccessD > > Sendt: 20. oktober 2016 09:12 > > Til: Access List ; Development in Visual > > Studio > > Cc: Paul Hartland > > Emne: [AccessD] Examples In Best Coding VB.net > > > > To all, > > > > Being self-taught and not had much time to actually spend with VB.net I > now > > find myself with a little time to try and learn it properly, don;t really > > want to go through a step-by-step learning process, I seem to be able to > > pick things up quicker through working examples etc. So could anyone > point > > me in the right direction for (should I say) best coding examples, > doesn't > > have to be massive just would like to see the best and most effiicient > ways > > to link even a single form to a SQL Server BE, say a name and address > form. > > I have looked using searches and so many examples out there with > different > > ways, but I trust the people on here to guide me in the right direction, > as > > I believe just a simple form that will show me the best way to select, > > update, delete and insert records is enough to start me. > > > > The reason I am after this is that I have a Access manufacturing process > > application dedicated to a certain industry and want to rewrite it in > > vb.net > > and SQL as well, I could probably get something up and running but want > it > > to be as slick as it can be as I may look at selling it afterwards. > > > > Thank you so much for any help in advance. > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Larry Mrazek lmrazek at lcm-res.com From paul.hartland at googlemail.com Thu Oct 20 11:41:20 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 20 Oct 2016 17:41:20 +0100 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: References: <6A929CFE624548A89C704F9E1789E6D6@XPS> Message-ID: I mentioned earlier that I was thinking of trying to port the Access application over to SQL Server Express and C# going to give it all a good look tomorrow and will probably go down the C# route as I used to do C many years ago On 20 October 2016 at 17:29, Lawrence Mrazek wrote: > Paul: > > Good luck with your switch. Have you considered moving to C# instead of > VB.NET? Asking because (I've found) most of the code examples seem to be > written in C#. I've programmed in both, and also found the transition from > linear to OOP was the biggest hurdle. > > Microsoft's virtual academy (free) and Pluralsight are great resources for > training. > > Larry Mrazek > lmrazek at lcm-res.com > > On Thu, Oct 20, 2016 at 7:13 AM, Paul Hartland via AccessD < > accessd at databaseadvisors.com> wrote: > > > Thats what I seem to struggle with the most as I was VB6 and VBA, I seem > to > > struggle with the framework and classes and sure the one or two little > > applications I have wrote can be a lot better > > > > > > On 20 October 2016 at 13:07, Jim Dettman wrote: > > > > > > > > I should have added to that switching from traditional linear > > programming > > > to OOP is the other major hurtle. > > > > > > Jim. > > > > > > -----Original Message----- > > > From: Jim Dettman [mailto:jimdettman at verizon.net] > > > Sent: Thursday, October 20, 2016 08:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Examples In Best Coding VB.net > > > > > > > > > <> > > > > > > Not sure I would agree with that. VB.NET is certainly a lot closer > to > > > VBA > > > than C#. > > > > > > Really the learning curve with .Net is learning the framework and all > > the > > > classes more so than the language. > > > > > > Jim. > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of > > > Gustav Brock > > > Sent: Thursday, October 20, 2016 04:13 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Examples In Best Coding VB.net > > > > > > Hi Paul > > > > > > I would strongly advise to get some basics first because just jumping > > into > > > it will quickly turn out to be quite confusing as there are so many > ways > > to > > > solve tasks. > > > > > > A good and free source is MVA, Microsoft Virtual Academy: > > > > > > https://mva.microsoft.com > > > > > > An intro-course in VB.NET is here: > > > > > > https://mva.microsoft.com/en-US/training-courses/visual- > > > basic-fundamentals-f > > > or-absolute-beginners-16507 > > > > > > That said, you should consider moving to C#. VB.NET may look like > Visual > > > Basic but it is very different, so there really isn't much to carry > over > > > from VBA, and there is so much more code and advice out there for C# > than > > > for VB.NET. > > > > > > And don't forget the free Visual Studio 2015 Community edition: > > > > > > https://www.visualstudio.com/vs/community/ > > > > > > and to sign up to our list: > > > > > > Development in Visual Studio > > > > > > /gustav > > > > > > -----Oprindelig meddelelse----- > > > Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af > > > Paul > > > Hartland via AccessD > > > Sendt: 20. oktober 2016 09:12 > > > Til: Access List ; Development in Visual > > > Studio > > > Cc: Paul Hartland > > > Emne: [AccessD] Examples In Best Coding VB.net > > > > > > To all, > > > > > > Being self-taught and not had much time to actually spend with VB.net I > > now > > > find myself with a little time to try and learn it properly, don;t > really > > > want to go through a step-by-step learning process, I seem to be able > to > > > pick things up quicker through working examples etc. So could anyone > > point > > > me in the right direction for (should I say) best coding examples, > > doesn't > > > have to be massive just would like to see the best and most effiicient > > ways > > > to link even a single form to a SQL Server BE, say a name and address > > form. > > > I have looked using searches and so many examples out there with > > different > > > ways, but I trust the people on here to guide me in the right > direction, > > as > > > I believe just a simple form that will show me the best way to select, > > > update, delete and insert records is enough to start me. > > > > > > The reason I am after this is that I have a Access manufacturing > process > > > application dedicated to a certain industry and want to rewrite it in > > > vb.net > > > and SQL as well, I could probably get something up and running but want > > it > > > to be as slick as it can be as I may look at selling it afterwards. > > > > > > Thank you so much for any help in advance. > > > > > > -- > > > Paul Hartland > > > paul.hartland at googlemail.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > Paul Hartland > > paul.hartland at googlemail.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Larry Mrazek > lmrazek at lcm-res.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From jamesbutton at blueyonder.co.uk Thu Oct 20 11:47:37 2016 From: jamesbutton at blueyonder.co.uk (James Button) Date: Thu, 20 Oct 2016 17:47:37 +0100 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: Seems to me to be a corruption of some part(s) of the app that are within his user profile on that particular system. Maybe uninstall and then re-install the app ( and Access run-time?) he is using - Maybe copy the current one to a store for compirism with the recreated one and any other versions you have easy access to. JimB -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 20, 2016 5:22 PM To: Access Developers discussion and problem Subject: [AccessD] Odd Behavior on one profile on one machine There is an Access app in use in public affairs office for the State of California (I didn't build it) that is used by multiple people but on one machine, one person is missing part of the form when he logs in. The missing button would allow him to add new records. Anyone else logging in on his machine has no problems, and he has no problems when logging into someone else's machine (according to him). I've been scratching my head over this for months because I can't recreate it. Any ideas? Charlotte Foust (916) 206-4336 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Oct 20 11:50:19 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Oct 2016 09:50:19 -0700 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: References: <6A929CFE624548A89C704F9E1789E6D6@XPS> Message-ID: I find it fairly easy to translate C# samples into VB.Net. And I find VB.Net quite similar to VBA except everything is an object, which I had no problems with at all. I was already familiar with ADO, which helped a lot with ADO.Net. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 9:29 AM, Lawrence Mrazek wrote: > Paul: > > Good luck with your switch. Have you considered moving to C# instead of > VB.NET? Asking because (I've found) most of the code examples seem to be > written in C#. I've programmed in both, and also found the transition from > linear to OOP was the biggest hurdle. > > Microsoft's virtual academy (free) and Pluralsight are great resources for > training. > > Larry Mrazek > lmrazek at lcm-res.com > > > > From charlotte.foust at gmail.com Thu Oct 20 11:52:05 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Oct 2016 09:52:05 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: The app lives on a server, and they all share it. Access is installed on their machines. I can't think of a reason why it would behave differently from one profile on one machine. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 9:47 AM, James Button wrote: > Seems to me to be a corruption of some part(s) of the app that are within > his > user profile on that particular system. > > Maybe uninstall and then re-install the app ( and Access run-time?) he is > using > - > Maybe copy the current one to a store for compirism with the recreated > one and > any other versions you have easy access to. > > JimB > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, October 20, 2016 5:22 PM > To: Access Developers discussion and problem > > Subject: [AccessD] Odd Behavior on one profile on one machine > > There is an Access app in use in public affairs office for the State of > California (I didn't build it) that is used by multiple people but on one > machine, one person is missing part of the form when he logs in. The > missing button would allow him to add new records. Anyone else logging in > on his machine has no problems, and he has no problems when logging into > someone else's machine (according to him). I've been scratching my head > over this for months because I can't recreate it. Any ideas? > > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davidmcafee at gmail.com Thu Oct 20 12:48:10 2016 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 20 Oct 2016 10:48:10 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: Has it always behaved this way with him, or did it just start doing so? Have you stepped through the On open of the form? Is there something being hidden by his login or role? On Thu, Oct 20, 2016 at 9:52 AM, Charlotte Foust wrote: > The app lives on a server, and they all share it. Access is installed on > their machines. I can't think of a reason why it would behave differently > from one profile on one machine. > > Charlotte Foust > (916) 206-4336 > > On Thu, Oct 20, 2016 at 9:47 AM, James Button < > jamesbutton at blueyonder.co.uk> > wrote: > > > Seems to me to be a corruption of some part(s) of the app that are within > > his > > user profile on that particular system. > > > > Maybe uninstall and then re-install the app ( and Access run-time?) he > is > > using > > - > > Maybe copy the current one to a store for compirism with the recreated > > one and > > any other versions you have easy access to. > > > > JimB > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Charlotte Foust > > Sent: Thursday, October 20, 2016 5:22 PM > > To: Access Developers discussion and problem < > accessd at databaseadvisors.com > > > > > Subject: [AccessD] Odd Behavior on one profile on one machine > > > > There is an Access app in use in public affairs office for the State of > > California (I didn't build it) that is used by multiple people but on one > > machine, one person is missing part of the form when he logs in. The > > missing button would allow him to add new records. Anyone else logging > in > > on his machine has no problems, and he has no problems when logging into > > someone else's machine (according to him). I've been scratching my head > > over this for months because I can't recreate it. Any ideas? > > > > > > Charlotte Foust > > (916) 206-4336 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Thu Oct 20 12:57:22 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Oct 2016 10:57:22 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: I don't believe it's always been this way, and there is nothing anywhere to hide the button for any reason. No code, no macros, no nothing! Giving him a higher level of permissions didn't change anything. His screen resolution isn't any different from standard, and I've run out of things to try. It sounds like a local profile issue, but the network people blame Access. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 10:48 AM, David McAfee wrote: > Has it always behaved this way with him, or did it just start doing so? > > Have you stepped through the On open of the form? > > Is there something being hidden by his login or role? > > > > > > On Thu, Oct 20, 2016 at 9:52 AM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > The app lives on a server, and they all share it. Access is installed on > > their machines. I can't think of a reason why it would behave > differently > > from one profile on one machine. > > > > Charlotte Foust > > (916) 206-4336 > > > > On Thu, Oct 20, 2016 at 9:47 AM, James Button < > > jamesbutton at blueyonder.co.uk> > > wrote: > > > > > Seems to me to be a corruption of some part(s) of the app that are > within > > > his > > > user profile on that particular system. > > > > > > Maybe uninstall and then re-install the app ( and Access run-time?) he > > is > > > using > > > - > > > Maybe copy the current one to a store for compirism with the recreated > > > one and > > > any other versions you have easy access to. > > > > > > JimB > > > > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of > > > Charlotte Foust > > > Sent: Thursday, October 20, 2016 5:22 PM > > > To: Access Developers discussion and problem < > > accessd at databaseadvisors.com > > > > > > > Subject: [AccessD] Odd Behavior on one profile on one machine > > > > > > There is an Access app in use in public affairs office for the State of > > > California (I didn't build it) that is used by multiple people but on > one > > > machine, one person is missing part of the form when he logs in. The > > > missing button would allow him to add new records. Anyone else logging > > in > > > on his machine has no problems, and he has no problems when logging > into > > > someone else's machine (according to him). I've been scratching my > head > > > over this for months because I can't recreate it. Any ideas? > > > > > > > > > Charlotte Foust > > > (916) 206-4336 > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From RRANTHON at sentara.com Thu Oct 20 13:35:57 2016 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Thu, 20 Oct 2016 18:35:57 +0000 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: Charlotte, Had a similar issue. In short, user got new workstation and could not invoke an Excel report from the Access app. Same results, works fine on another machine, works for other users on his machine. There appeared to be a "ghost" install in his profile in that it was loading the 15.0 Excel library when it should be 14.0. Once I submitted the fix below and gave them a screenshot, the network team finally fixed his issue. Under HKeY_ClASSES_ROOT >> TypeLib >> {00020813-0000-0000-C000-000000000046} There was an additional registry entry 1.8 and from the square outlined indicated, it was listed as Excel 15.0 Object library. I exported this to save, then deleted it from the registry. Once I did this and restarted the workstation, I was able to use the /resrvr32 switch to register the Excel.EXE file in his office directory. Regards, -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 20, 2016 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Behavior on one profile on one machine I don't believe it's always been this way, and there is nothing anywhere to hide the button for any reason. No code, no macros, no nothing! Giving him a higher level of permissions didn't change anything. His screen resolution isn't any different from standard, and I've run out of things to try. It sounds like a local profile issue, but the network people blame Access. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 10:48 AM, David McAfee wrote: > Has it always behaved this way with him, or did it just start doing so? > > Have you stepped through the On open of the form? > > Is there something being hidden by his login or role? > > > > > > On Thu, Oct 20, 2016 at 9:52 AM, Charlotte Foust < > charlotte.foust at gmail.com> > wrote: > > > The app lives on a server, and they all share it. Access is > > installed on their machines. I can't think of a reason why it would > > behave > differently > > from one profile on one machine. > > > > Charlotte Foust > > (916) 206-4336 > > > > On Thu, Oct 20, 2016 at 9:47 AM, James Button < > > jamesbutton at blueyonder.co.uk> > > wrote: > > > > > Seems to me to be a corruption of some part(s) of the app that are > within > > > his > > > user profile on that particular system. > > > > > > Maybe uninstall and then re-install the app ( and Access > > > run-time?) he > > is > > > using > > > - > > > Maybe copy the current one to a store for compirism with the > > > recreated one and any other versions you have easy access to. > > > > > > JimB > > > > > > -----Original Message----- > > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On > > > Behalf > Of > > > Charlotte Foust > > > Sent: Thursday, October 20, 2016 5:22 PM > > > To: Access Developers discussion and problem < > > accessd at databaseadvisors.com > > > > > > > Subject: [AccessD] Odd Behavior on one profile on one machine > > > > > > There is an Access app in use in public affairs office for the > > > State of California (I didn't build it) that is used by multiple > > > people but on > one > > > machine, one person is missing part of the form when he logs in. > > > The missing button would allow him to add new records. Anyone > > > else logging > > in > > > on his machine has no problems, and he has no problems when > > > logging > into > > > someone else's machine (according to him). I've been scratching > > > my > head > > > over this for months because I can't recreate it. Any ideas? > > > > > > > > > Charlotte Foust > > > (916) 206-4336 > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 20 14:08:06 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Oct 2016 12:08:06 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: <005901d22b05$4af385b0$e0da9110$@bchacc.com> Is it FE/BE? IF so, I'd try running the FE from his machine. If not, can it be split? R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 20, 2016 9:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Behavior on one profile on one machine The app lives on a server, and they all share it. Access is installed on their machines. I can't think of a reason why it would behave differently from one profile on one machine. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 9:47 AM, James Button wrote: > Seems to me to be a corruption of some part(s) of the app that are > within his user profile on that particular system. > > Maybe uninstall and then re-install the app ( and Access run-time?) > he is using > - > Maybe copy the current one to a store for compirism with the > recreated one and any other versions you have easy access to. > > JimB > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Charlotte Foust > Sent: Thursday, October 20, 2016 5:22 PM > To: Access Developers discussion and problem > > > Subject: [AccessD] Odd Behavior on one profile on one machine > > There is an Access app in use in public affairs office for the State > of California (I didn't build it) that is used by multiple people but > on one machine, one person is missing part of the form when he logs > in. The missing button would allow him to add new records. Anyone > else logging in on his machine has no problems, and he has no problems > when logging into someone else's machine (according to him). I've > been scratching my head over this for months because I can't recreate it. Any ideas? > > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Thu Oct 20 14:26:21 2016 From: marksimms at verizon.net (Mark Simms) Date: Thu, 20 Oct 2016 15:26:21 -0400 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: References: <6A929CFE624548A89C704F9E1789E6D6@XPS> Message-ID: <051a01d22b07$d745ffa0$85d1fee0$@net> Bingo.....VB.NET...ever made it. It's nothing but C# now in the dot-net world. > Paul: > > Good luck with your switch. Have you considered moving to C# instead of > VB.NET? Asking because (I've found) most of the code examples seem to > be > written in C#. From paul.hartland at googlemail.com Thu Oct 20 14:35:50 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Thu, 20 Oct 2016 20:35:50 +0100 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: <051a01d22b07$d745ffa0$85d1fee0$@net> References: <6A929CFE624548A89C704F9E1789E6D6@XPS> <051a01d22b07$d745ffa0$85d1fee0$@net> Message-ID: Made up my mind anyway that will be trying C# all I need to do is work out the most efficient way to select, update, insert and delete records on a form.....and understand classes and the framework a lot more, but really doesn't seem to sink in with me for some reason, but the value of the application I am trying to port will be worth the headache, actually thinking while I am at it to use C# with ASP.net and build a browser interface, but not sure I could be biting off more than I can chew. Anyway, massive thanks to all for your help and pointers etc, will definitely be looking at Microsoft's virtual academy as a couple of you have suggested. On 20 October 2016 at 20:26, Mark Simms wrote: > Bingo.....VB.NET...ever made it. > It's nothing but C# now in the dot-net world. > > Paul: > > > > Good luck with your switch. Have you considered moving to C# instead of > > VB.NET? Asking because (I've found) most of the code examples seem to > > be > > written in C#. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From rockysmolin at bchacc.com Thu Oct 20 14:53:18 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Oct 2016 12:53:18 -0700 Subject: [AccessD] Problem Writing to table Message-ID: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> Dear List: This is a problem with an mdb running on A2010. Although I don't think that may be relevant. I am getting an error 3022: The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship." The scenario: I have a table (Table 1) I need to operate on and depending on the record, either add some records to Table 1 right after the record in question or just go on to the next record. The added records have to be in a specific order merged with the existing records - can't just add to the end of the Table 1. So I copy all the records to a temp table (Table 2), which has the identical structure as the Table 1. Both tables have autonumber PKs. Both table have identical structures. Except for the PK no fields are indexed. When I copy from Table 1 to Table 2, I select all the fields in Table 1 except for the PK. Then I loop through Table 2 table either 1) adding the record from Table 2 to Table 1 using an INSERT statement, or add some additional records to Table 1 and do not copy the record from Table 2 to Table 1. After about 60 or so records added to Table 2, I get the error. Since the only indexed field is the autonumber PK, I can't see how a duplicate value could be generated. But it is. So that means something else is going on here but I can't imagine what. Has anyone encountered this before or have any ideas how to get around it? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From jackandpat.d at gmail.com Thu Oct 20 15:02:42 2016 From: jackandpat.d at gmail.com (jack drawbridge) Date: Thu, 20 Oct 2016 16:02:42 -0400 Subject: [AccessD] Problem Writing to table In-Reply-To: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> References: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> Message-ID: Rocky, 3022 is usually very definite ---duplicate. How are you ensuring records are in a specific physical location??? Records are placed randomly (at least by algorithms I don't thiink I can control). I always regard records in tables as "junk in a box". If you want to process them in a specific order, use a query with an Order By. Good luck. On Thu, Oct 20, 2016 at 3:53 PM, Rocky Smolin wrote: > Dear List: > > > > This is a problem with an mdb running on A2010. Although I don't think > that > may be relevant. > > > > I am getting an error 3022: The changes you requested to the table were not > successful because they would create duplicate values in the index, primary > key, or relationship." > > > > The scenario: > > > > I have a table (Table 1) I need to operate on and depending on the record, > either add some records to Table 1 right after the record in question or > just go on to the next record. > > > > The added records have to be in a specific order merged with the existing > records - can't just add to the end of the Table 1. So I copy all the > records to a temp table (Table 2), which has the identical structure as the > Table 1. > > > > Both tables have autonumber PKs. Both table have identical structures. > Except for the PK no fields are indexed. When I copy from Table 1 to Table > 2, I select all the fields in Table 1 except for the PK. > > > > Then I loop through Table 2 table either 1) adding the record from Table 2 > to Table 1 using an INSERT statement, or add some additional records to > Table 1 and do not copy the record from Table 2 to Table 1. > > > > After about 60 or so records added to Table 2, I get the error. > > > > Since the only indexed field is the autonumber PK, I can't see how a > duplicate value could be generated. But it is. So that means something > else is going on here but I can't imagine what. > > > > Has anyone encountered this before or have any ideas how to get around it? > > > > > > 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 Oct 20 15:19:11 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Oct 2016 13:19:11 -0700 Subject: [AccessD] Problem Writing to table In-Reply-To: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> References: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> Message-ID: <009b01d22b0f$3881f330$a985d990$@bchacc.com> Further: I put an error trap and counted the number of times the program barfed on the .Update. 211. But is successfully wrote to the target table 736 times. I don't yet see a pattern about which records got written and which not. R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, October 20, 2016 12:53 PM To: 'Access Developers discussion and problem solving' Cc: 'Off Topic' Subject: [AccessD] Problem Writing to table Dear List: This is a problem with an mdb running on A2010. Although I don't think that may be relevant. I am getting an error 3022: The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship." The scenario: I have a table (Table 1) I need to operate on and depending on the record, either add some records to Table 1 right after the record in question or just go on to the next record. The added records have to be in a specific order merged with the existing records - can't just add to the end of the Table 1. So I copy all the records to a temp table (Table 2), which has the identical structure as the Table 1. Both tables have autonumber PKs. Both table have identical structures. Except for the PK no fields are indexed. When I copy from Table 1 to Table 2, I select all the fields in Table 1 except for the PK. Then I loop through Table 2 table either 1) adding the record from Table 2 to Table 1 using an INSERT statement, or add some additional records to Table 1 and do not copy the record from Table 2 to Table 1. After about 60 or so records added to Table 2, I get the error. Since the only indexed field is the autonumber PK, I can't see how a duplicate value could be generated. But it is. So that means something else is going on here but I can't imagine what. Has anyone encountered this before or have any ideas how to get around it? 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 Oct 20 15:33:31 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 20 Oct 2016 13:33:31 -0700 Subject: [AccessD] Problem Writing to table In-Reply-To: References: <006401d22b0b$9af68ed0$d0e3ac70$@bchacc.com> Message-ID: <000001d22b11$393ec8a0$abbc59e0$@bchacc.com> I think I found it. Writing to the list always makes me think of other WAGs. In this case if a record did not need processing but was transferred intact to the target table I used this insert statement: db.Execute "INSERT INTO tblWorkOrderHistory SELECT tblWorkOrderHistory_Temp.* FROM " _ & "tblWorkOrderHistory_Temp WHERE tblWorkOrderHistory_Temp.fldWOHistoryID = " _ & rsWOHistoryTemp!fldWOHistoryID & ";" Which included the PK. So I changed it to: db.Execute "INSERT INTO tblWorkOrderHistory_Temp ( fldWOHWorkOrder, fldWOHWOPartNumber, " _ & "fldWOHComponentPartNumber, fldWOHWorkOrderQuantityAllocated, fldWOHQPA, fldWOHQuantityIssued, " _ & "fldWOHSource, fldWOHPONumber, fldWOHPOUOM, fldWOHBOMUOM, fldWOHUOMConversion, fldWOHUnitCost, " _ & "fldWOHTotalCost, fldWOHCurrency, fldWOHExchangeRate, fldWOHCostUSD, fldWOHComment ) " _ & "SELECT tblWorkOrderHistory.fldWOHWorkOrder, tblWorkOrderHistory.fldWOHWOPartNumber, " _ & "tblWorkOrderHistory.fldWOHComponentPartNumber, tblWorkOrderHistory.fldWOHWorkOrderQuantityAllocated, " _ & "tblWorkOrderHistory.fldWOHQPA, tblWorkOrderHistory.fldWOHQuantityIssued, " _ & "tblWorkOrderHistory.fldWOHSource, tblWorkOrderHistory.fldWOHPONumber, " _ & "tblWorkOrderHistory.fldWOHPOUOM, tblWorkOrderHistory.fldWOHBOMUOM, " _ & "tblWorkOrderHistory.fldWOHUOMConversion, tblWorkOrderHistory.fldWOHUnitCost, " _ & "tblWorkOrderHistory.fldWOHTotalCost, tblWorkOrderHistory.fldWOHCurrency, " _ & "tblWorkOrderHistory.fldWOHExchangeRate, tblWorkOrderHistory.fldWOHCostUSD, " _ & "tblWorkOrderHistory.fldWOHComment FROM tblWorkOrderHistory " _ & "WHERE tblWorkOrderHistory.fldWOHistoryID = " & rsWOHistoryTemp!fldWOHistoryID & ";" Which appends all the fields except the PK and walla! It (seems to ) work! Tks Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jack drawbridge Sent: Thursday, October 20, 2016 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem Writing to table Rocky, 3022 is usually very definite ---duplicate. How are you ensuring records are in a specific physical location??? Records are placed randomly (at least by algorithms I don't thiink I can control). I always regard records in tables as "junk in a box". If you want to process them in a specific order, use a query with an Order By. Good luck. On Thu, Oct 20, 2016 at 3:53 PM, Rocky Smolin wrote: > Dear List: > > > > This is a problem with an mdb running on A2010. Although I don't > think that may be relevant. > > > > I am getting an error 3022: The changes you requested to the table > were not successful because they would create duplicate values in the > index, primary key, or relationship." > > > > The scenario: > > > > I have a table (Table 1) I need to operate on and depending on the > record, either add some records to Table 1 right after the record in > question or just go on to the next record. > > > > The added records have to be in a specific order merged with the > existing records - can't just add to the end of the Table 1. So I > copy all the records to a temp table (Table 2), which has the > identical structure as the Table 1. > > > > Both tables have autonumber PKs. Both table have identical structures. > Except for the PK no fields are indexed. When I copy from Table 1 to > Table 2, I select all the fields in Table 1 except for the PK. > > > > Then I loop through Table 2 table either 1) adding the record from > Table 2 to Table 1 using an INSERT statement, or add some additional > records to Table 1 and do not copy the record from Table 2 to Table 1. > > > > After about 60 or so records added to Table 2, I get the error. > > > > Since the only indexed field is the autonumber PK, I can't see how a > duplicate value could be generated. But it is. So that means > something else is going on here but I can't imagine what. > > > > Has anyone encountered this before or have any ideas how to get around it? > > > > > > 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 Oct 20 16:09:20 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 20 Oct 2016 17:09:20 -0400 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: I think JimB is onto something there....I would delete the profile and try again. Also, I would try running with admin priv and elevated privileges (right click, run as admin). I bumped into a situation once where a list box would not display on a form for one user. It was the only thing on the form that would not display. Turned out to be security on a registry entry that they could not read because it was locked down (it was a Terminal Services Server). Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 20, 2016 12:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Behavior on one profile on one machine The app lives on a server, and they all share it. Access is installed on their machines. I can't think of a reason why it would behave differently from one profile on one machine. Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 9:47 AM, James Button wrote: > Seems to me to be a corruption of some part(s) of the app that are within > his > user profile on that particular system. > > Maybe uninstall and then re-install the app ( and Access run-time?) he is > using > - > Maybe copy the current one to a store for compirism with the recreated > one and > any other versions you have easy access to. > > JimB > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, October 20, 2016 5:22 PM > To: Access Developers discussion and problem > > Subject: [AccessD] Odd Behavior on one profile on one machine > > There is an Access app in use in public affairs office for the State of > California (I didn't build it) that is used by multiple people but on one > machine, one person is missing part of the form when he logs in. The > missing button would allow him to add new records. Anyone else logging in > on his machine has no problems, and he has no problems when logging into > someone else's machine (according to him). I've been scratching my head > over this for months because I can't recreate it. Any ideas? > > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 20 16:15:20 2016 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2016 21:15:20 +0000 Subject: [AccessD] FW: Examples In Best Coding VB.net In-Reply-To: References: <6A929CFE624548A89C704F9E1789E6D6@XPS> <051a01d22b07$d745ffa0$85d1fee0$@net>, Message-ID: Hi Paul Do locate some courses for Absolute Beginners in C#, HTML5, CSS3, JavaScript, and (my recommendation) the brilliant TypeScript. Don't feel bad about it - they are not courses for Absolute Idiots, and everyone can learn, at least I did. Then you could proceed with these two courses about MVC (or CMV as they rename it for better understanding) and the Entity Framework which is a must-know-about topic: Introduction to ASP.NET MVC https://mva.microsoft.com/en-US/training-courses/introduction-to-aspnet-mvc-8322 Implementing Entity Framework with MVC https://mva.microsoft.com/en-US/training-courses/implementing-entity-framework-with-mvc-8931 The two/three guys are a bit chatty but they get the job done at a pleasant pace. Don't forget to take the assessments, it's only five questions. Later, pay attention to the huge (really) "Essential Studio" collection of top-quality controls (you will need a grid) from Syncfusion in a free Community Edition: https://www.syncfusion.com/products/communitylicense /gustav ________________________________________ Fra: AccessD p? vegne af Paul Hartland via AccessD Sendt: 20. oktober 2016 21:35:50 Til: Access Developers discussion and problem solving Cc: Paul Hartland Emne: Re: [AccessD] FW: Examples In Best Coding VB.net Made up my mind anyway that will be trying C# all I need to do is work out the most efficient way to select, update, insert and delete records on a form.....and understand classes and the framework a lot more, but really doesn't seem to sink in with me for some reason, but the value of the application I am trying to port will be worth the headache, actually thinking while I am at it to use C# with ASP.net and build a browser interface, but not sure I could be biting off more than I can chew. Anyway, massive thanks to all for your help and pointers etc, will definitely be looking at Microsoft's virtual academy as a couple of you have suggested. On 20 October 2016 at 20:26, Mark Simms wrote: > Bingo.....VB.NET...ever made it. > It's nothing but C# now in the dot-net world. > > Paul: > > > > Good luck with your switch. Have you considered moving to C# instead of > > VB.NET? Asking because (I've found) most of the code examples seem to be > > written in C#. From darryl at whittleconsulting.com.au Thu Oct 20 22:01:47 2016 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 21 Oct 2016 03:01:47 +0000 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: If it has been 'months' this is not likely the cause. But just in case. Is he using Windows 10? Office 2016? Had an update on that unit the others haven't? Might be this. '============================================ Office VBA controls transparency not working since October 2016 office update '============================================ Just guessing really, but it is probably worth knowing about anyway. Cheers Darryl. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 21 October, 2016 3:22 AM To: Access Developers discussion and problem Subject: [AccessD] Odd Behavior on one profile on one machine There is an Access app in use in public affairs office for the State of California (I didn't build it) that is used by multiple people but on one machine, one person is missing part of the form when he logs in. The missing button would allow him to add new records. Anyone else logging in on his machine has no problems, and he has no problems when logging into someone else's machine (according to him). I've been scratching my head over this for months because I can't recreate it. Any ideas? Charlotte Foust (916) 206-4336 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 21 02:47:49 2016 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2016 07:47:49 +0000 Subject: [AccessD] SQLite cloud/mobile (was: Basic Question (Probably) that I just don't know) Message-ID: Hi all Fun for the weekend! Here's an intro on how to create a cross-platform "Azure Mobile App" with Xamarin using "Azure Easy Tables" and "Azure Mobile SQLiteStore": https://blog.xamarin.com/getting-started-azure-mobile-apps-easy-tables/?wt.mc_id=AID530598_EML_4607277 The video is only a few minutes. As a second value it demonstrates the excellent GUI of Azure which quite a few sites could learn a lot from. /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 17. oktober 2016 10:22 Til: Access Developers discussion and problem solving Emne: [AccessD] SQLite cloud/mobile (was: Basic Question (Probably) that I just don't know) Hi all Did you know that SQLite is available even at Azure? Well, it is. From NuGet: Azure Mobile SQLiteStore: https://www.nuget.org/packages/Microsoft.Azure.Mobile.Client.SQLiteStore/ A How-To is here: https://blog.xamarin.com/getting-started-azure-mobile-apps-easy-tables/?wt.mc_id=AID530598_EML_4607277 Further info: http://azure.microsoft.com/mobile /gustav -----Oprindelig meddelelse----- Fra: AccessD [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Gustav Brock Sendt: 24. september 2016 15:54 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know Hi Stuart I see your points. And I can see, browsing the documentation, that SQLite certainly has its niche. What struck me was, that Arthur wrote: > SQL Express, MySQL, MariaDB, PostGreSQL, SQLite... the list goes on and I didn't see SQLite fit in here. It has its own category. Thank you for the clarification. /gustav ________________________________________ Fra: AccessD p? vegne af Stuart McLachlan Sendt: 24. september 2016 13:38:11 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Basic Question (Probably) that I just don't know I agree it's not a good alternative for multi user systems, but SQLite is an excellent solution for single user applications. There are reasons why it is so ubiquitous. It's free. :) The same database file is usable on many platforms including Windows, Linux,Android and iOS. It's fast, lightweight and versatile. For Windows, it's just one native 500KB DLL and no dependencies. While it doesn't have a huge range of dataypes, there's not much that you can't do with a 8 bytes integers and floats (twice the size that Access offers) and a default maximum size for text of 1 billion characters (try indexinga field of more than 255 characters in Access), and the same size of BLOBs. There are plenty of built in functions for Date manipulation that make the use of a dedicated Date/Time datatypes unnecessary including UnixTime (which is a real PITA to handle in Access). You're right that many (including me) use it because we "don't know any better". That's because in its niche, there is no better. :) On 24 Sep 2016 at 8:35, Gustav Brock wrote: > Hi Arthur > > I can't add much to the comments already posted, except for one thing: > SQLite is certainly not an alternative for an accdb or any other > decent database as SQLite is severely limited regarding data types. In > fact, I think why so many use it, is only because they just don't know > better. From df.waters at outlook.com Fri Oct 21 10:46:17 2016 From: df.waters at outlook.com (Dan Waters) Date: Fri, 21 Oct 2016 15:46:17 +0000 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: Message-ID: Hi Paul, I've been learning VB.Net over the last few years after many years of Access development - so I thought I'd through in my 2 cents. First - C# vs. VB.Net. Beginning about 2008, MS began a concerted effort to make the two languages functionally equivalent. Prior to this there were significant capabilities that one language had over the other. By now most of those significant differences have been resolved so your choice is a preference - with an important caveat. C# is used by most development shops. If you're thinking of getting a job developing then C# is the better choice for that reason. But if you're mostly going to work for yourself then VB.Net might be better. For me starting with VB.Net was good because I didn't have to deal with a new syntax (C# really is overly complicated and VB.Net really is more readable) and only had to learn more about classes and the differing capabilities between the VBA and VB.Net. I also made the choice to use LINQ as the data layer between my application and SQL server. And this is really the way to go. It gives you intellisense while you're writing code for CRUD operations and you'll get error indicators on-screen if you've done something wrong. Also - buy a copy of LINQPad Pro - it's a great sandbox for writing LINQ queries. LINQ resolves to optimized SQL language to give you great performance. You'll find many helpful discussions on-line about how to write code a certain way. I've found that if I begin the google search with "vb.net" [question here] then the answers written in VB.Net show up first on the list, but C# answers will also show up down the list. Best of both ... You can also copy a C# example on screen and convert it to vb.net using converter.telerik.com or www.developerfusion.com or others. Also, I have a copy of SharpDevelop version 4.4. This has a conversion feature to go back and forth between C# and VB.Net. Just open a solution or project in SharpDevelop, right-click on a project, and select the conversion you want. A duplicate project is then created in the selected language. The latest version of SharpDevelop (5) does not have this conversion feature. One more thing - databaseadvisors.com has an email list for Visual Studio (dba-VS)! Good Luck! Dan -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland via AccessD Sent: Thursday, October 20, 2016 2:12 AM To: Access List; Development in Visual Studio Cc: Paul Hartland Subject: [AccessD] Examples In Best Coding VB.net To all, Being self-taught and not had much time to actually spend with VB.net I now find myself with a little time to try and learn it properly, don;t really want to go through a step-by-step learning process, I seem to be able to pick things up quicker through working examples etc. So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most effiicient ways to link even a single form to a SQL Server BE, say a name and address form. I have looked using searches and so many examples out there with different ways, but I trust the people on here to guide me in the right direction, as I believe just a simple form that will show me the best way to select, update, delete and insert records is enough to start me. The reason I am after this is that I have a Access manufacturing process application dedicated to a certain industry and want to rewrite it in vb.net and SQL as well, I could probably get something up and running but want it to be as slick as it can be as I may look at selling it afterwards. Thank you so much for any help in advance. -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Fri Oct 21 12:03:00 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 21 Oct 2016 10:03:00 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: It's been turned over to the network people to reinstall Access as an attempt to fix it. I have no idea what would be involved in getting them to fix a registry problem. This is a State department, so everyone is using Windows 7 Pro and Office 2010. Updates are rolled out by IT and no admin privileges for users or developers on the individual machines. I agree with Jim Dettman that JimB is on to something. I suspected a profile issue, but it has to be a local one because he's using a roaming profile on other machines. I personally can't do a darn thing about it, but I needed arguments for when it gets kicked back to the Access team as our problem. Thanks guys, Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 8:01 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > If it has been 'months' this is not likely the cause. But just in case. > > Is he using Windows 10? Office 2016? Had an update on that unit the > others haven't? Might be this. > > '============================================ > Office VBA controls transparency not working since October 2016 office > update > 9796fd67-e65c-4086-a2db-b990a17077b8/office-vba-controls-transparacy-not- > working-since-october-2016-office-update?forum=Office2016ITPro> > '============================================ > > Just guessing really, but it is probably worth knowing about anyway. > > Cheers > Darryl. > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 21 October, 2016 3:22 AM > To: Access Developers discussion and problem > > Subject: [AccessD] Odd Behavior on one profile on one machine > > There is an Access app in use in public affairs office for the State of > California (I didn't build it) that is used by multiple people but on one > machine, one person is missing part of the form when he logs in. The > missing button would allow him to add new records. Anyone else logging in > on his machine has no problems, and he has no problems when logging into > someone else's machine (according to him). I've been scratching my head > over this for months because I can't recreate it. Any ideas? > > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Fri Oct 21 13:00:53 2016 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 21 Oct 2016 14:00:53 -0400 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: Message-ID: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> The rebuttal: there's nothing in Access that would cause this. If another user can log onto that machine and use the same copy of the database, and there is no internal code in the app to control permissions, then the problem lies outside the app. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 21, 2016 01:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Odd Behavior on one profile on one machine It's been turned over to the network people to reinstall Access as an attempt to fix it. I have no idea what would be involved in getting them to fix a registry problem. This is a State department, so everyone is using Windows 7 Pro and Office 2010. Updates are rolled out by IT and no admin privileges for users or developers on the individual machines. I agree with Jim Dettman that JimB is on to something. I suspected a profile issue, but it has to be a local one because he's using a roaming profile on other machines. I personally can't do a darn thing about it, but I needed arguments for when it gets kicked back to the Access team as our problem. Thanks guys, Charlotte Foust (916) 206-4336 On Thu, Oct 20, 2016 at 8:01 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > If it has been 'months' this is not likely the cause. But just in case. > > Is he using Windows 10? Office 2016? Had an update on that unit the > others haven't? Might be this. > > '============================================ > Office VBA controls transparency not working since October 2016 office > update > 9796fd67-e65c-4086-a2db-b990a17077b8/office-vba-controls-transparacy-not- > working-since-october-2016-office-update?forum=Office2016ITPro> > '============================================ > > Just guessing really, but it is probably worth knowing about anyway. > > Cheers > Darryl. > > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 21 October, 2016 3:22 AM > To: Access Developers discussion and problem > > Subject: [AccessD] Odd Behavior on one profile on one machine > > There is an Access app in use in public affairs office for the State of > California (I didn't build it) that is used by multiple people but on one > machine, one person is missing part of the form when he logs in. The > missing button would allow him to add new records. Anyone else logging in > on his machine has no problems, and he has no problems when logging into > someone else's machine (according to him). I've been scratching my head > over this for months because I can't recreate it. Any ideas? > > > Charlotte Foust > (916) 206-4336 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Fri Oct 21 14:40:18 2016 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 21 Oct 2016 12:40:18 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> References: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> Message-ID: Yup, sounds more like a corrupted profile. I experienced something like that once. Weird problems. After my profile was rebuilt, everything worked as expected. On Fri, Oct 21, 2016 at 11:00 AM, Jim Dettman wrote: > > The rebuttal: there's nothing in Access that would cause this. If another > user can log onto that machine and use the same copy of the database, and > there is no internal code in the app to control permissions, then the > problem lies outside the app. > > Jim. > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Friday, October 21, 2016 01:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Odd Behavior on one profile on one machine > > It's been turned over to the network people to reinstall Access as an > attempt to fix it. I have no idea what would be involved in getting them > to fix a registry problem. This is a State department, so everyone is > using Windows 7 Pro and Office 2010. Updates are rolled out by IT and no > admin privileges for users or developers on the individual machines. I > agree with Jim Dettman that JimB is on to something. I suspected a profile > issue, but it has to be a local one because he's using a roaming profile on > other machines. I personally can't do a darn thing about it, but I needed > arguments for when it gets kicked back to the Access team as our problem. > > Thanks guys, > > Charlotte Foust > (916) 206-4336 > > On Thu, Oct 20, 2016 at 8:01 PM, Darryl Collins < > darryl at whittleconsulting.com.au> wrote: > > > If it has been 'months' this is not likely the cause. But just in case. > > > > Is he using Windows 10? Office 2016? Had an update on that unit the > > others haven't? Might be this. > > > > '============================================ > > Office VBA controls transparency not working since October 2016 office > > update > > > 9796fd67-e65c-4086-a2db-b990a17077b8/office-vba- > controls-transparacy-not- > > working-since-october-2016-office-update?forum=Office2016ITPro> > > '============================================ > > > > Just guessing really, but it is probably worth knowing about anyway. > > > > Cheers > > Darryl. > > > > > > > > -----Original Message----- > > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Charlotte Foust > > Sent: 21 October, 2016 3:22 AM > > To: Access Developers discussion and problem < > accessd at databaseadvisors.com > > > > > Subject: [AccessD] Odd Behavior on one profile on one machine > > > > There is an Access app in use in public affairs office for the State of > > California (I didn't build it) that is used by multiple people but on one > > machine, one person is missing part of the form when he logs in. The > > missing button would allow him to add new records. Anyone else logging > in > > on his machine has no problems, and he has no problems when logging into > > someone else's machine (according to him). I've been scratching my head > > over this for months because I can't recreate it. Any ideas? > > > > > > Charlotte Foust > > (916) 206-4336 > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From charlotte.foust at gmail.com Fri Oct 21 17:54:03 2016 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 21 Oct 2016 15:54:03 -0700 Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> References: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> Message-ID: Jim, That's what I've been saying all along. They refuse to believe me. Charlotte Foust (916) 206-4336 On Fri, Oct 21, 2016 at 11:00 AM, Jim Dettman wrote: > > The rebuttal: there's nothing in Access that would cause this. If another > user can log onto that machine and use the same copy of the database, and > there is no internal code in the app to control permissions, then the > problem lies outside the app. > > Jim. > > > > > From accessd at shaw.ca Sat Oct 22 02:17:41 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 22 Oct 2016 01:17:41 -0600 (MDT) Subject: [AccessD] Odd Behavior on one profile on one machine In-Reply-To: References: <9245BCE2325E435A9E8E0317C99EDCCC@XPS> Message-ID: <78726300.11584647.1477120661502.JavaMail.zimbra@shaw.ca> You can add my agreement to the list. Jim ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2016 3:54:03 PM Subject: Re: [AccessD] Odd Behavior on one profile on one machine Jim, That's what I've been saying all along. They refuse to believe me. Charlotte Foust (916) 206-4336 On Fri, Oct 21, 2016 at 11:00 AM, Jim Dettman wrote: > > The rebuttal: there's nothing in Access that would cause this. If another > user can log onto that machine and use the same copy of the database, and > there is no internal code in the app to control permissions, then the > problem lies outside the app. > > Jim. > > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Sat Oct 22 02:17:08 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Sat, 22 Oct 2016 08:17:08 +0100 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: Message-ID: I did actually cross post this query to the access group and the dba-vs, only answers I got were from here.... I am not really after a job developing, the main thing I want to do at the moment is convert my access application into C# as mainly a learning experience, I just need to know how to use classes and the framework properly hence my request for an example of even just a single form in my original post "So could anyone point me in the right direction for (should I say) best coding examples, doesn't have to be massive just would like to see the best and most efficient ways to link even a single form to a SQL Server BE, say a name and address form" So my main reasons for going down the C# route and also C#/VB.net with ASP.net are that I want to learn these languages and hopefully start up on my own...But in the first instance I really want to know how to use classes and the framework properly just even in the first instance messing about with a single form and select, update, insert and delete data on SQL Server, i.e. should the form main reference classes etc and have hardly any code behind it etc... Anyway thank you for your response, it's greatly appreciated as always from this great list. On 21 October 2016 at 16:46, Dan Waters wrote: > Hi Paul, > > I've been learning VB.Net over the last few years after many years of > Access development - so I thought I'd through in my 2 cents. > > First - C# vs. VB.Net. Beginning about 2008, MS began a concerted effort > to make the two languages functionally equivalent. Prior to this there > were significant capabilities that one language had over the other. By now > most of those significant differences have been resolved so your choice is > a preference - with an important caveat. > > C# is used by most development shops. If you're thinking of getting a job > developing then C# is the better choice for that reason. But if you're > mostly going to work for yourself then VB.Net might be better. For me > starting with VB.Net was good because I didn't have to deal with a new > syntax (C# really is overly complicated and VB.Net really is more readable) > and only had to learn more about classes and the differing capabilities > between the VBA and VB.Net. > > I also made the choice to use LINQ as the data layer between my > application and SQL server. And this is really the way to go. It gives > you intellisense while you're writing code for CRUD operations and you'll > get error indicators on-screen if you've done something wrong. Also - buy > a copy of LINQPad Pro - it's a great sandbox for writing LINQ queries. > LINQ resolves to optimized SQL language to give you great performance. > > You'll find many helpful discussions on-line about how to write code a > certain way. I've found that if I begin the google search with "vb.net" > [question here] then the answers written in VB.Net show up first on the > list, but C# answers will also show up down the list. Best of both ... > You can also copy a C# example on screen and convert it to vb.net using > converter.telerik.com or www.developerfusion.com or others. > > Also, I have a copy of SharpDevelop version 4.4. This has a conversion > feature to go back and forth between C# and VB.Net. Just open a solution > or project in SharpDevelop, right-click on a project, and select the > conversion you want. A duplicate project is then created in the selected > language. The latest version of SharpDevelop (5) does not have this > conversion feature. > > One more thing - databaseadvisors.com has an email list for Visual Studio > (dba-VS)! > > Good Luck! > Dan > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Paul Hartland via AccessD > Sent: Thursday, October 20, 2016 2:12 AM > To: Access List; Development in Visual Studio > Cc: Paul Hartland > Subject: [AccessD] Examples In Best Coding VB.net > > To all, > > Being self-taught and not had much time to actually spend with VB.net I > now find myself with a little time to try and learn it properly, don;t > really want to go through a step-by-step learning process, I seem to be > able to pick things up quicker through working examples etc. So could > anyone point me in the right direction for (should I say) best coding > examples, doesn't have to be massive just would like to see the best and > most effiicient ways to link even a single form to a SQL Server BE, say a > name and address form. I have looked using searches and so many examples > out there with different ways, but I trust the people on here to guide me > in the right direction, as I believe just a simple form that will show me > the best way to select, update, delete and insert records is enough to > start me. > > The reason I am after this is that I have a Access manufacturing process > application dedicated to a certain industry and want to rewrite it in > vb.net and SQL as well, I could probably get something up and running but > want it to be as slick as it can be as I may look at selling it afterwards. > > Thank you so much for any help in advance. > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From stuart at lexacorp.com.pg Sat Oct 22 02:38:35 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 22 Oct 2016 17:38:35 +1000 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: , Message-ID: <580B177B.27792.13347082@stuart.lexacorp.com.pg> > LINQ resolves to optimized SQL language to give > you great performance. ROTFLMAO! Just had a website bring a shared server to its knees because of LINQ resolving to the following "optimised" SQL: (Admittedly the developer is a bit of a clown who doesn't really understand realtional databases - He took a view from an in house server that was based on 6 related tables and dumped the output of that view as a flat table - hence the SQL is drawing data from a wide table containing 4.5million records named [dbo].[vw_SearchElectorDetails] ) You will note that it actually pulls the entire table as a recordset which is then used as the source of the actual select. SELECT [Extent1].[LName] AS [LName], [Extent1].[FName] AS [FName], [Extent1].[Gender] AS [Gender], [Extent1].[Address] AS [Address], [Extent1].[DOB] AS [DOB], [Extent1].[ElectorPK] AS [ElectorPK], [Extent1].[LocationName] AS [LocationName], [Extent1].[WardName] AS [WardName], [Extent1].[LLGName] AS [LLGName], [Extent1].[DistrictName] AS [DistrictName], [Extent1].[ProvinceName] AS [ProvinceName] FROM (SELECT [vw_SearchElectorDetails].[LName] AS [LName], [vw_SearchElectorDetails].[FName] AS [FName], [vw_SearchElectorDetails].[Gender] AS [Gender], [vw_SearchElectorDetails].[Address] AS [Address], [vw_SearchElectorDetails].[DOB] AS [DOB], [vw_SearchElectorDetails].[ElectorPK] AS [ElectorPK], [vw_SearchElectorDetails].[LocationName] AS [LocationName], [vw_SearchElectorDetails].[WardName] AS [WardName], [vw_SearchElectorDetails].[LLGName] AS [LLGName], [vw_Search ElectorDetails].[DistrictName] AS [DistrictName], [vw_SearchElectorDetails].[ProvinceName] AS [ProvinceName] FROM [dbo].[vw_SearchElectorDetails] AS [vw_SearchElectorDetails]) AS [Extent1] WHERE [Extent1].[LName] = @p__linq__0 -- Stuart On 21 Oct 2016 at 15:46, Dan Waters wrote: ... > I also made the choice to use LINQ as the data layer between my > application and SQL server. And this is really the way to go. It > gives you intellisense while you're writing code for CRUD operations > and you'll get error indicators on-screen if you've done something > wrong. Also - buy a copy of LINQPad Pro - it's a great sandbox for > writing LINQ queries. LINQ resolves to optimized SQL language to give > you great performance. > From accessd at shaw.ca Sat Oct 22 04:32:55 2016 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 22 Oct 2016 03:32:55 -0600 (MDT) Subject: [AccessD] Speed Issues on network just with Access App In-Reply-To: References: Message-ID: <970489478.11655972.1477128775914.JavaMail.zimbra@shaw.ca> I'll second that. Jim ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 18, 2016 8:04:09 AM Subject: Re: [AccessD] Speed Issues on network just with Access App Lambert, I suppose that it's not immediately relevant to your situation, but you should at least consider migrating the BE to any one of SQL Express, MySQL, MariaDB or PostGreSQL, all of which are free. The data-port is easy; besides the Microsoft migration tools, there are a couple of tools available free from Bullzip that do an excellent job of porting Access data to various "real" databases. The difference in performance, as compared with the standard FE/BE in any format (MDB, ACCDB) is astounding. And it only gets better as you progressively migrate queries to Views and SPs. Using Access 2000 and beyond, a system I wrote supported upwards of 75 users at once, all hitting one single SQL Express database, and it far surpassed the MDB FE/BE system I replaced. I took it a bit at a time. Step 1 was to find all the data and row sources that began with the word "SELECT", and then change them to named Access queries. That makes them portable to Views. Step 2 was to migrate the data to one of the databases mentioned previously. Step 3 was to change one test workstation to address the new database. Step 4 was to compare the performance. Step 5 was to slap my forehead and exclaim, "Why didn't I think of this sooner?" Since then, I have never even considered an MDB BE other than for little test programs I write, and most of those don't even need a BE; they're just little one-offs to test some theory or other that I'm pondering. Other than that, I have not much use for MDBs or ACCEDBs as the back end for anything serious. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at outlook.com Sat Oct 22 09:50:22 2016 From: df.waters at outlook.com (Dan Waters) Date: Sat, 22 Oct 2016 14:50:22 +0000 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: <580B177B.27792.13347082@stuart.lexacorp.com.pg> References: , <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: If you use LINQPad to view the SQL language you'll see that it's pretty good! But then - clowns don't use LINQPad do they? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, October 22, 2016 2:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Examples In Best Coding VB.net > LINQ resolves to optimized SQL language to give you great performance. ROTFLMAO! Just had a website bring a shared server to its knees because of LINQ resolving to the following "optimised" SQL: (Admittedly the developer is a bit of a clown who doesn't really understand realtional databases - He took a view from an in house server that was based on 6 related tables and dumped the output of that view as a flat table - hence the SQL is drawing data from a wide table containing 4.5million records named [dbo].[vw_SearchElectorDetails] ) You will note that it actually pulls the entire table as a recordset which is then used as the source of the actual select. SELECT [Extent1].[LName] AS [LName], [Extent1].[FName] AS [FName], [Extent1].[Gender] AS [Gender], [Extent1].[Address] AS [Address], [Extent1].[DOB] AS [DOB], [Extent1].[ElectorPK] AS [ElectorPK], [Extent1].[LocationName] AS [LocationName], [Extent1].[WardName] AS [WardName], [Extent1].[LLGName] AS [LLGName], [Extent1].[DistrictName] AS [DistrictName], [Extent1].[ProvinceName] AS [ProvinceName] FROM (SELECT [vw_SearchElectorDetails].[LName] AS [LName], [vw_SearchElectorDetails].[FName] AS [FName], [vw_SearchElectorDetails].[Gender] AS [Gender], [vw_SearchElectorDetails].[Address] AS [Address], [vw_SearchElectorDetails].[DOB] AS [DOB], [vw_SearchElectorDetails].[ElectorPK] AS [ElectorPK], [vw_SearchElectorDetails].[LocationName] AS [LocationName], [vw_SearchElectorDetails].[WardName] AS [WardName], [vw_SearchElectorDetails].[LLGName] AS [LLGName], [vw_Search ElectorDetails].[DistrictName] AS [DistrictName], [vw_SearchElectorDetails].[ProvinceName] AS [ProvinceName] FROM [dbo].[vw_SearchElectorDetails] AS [vw_SearchElectorDetails]) AS [Extent1] WHERE [Extent1].[LName] = @p__linq__0 -- Stuart On 21 Oct 2016 at 15:46, Dan Waters wrote: ... > I also made the choice to use LINQ as the data layer between my > application and SQL server. And this is really the way to go. It > gives you intellisense while you're writing code for CRUD operations > and you'll get error indicators on-screen if you've done something > wrong. Also - buy a copy of LINQPad Pro - it's a great sandbox for > writing LINQ queries. LINQ resolves to optimized SQL language to give > you great performance. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Sun Oct 23 06:08:02 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 23 Oct 2016 07:08:02 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: I dunno, a lot of clowns have been out there scaring people lately.... surely there is a statistical chance that some of them use a given editor. On Sat, Oct 22, 2016 at 10:50 AM, Dan Waters wrote: > If you use LINQPad to view the SQL language you'll see that it's pretty > good! > > But then - clowns don't use LINQPad do they? > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Saturday, October 22, 2016 2:39 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Examples In Best Coding VB.net > > > LINQ resolves to optimized SQL language to give you great performance. > > ROTFLMAO! > > Just had a website bring a shared server to its knees because of LINQ > resolving to the following "optimised" SQL: > > (Admittedly the developer is a bit of a clown who doesn't really > understand realtional databases - He took a view from an in house server > that was based on 6 related tables and dumped the output of that view as a > flat table - hence the SQL is drawing data from a wide table containing > 4.5million records named [dbo].[vw_SearchElectorDetails] ) > > You will note that it actually pulls the entire table as a recordset which > is then used as the source of the actual select. > > > SELECT > [Extent1].[LName] AS [LName], [Extent1].[FName] AS > [FName], [Extent1].[Gender] AS [Gender], [Extent1].[Address] > AS [Address], [Extent1].[DOB] AS [DOB], [Extent1].[ElectorPK] > AS [ElectorPK], [Extent1].[LocationName] AS [LocationName], > [Extent1].[WardName] AS [WardName], [Extent1].[LLGName] AS > [LLGName], [Extent1].[DistrictName] AS [DistrictName], > [Extent1].[ProvinceName] AS [ProvinceName] > > FROM > (SELECT > [vw_SearchElectorDetails].[LName] AS [LName], > [vw_SearchElectorDetails].[FName] AS [FName], > [vw_SearchElectorDetails].[Gender] AS [Gender], > [vw_SearchElectorDetails].[Address] AS [Address], > [vw_SearchElectorDetails].[DOB] AS [DOB], > [vw_SearchElectorDetails].[ElectorPK] AS [ElectorPK], > [vw_SearchElectorDetails].[LocationName] AS [LocationName], > [vw_SearchElectorDetails].[WardName] AS [WardName], > [vw_SearchElectorDetails].[LLGName] AS [LLGName], [vw_Search > ElectorDetails].[DistrictName] AS [DistrictName], > [vw_SearchElectorDetails].[ProvinceName] AS [ProvinceName] > > FROM > [dbo].[vw_SearchElectorDetails] AS [vw_SearchElectorDetails]) > > AS [Extent1] > WHERE [Extent1].[LName] = @p__linq__0 > > -- > Stuart > > On 21 Oct 2016 at 15:46, Dan Waters wrote: > > ... > > I also made the choice to use LINQ as the data layer between my > > application and SQL server. And this is really the way to go. It > > gives you intellisense while you're writing code for CRUD operations > > and you'll get error indicators on-screen if you've done something > > wrong. Also - buy a copy of LINQPad Pro - it's a great sandbox for > > writing LINQ queries. LINQ resolves to optimized SQL language to give > > you great performance. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Oct 23 06:15:21 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 23 Oct 2016 07:15:21 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: This thread piqued my interest to again try to learn alternatives to VBA. Initially I intend to do/learn database programming more than Visual Studio Tools type things (Office automation). When I go look for SQL Server Express I get an option for LocalDB or more robust full version(s); If I am only trying to convert a few small access databases for testing with VB.NET and/or C#, would LocalDB be the way to learn most efficiently? I was a little put off by the words running only in "user mode". Advice appreciated.... btw for time sake I will pick LocalDB and "hope" it can be either removed later and the more robust version added thereafter, or upgraded in place, if someone says here I am better off with the robust versions. >> From bensonforums at gmail.com Sun Oct 23 06:28:29 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 23 Oct 2016 07:28:29 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: Looks like I cannot install SSEE in my win764 system, was informed incompatible. "You will be able to download the media but not install." When I clicked the link for more information I was taken to a page that seemed to me, I fulfill the requirements (system, OS, and memory). I have hp laptop with Intel i7 3.687U CPU 2.10 GHz running windows 7 64-bit. I went to this page and it looks like SSEE 2014 SP1 is the last version that would work with my system. http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/express/index.html On Sun, Oct 23, 2016 at 7:15 AM, Bill Benson wrote: > This thread piqued my interest to again try to learn alternatives to VBA. > Initially I intend to do/learn database programming more than Visual Studio > Tools type things (Office automation). When I go look for SQL Server > Express I get an option for LocalDB or more robust full version(s); If I am > only trying to convert a few small access databases for testing with > VB.NET and/or C#, would LocalDB be the way to learn most efficiently? I > was a little put off by the words running only in "user mode". Advice > appreciated.... btw for time sake I will pick LocalDB and "hope" it can be > either removed later and the more robust version added thereafter, or > upgraded in place, if someone says here I am better off with the robust > versions. > > >>> From df.waters at outlook.com Sun Oct 23 11:37:25 2016 From: df.waters at outlook.com (Dan Waters) Date: Sun, 23 Oct 2016 16:37:25 +0000 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: According to MS that is correct. I went to the download site for SSE 2016 and Windows 7 is NOT one of the required operating systems. For your purposes go ahead and download SSE 2014. I've been using the 2008 R2 version and have never 'missed' any features. I think that most of the advances in SS for a long time have been of interest to DBA's rather than developers. Download SSE 2014 from here: http://www.microsoft.com/en-us/download/details.aspx?id=42299. Get the version named ExpressAdv - this has everything. LocalDB is typically used by developers when they want to temporarily save data on a user's PC to improve overall performance. Learn Express first - then if you need it you can learn LocalDB which by then would be easy. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Benson Sent: Sunday, October 23, 2016 6:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Examples In Best Coding VB.net Looks like I cannot install SSEE in my win764 system, was informed incompatible. "You will be able to download the media but not install." When I clicked the link for more information I was taken to a page that seemed to me, I fulfill the requirements (system, OS, and memory). I have hp laptop with Intel i7 3.687U CPU 2.10 GHz running windows 7 64-bit. I went to this page and it looks like SSEE 2014 SP1 is the last version that would work with my system. http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/express/index.html On Sun, Oct 23, 2016 at 7:15 AM, Bill Benson wrote: > This thread piqued my interest to again try to learn alternatives to VBA. > Initially I intend to do/learn database programming more than Visual > Studio Tools type things (Office automation). When I go look for SQL > Server Express I get an option for LocalDB or more robust full > version(s); If I am only trying to convert a few small access > databases for testing with VB.NET and/or C#, would LocalDB be the way > to learn most efficiently? I was a little put off by the words running > only in "user mode". Advice appreciated.... btw for time sake I will > pick LocalDB and "hope" it can be either removed later and the more > robust version added thereafter, or upgraded in place, if someone says > here I am better off with the robust versions. > > >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bensonforums at gmail.com Sun Oct 23 11:44:50 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 23 Oct 2016 12:44:50 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: <580B177B.27792.13347082@stuart.lexacorp.com.pg> Message-ID: Thanks. I also picked up SSMS. On Sun, Oct 23, 2016 at 12:37 PM, Dan Waters wrote: > According to MS that is correct. > > I went to the download site for SSE 2016 and Windows 7 is NOT one of the > required operating systems. > > For your purposes go ahead and download SSE 2014. I've been using the > 2008 R2 version and have never 'missed' any features. I think that most of > the advances in SS for a long time have been of interest to DBA's rather > than developers. > Download SSE 2014 from here: http://www.microsoft.com/en- > us/download/details.aspx?id=42299. Get the version named ExpressAdv - > this has everything. > > LocalDB is typically used by developers when they want to temporarily save > data on a user's PC to improve overall performance. Learn Express first - > then if you need it you can learn LocalDB which by then would be easy. > > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bill Benson > Sent: Sunday, October 23, 2016 6:28 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Examples In Best Coding VB.net > > Looks like I cannot install SSEE in my win764 system, was informed > incompatible. "You will be able to download the media but not install." > When I clicked the link for more information I was taken to a page that > seemed to me, I fulfill the requirements (system, OS, and memory). I have > hp laptop with Intel i7 3.687U CPU 2.10 GHz running windows 7 64-bit. I > went to this page and it looks like SSEE 2014 SP1 is the last version that > would work with my system. > > http://www.fmsinc.com/MicrosoftAccess/SQLServerUpsizing/express/index.html > > > > On Sun, Oct 23, 2016 at 7:15 AM, Bill Benson > wrote: > > > This thread piqued my interest to again try to learn alternatives to VBA. > > Initially I intend to do/learn database programming more than Visual > > Studio Tools type things (Office automation). When I go look for SQL > > Server Express I get an option for LocalDB or more robust full > > version(s); If I am only trying to convert a few small access > > databases for testing with VB.NET and/or C#, would LocalDB be the way > > to learn most efficiently? I was a little put off by the words running > > only in "user mode". Advice appreciated.... btw for time sake I will > > pick LocalDB and "hope" it can be either removed later and the more > > robust version added thereafter, or upgraded in place, if someone says > > here I am better off with the robust versions. > > > > > >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Oct 23 16:27:05 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 24 Oct 2016 07:27:05 +1000 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: References: , , Message-ID: <580D2B29.24655.1B514CC7@stuart.lexacorp.com.pg> Don't get Express is you want to learn tuse SQL Server properly. Get the Developer Edition. It's also free and comes with everything you need. On 23 Oct 2016 at 7:15, Bill Benson wrote: > This thread piqued my interest to again try to learn alternatives to > VBA. Initially I intend to do/learn database programming more than > Visual Studio Tools type things (Office automation). When I go look > for SQL Server Express I get an option for LocalDB or more robust full > version(s); If I am only trying to convert a few small access > databases for testing with VB.NET and/or C#, would LocalDB be the way > to learn most efficiently? I was a little put off by the words running > only in "user mode". Advice appreciated.... btw for time sake I will > pick LocalDB and "hope" it can be either removed later and the more > robust version added thereafter, or upgraded in place, if someone says > here I am better off with the robust versions. > > > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Sun Oct 23 18:55:04 2016 From: bensonforums at gmail.com (Bill Benson) Date: Sun, 23 Oct 2016 19:55:04 -0400 Subject: [AccessD] Examples In Best Coding VB.net In-Reply-To: <580D2B29.24655.1B514CC7@stuart.lexacorp.com.pg> References: <580D2B29.24655.1B514CC7@stuart.lexacorp.com.pg> Message-ID: Fine, but I don't... I want to learn VB of some variety other than VBA, and need a database to do it with. I could probably just use MS Access but figured I would put something of a server variety on there. I have heard Darryl rave about SQL Server Express so I opted for that. I'll probably never get around to doing much with either, it was kind of a whim - and now I feel I have hijacked Paul's thread long enough. On Sun, Oct 23, 2016 at 5:27 PM, Stuart McLachlan wrote: > Don't get Express is you want to learn tuse SQL Server properly. > > Get the Developer Edition. It's also free and comes with everything you > need. > > > > On 23 Oct 2016 at 7:15, Bill Benson wrote: > > > This thread piqued my interest to again try to learn alternatives to > > VBA. Initially I intend to do/learn database programming more than > > Visual Studio Tools type things (Office automation). When I go look > > for SQL Server Express I get an option for LocalDB or more robust full > > version(s); If I am only trying to convert a few small access > > databases for testing with VB.NET and/or C#, would LocalDB be the way > > to learn most efficiently? I was a little put off by the words running > > only in "user mode". Advice appreciated.... btw for time sake I will > > pick LocalDB and "hope" it can be either removed later and the more > > robust version added thereafter, or upgraded in place, if someone says > > here I am better off with the robust versions. > > > > > > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bradm at blackforestltd.com Fri Oct 28 11:27:38 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 28 Oct 2016 16:27:38 +0000 Subject: [AccessD] Exporting from an Access Report to Excel Message-ID: All, I know that it is best to export from an Access *query* to Excel. However, I have a couple Access *reports* that a user would like in Excel. One report exports to Excel very nicely. The second report will export to Excel, but the data in one of the columns is missing. I am curious as to why this happens. Are there any guidelines on exporting Access reports to Excel? I cannot understand why most columns export nicely, but one column does not. Thanks, Brad From rockysmolin at bchacc.com Fri Oct 28 11:55:51 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 28 Oct 2016 09:55:51 -0700 Subject: [AccessD] Exporting from an Access Report to Excel In-Reply-To: References: Message-ID: <027701d2313c$24250390$6c6f0ab0$@bchacc.com> I assume when you run the query a la carte you see the data in the mission column? And you're using TransferDatabase? I'd try deleting all of the fields from the query except the missing field and see if that field then exports. If so, then something about the deleted fields may be hosing the export. If not then...we'll think of something else. :) Rocky -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Friday, October 28, 2016 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Exporting from an Access Report to Excel All, I know that it is best to export from an Access *query* to Excel. However, I have a couple Access *reports* that a user would like in Excel. One report exports to Excel very nicely. The second report will export to Excel, but the data in one of the columns is missing. I am curious as to why this happens. Are there any guidelines on exporting Access reports to Excel? I cannot understand why most columns export nicely, but one column does not. Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Fri Oct 28 12:07:25 2016 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 28 Oct 2016 10:07:25 -0700 Subject: [AccessD] Exporting from an Access Report to Excel In-Reply-To: <027701d2313c$24250390$6c6f0ab0$@bchacc.com> References: <027701d2313c$24250390$6c6f0ab0$@bchacc.com> Message-ID: Are your users just doing a print preview then Export to Excel? If so, is the missing column generated by some kind of summary or calculation? I've had problems in the past with this. I freaked out the first time one of my users presented me with an Excel spreadsheet that had 'missing data'. I couldn't figure out where the spreadsheet had come from in my database until the user pointed out the Export to Excel option. I didn't even know it existed! When this happens, I try to get the users to let me build a query which generates the correct data and give them a button which exports it properly. Doug On Fri, Oct 28, 2016 at 9:55 AM, Rocky Smolin wrote: > I assume when you run the query a la carte you see the data in the mission > column? And you're using TransferDatabase? > > I'd try deleting all of the fields from the query except the missing field > and see if that field then exports. If so, then something about the deleted > fields may be hosing the export. If not then...we'll think of something > else. :) > > Rocky > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Brad Marks > Sent: Friday, October 28, 2016 9:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Exporting from an Access Report to Excel > > All, > > I know that it is best to export from an Access *query* to Excel. > > However, I have a couple Access *reports* that a user would like in > Excel. > > One report exports to Excel very nicely. > > The second report will export to Excel, but the data in one of the columns > is missing. > > I am curious as to why this happens. Are there any guidelines on exporting > Access reports to Excel? > > I cannot understand why most columns export nicely, but one column does > not. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bensonforums at gmail.com Fri Oct 28 15:14:16 2016 From: bensonforums at gmail.com (Bill Benson) Date: Fri, 28 Oct 2016 16:14:16 -0400 Subject: [AccessD] Exporting from an Access Report to Excel In-Reply-To: References: Message-ID: "Best?" says who? I happen to think what is "best" is assigning a query to a recordset, and automating Excel direct from Access and using the CopyFromRecordset property of the Range object to populate a designated range. Best is in the experience of the developer and the reliability as perceived by both that person and the user. On Fri, Oct 28, 2016 at 12:27 PM, Brad Marks wrote: > All, > > I know that it is best to export from an Access *query* to Excel. > > However, I have a couple Access *reports* that a user would like in > Excel. > > One report exports to Excel very nicely. > > The second report will export to Excel, but the data in one of the columns > is missing. > > I am curious as to why this happens. Are there any guidelines on > exporting Access reports to Excel? > > I cannot understand why most columns export nicely, but one column does > not. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bradm at blackforestltd.com Fri Oct 28 16:06:13 2016 From: bradm at blackforestltd.com (Brad Marks) Date: Fri, 28 Oct 2016 21:06:13 +0000 Subject: [AccessD] Exporting from an Access Report to Excel In-Reply-To: References: <027701d2313c$24250390$6c6f0ab0$@bchacc.com> Message-ID: All, I resorted to creating a new Query with Group-By on several fields. This worked nicely as expected. I was just curious why sometimes exporting from an Access report works correctly and sometimes it does not. The fact that Microsoft has provided an easy way to export from an Access report to Excel lead me to think that this would result in consistent results... silly me :-) Brad -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, October 28, 2016 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Exporting from an Access Report to Excel Are your users just doing a print preview then Export to Excel? If so, is the missing column generated by some kind of summary or calculation? I've had problems in the past with this. I freaked out the first time one of my users presented me with an Excel spreadsheet that had 'missing data'. I couldn't figure out where the spreadsheet had come from in my database until the user pointed out the Export to Excel option. I didn't even know it existed! When this happens, I try to get the users to let me build a query which generates the correct data and give them a button which exports it properly. Doug On Fri, Oct 28, 2016 at 9:55 AM, Rocky Smolin wrote: > I assume when you run the query a la carte you see the data in the > mission column? And you're using TransferDatabase? > > I'd try deleting all of the fields from the query except the missing > field and see if that field then exports. If so, then something about > the deleted fields may be hosing the export. If not then...we'll think > of something else. :) > > Rocky > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf > Of Brad Marks > Sent: Friday, October 28, 2016 9:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Exporting from an Access Report to Excel > > All, > > I know that it is best to export from an Access *query* to Excel. > > However, I have a couple Access *reports* that a user would like in > Excel. > > One report exports to Excel very nicely. > > The second report will export to Excel, but the data in one of the > columns is missing. > > I am curious as to why this happens. Are there any guidelines on > exporting Access reports to Excel? > > I cannot understand why most columns export nicely, but one column > does not. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at googlemail.com Sun Oct 30 10:40:42 2016 From: paul.hartland at googlemail.com (Paul Hartland) Date: Sun, 30 Oct 2016 15:40:42 +0000 Subject: [AccessD] Cross Posted - What to use to create a virtual machine with linux Message-ID: To all, I have always been a windows user, only ever dabbling with unix/linux for a short while years back when on a C programming course. However I hear more and more about linux and would like to have a look especially as I am thinking of starting my own business next year when I get some inheritence come through, so would like to get used to both systems etc, I am also currently teaching myself other languages such as C#, HTML/HTML5/CSS, ASP.net and also topping up my VB.net knowledge....Then I plan on learning PHP, Python, Ruby and R but anyway I am drifting off topic in my dreamworld..... So basically could anyone tell me the best way to create a virtual machine (so many options on the web) and what version of linux is the best to work with. Many many thanks in advance for any help on this. -- Paul Hartland paul.hartland at googlemail.com From marksimms at verizon.net Sun Oct 30 19:54:25 2016 From: marksimms at verizon.net (Mark Simms) Date: Sun, 30 Oct 2016 20:54:25 -0400 Subject: [AccessD] Exporting from an Access Report to Excel In-Reply-To: References: <027701d2313c$24250390$6c6f0ab0$@bchacc.com> Message-ID: <01b701d23311$53fc4cf0$fbf4e6d0$@net> Re: "The fact that Microsoft has provided an easy way to export from an > Access report to Excel lead me to think that this would result in > consistent results... silly me :-) >" Never forget that with MSFT's philosophy as espoused by their ever-so-rich CEO, Bill Gates: We don't strive for perfection...that's too costly. We strive for "good enough". If that means it doesn't work according to YOUR specifications, then "TOUGH OATS"....an old jewish saying. From lmrazek at lcm-res.com Sun Oct 30 20:03:39 2016 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Sun, 30 Oct 2016 20:03:39 -0500 Subject: [AccessD] Cross Posted - What to use to create a virtual machine with linux In-Reply-To: References: Message-ID: Hi Paul: You might want to check out Amazon's free tier (https://aws.amazon.com/free/) of services (you can provision a low-end linux or windows machine on this) as well as Azure (may be able to get a free trial). I've found both services helpful and they make it easy to dive into a new server. Hope this helps. Larry On Sun, Oct 30, 2016 at 10:40 AM, Paul Hartland via AccessD < accessd at databaseadvisors.com> wrote: > To all, > > I have always been a windows user, only ever dabbling with unix/linux for a > short while years back when on a C programming course. However I hear more > and more about linux and would like to have a look especially as I am > thinking of starting my own business next year when I get some inheritence > come through, so would like to get used to both systems etc, I am also > currently teaching myself other languages such as C#, HTML/HTML5/CSS, > ASP.net and also topping up my VB.net knowledge....Then I plan on learning > PHP, Python, Ruby and R but anyway I am drifting off topic in my > dreamworld..... > > So basically could anyone tell me the best way to create a virtual machine > (so many options on the web) and what version of linux is the best to work > with. > > Many many thanks in advance for any help on this. > > -- > Paul Hartland > paul.hartland at googlemail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Larry Mrazek lmrazek at lcm-res.com From rockysmolin at bchacc.com Mon Oct 31 09:26:32 2016 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 31 Oct 2016 07:26:32 -0700 Subject: [AccessD] The Story Behind Hacking the Jeep Message-ID: <008001d23382$c777fbe0$5667f3a0$@bchacc.com> http://www.designnews.com/author.asp?section_id=1386 &doc_id=281960&cid=nl.x.dn14.edt.aud.dn.20161031.tst004t http://tinyurl.com/hrc4gtz r