From darryl at whittleconsulting.com.au Sun Sep 2 21:38:18 2018 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 3 Sep 2018 02:38:18 +0000 Subject: [AccessD] Registry tweaks In-Reply-To: <5B889173.31361.395CD95B@stuart.lexacorp.com.pg> References: <448f922a-4361-7bb2-1c6c-0bce03f5f723@Gmail.com>, <5B889173.31361.395CD95B@stuart.lexacorp.com.pg> Message-ID: We have a reg hack that prevents windows from downloading updates automatically. It just parks them until we agree to download them. Very useful. Another handy thing is to goto into the updates advanced settings and tweak the delivery optimisation options. We only allow our units to send and receive updates from MS directly and/or our local network - not the entire internet. This stops your PC from being a proxy torrent for updates to other pc's online. We also limit the available bandwidth for updates to about 15% of total available. This helps prevent updates from throttling the internet to the point of unusable (which used to happen a lot before you could apply these limits). Cheers Darryl. -----Original Message----- From: AccessD On Behalf Of Stuart McLachlan Sent: Friday, 31 August 2018 10:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Registry tweaks Yep, especially the disabling of Wn 10 "phone home" and automatic updates which are a major probem for some of my clients here who have seen a huge increase in their expensive internet usage as they put more Win 10 worktations in! On 30 Aug 2018 at 23:13, Bill Patten wrote: > Thanks John, > > There is some great stuff in there. > > Bill > > -----Original Message----- > From: John Colby > Sent: Thursday, August 30, 2018 9:07 AM > To: Access Developers discussion and problem solving ; > jwcolby at gmail.com Subject: [AccessD] Registry tweaks > > I ran across this "optimize windows for mining" article. Not > interested in mining per se however of interest to me was a batch file > download down at the bottom for automating registry hacks for turning > off various things. Of interest to me was what was being disabled as > well as how to perform the adds and deletes. Pretty cool stuff. The > guy turned the bat into a txt file which chrome just opened and > displayed. You could turn it back into a bat file for execution, > commenting out things you don't want done, or for that matter adding > other things that you like done. > > https://mine2themax.com/optimize-windows10-mining/#tab-con-2 > > -- > John W. Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at gmail.com Tue Sep 4 07:22:47 2018 From: jwcolby at gmail.com (John Colby) Date: Tue, 4 Sep 2018 08:22:47 -0400 Subject: [AccessD] Registry tweaks In-Reply-To: References: Message-ID: <6cba5a15-5aa6-ce3f-e234-5389bf677528@Gmail.com> Gustav, As I mentioned in my email, I was not commenting one way or the other on what specifically was being enabled or disabled.? I just found the "Accumulate registry tweaks in a batch file" concept to be useful, as well as the clear demonstration of precisely how to do that.? Having that info in hand, as one accumulates tweaks relevant to that person, this is a place to go to put those tweaks.? Over the years I have found many registry tweaks that I have no clue today what they were nor where to find them. I have to say that I didn't even look at, nor having looked at even understand, each of the tweaks in there.? Those you mention are a good example of "WTF" kind of stuff.? But it seems to be important to the person writing the article so good for him I guess. jwc On 8/31/2018 1:57 AM, Gustav Brock wrote: > Hmm, many of these do nothing for processing speed, like: > > Replace Utilman with CMD > Disable Windows Search > show computer shortcut on the desktop > Show file extensions > Disable lock screen > Enable classic control panel view > Hide indication for compressed NTFS files > Remove Pin to start > Classic vertical icon spacing > Remove versioning tab from properties > Disable jump lists > Change Logon screen background with accent color > Removing Windows default apps > > And others would seriously degrade usefulness for a normal workstation: > > Disable Windows Search > Disable Windows Defender > Disable OneDrive > > So: "I've saved the best for last." should read: "How to disable your workstation". > > If you want a really fast machine for a special task like mining, run Windows Server in Console mode. Or Linux. > > /gustav > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af John Colby > Sendt: 30. august 2018 18:08 > Til: Access Developers discussion and problem solving ; jwcolby at gmail.com > Emne: [AccessD] Registry tweaks > > I ran across this "optimize windows for mining" article.? Not interested in mining per se however of interest to me was a batch file download down at the bottom for automating registry hacks for turning off various things.? Of interest to me was what was being disabled as well as how to perform the adds and deletes.? Pretty cool stuff.? The guy turned the bat into a txt file which chrome just opened and displayed.? You could turn it back into a bat file for execution, commenting out things you don't want done, or for that matter adding other things that you like done. > > https://mine2themax.com/optimize-windows10-mining/#tab-con-2 > > -- > John W. Colby > > -- John W. Colby From gustav at cactus.dk Wed Sep 5 08:00:51 2018 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 5 Sep 2018 13:00:51 +0000 Subject: [AccessD] Rnd as Double (was: Create a random date/time) Message-ID: Hi all I wondered how to generate a pseudo random value as a double - like Rnd does for a single. This, I believe, can be done by calling Rnd twice, shifting one of the values "below the range of a single", and add the two values, thus obtaining more significant digits. It is simpler than it may sound: Public Function RndDbl(Optional ByRef Number As Single) As Double ' Exponent to shift the significant digits of a single to ' the least significant digits of a double. Const Exponent As Long = 7 Dim Value As Double ' Generate two values like: ' 0.1851513 ' 0.000000072890967130661 ' and add these. Value = CDbl(Rnd(Number)) + CDbl(Rnd(Number) * 10 ^ -Exponent) ' Return value like: ' 0.185151372890967 RndDbl = Value End Function Then call it with a dynamic seed using Timer: PseudoRandomDouble = RndDbl(-Timer) What do you think? /gustav PS: I posted here on 2015-08-31 a replacement for the date function below. -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Stuart McLachlan Sendt: 29. august 2015 03:22 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Create a random date/time Rnd * Rnd is NOT a "trick to create a random date/time". It is a trick to create "more significant digits" than the Single returned by a Rnd. Unfortunately it has a VERY bad side effect. Multiplying random numbers together alters the probablility distribution. http://mathworld.wolfram.com/UniformProductDistribution.html A better way would be to use Rnd twice in a different way. First to generate the Date part and a second time to generate the time part, then add then together. -- Stuart On 28 Aug 2015 at 15:29, Gustav Brock wrote: > Hi all > > Have you ever wondered how to create a random date/time? > > Well I hadn't, but it is not that difficult. The trick is using Rnd > twice: > > RandomDate = CDate((CLng(#12/31/9999#) - CLng(#1/1/100#)) * Rnd * > Rnd + CLng(#1/1/100#)) > > The full story is here: > > http://stackoverflow.com/a/32265346/3527297 > > If you want a value within a given range, you can use this simple > function: > > > Public Function DateRandom( _ > Optional ByVal UpperDate As Date = #12/31/9999#, _ > Optional ByVal LowerDate As Date = #1/1/100#) _ > As Date > > ' Generates a random date/time - optionally within the range of > LowerDate and/or UpperDate. ' ' 2015-08-28. Gustav Brock, Cactus > Data ApS, CPH. > > Dim RandomDate As Date > > RandomDate = CDate((CLng(UpperDate) - CLng(LowerDate)) * Rnd * Rnd > + CLng(LowerDate)) > > DateRandom = RandomDate > > End Function > > > /gustav From stuart at lexacorp.com.pg Wed Sep 5 08:51:19 2018 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 05 Sep 2018 23:51:19 +1000 Subject: [AccessD] Rnd as Double (was: Create a random date/time) In-Reply-To: References: Message-ID: <5B8FDF57.5152.111DB0F0@stuart.lexacorp.com.pg> Can be simplified to just: Randomize Number RndDbl = Rnd() / 10000000 + Rnd() On 5 Sep 2018 at 13:00, Gustav Brock wrote: > Hi all > > I wondered how to generate a pseudo random value as a double - like > Rnd does for a single. > > This, I believe, can be done by calling Rnd twice, shifting one of the > values "below the range of a single", and add the two values, thus > obtaining more significant digits. > > It is simpler than it may sound: > > > Public Function RndDbl(Optional ByRef Number As Single) As Double > > ' Exponent to shift the significant digits of a single to > ' the least significant digits of a double. > Const Exponent As Long = 7 > > Dim Value As Double > > ' Generate two values like: > ' 0.1851513 > ' 0.000000072890967130661 > ' and add these. > Value = CDbl(Rnd(Number)) + CDbl(Rnd(Number) * 10 ^ -Exponent) > > ' Return value like: > ' 0.185151372890967 > RndDbl = Value > > End Function > > > Then call it with a dynamic seed using Timer: > > PseudoRandomDouble = RndDbl(-Timer) > > What do you think? > > /gustav > > PS: I posted here on 2015-08-31 a replacement for the date function > below. > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Stuart > McLachlan Sendt: 29. august 2015 03:22 Til: Access Developers > discussion and problem solving Emne: > Re: [AccessD] Create a random date/time > > Rnd * Rnd is NOT a "trick to create a random date/time". > > It is a trick to create "more significant digits" than the Single > returned by a Rnd. > > Unfortunately it has a VERY bad side effect. Multiplying random > numbers together alters the probablility distribution. > http://mathworld.wolfram.com/UniformProductDistribution.html > > A better way would be to use Rnd twice in a different way. First to > generate the Date part and a second time to generate the time part, > then add then together. > > -- > Stuart > > On 28 Aug 2015 at 15:29, Gustav Brock wrote: > > > Hi all > > > > Have you ever wondered how to create a random date/time? > > > > Well I hadn't, but it is not that difficult. The trick is using Rnd > > twice: > > > > RandomDate = CDate((CLng(#12/31/9999#) - CLng(#1/1/100#)) * Rnd > > * Rnd + CLng(#1/1/100#)) > > > > The full story is here: > > > > http://stackoverflow.com/a/32265346/3527297 > > > > If you want a value within a given range, you can use this simple > > function: > > > > > > Public Function DateRandom( _ > > Optional ByVal UpperDate As Date = #12/31/9999#, _ > > Optional ByVal LowerDate As Date = #1/1/100#) _ > > As Date > > > > ' Generates a random date/time - optionally within the range of > > LowerDate and/or UpperDate. ' ' 2015-08-28. Gustav Brock, Cactus > > Data ApS, CPH. > > > > Dim RandomDate As Date > > > > RandomDate = CDate((CLng(UpperDate) - CLng(LowerDate)) * Rnd * > > Rnd > > + CLng(LowerDate)) > > > > DateRandom = RandomDate > > > > End Function > > > > > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Wed Sep 5 09:01:34 2018 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 5 Sep 2018 14:01:34 +0000 Subject: [AccessD] Rnd as Double (was: Create a random date/time) Message-ID: Hi Stuart Yes. Sort of. Without the parameter, it wouldn't work as a direct replacement for Rnd. But it was rather if anyone could find a trap in this simple method? /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Stuart McLachlan Sendt: 5. september 2018 15:51 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Rnd as Double (was: Create a random date/time) Can be simplified to just: Randomize Number RndDbl = Rnd() / 10000000 + Rnd() On 5 Sep 2018 at 13:00, Gustav Brock wrote: > Hi all > > I wondered how to generate a pseudo random value as a double - like > Rnd does for a single. > > This, I believe, can be done by calling Rnd twice, shifting one of the > values "below the range of a single", and add the two values, thus > obtaining more significant digits. > > It is simpler than it may sound: > > > Public Function RndDbl(Optional ByRef Number As Single) As Double > > ' Exponent to shift the significant digits of a single to > ' the least significant digits of a double. > Const Exponent As Long = 7 > > Dim Value As Double > > ' Generate two values like: > ' 0.1851513 > ' 0.000000072890967130661 > ' and add these. > Value = CDbl(Rnd(Number)) + CDbl(Rnd(Number) * 10 ^ -Exponent) > > ' Return value like: > ' 0.185151372890967 > RndDbl = Value > > End Function > > > Then call it with a dynamic seed using Timer: > > PseudoRandomDouble = RndDbl(-Timer) > > What do you think? > > /gustav > > PS: I posted here on 2015-08-31 a replacement for the date function > below. > > -----Oprindelig meddelelse----- > Fra: AccessD P? vegne af Stuart > McLachlan Sendt: 29. august 2015 03:22 Til: Access Developers > discussion and problem solving Emne: > Re: [AccessD] Create a random date/time > > Rnd * Rnd is NOT a "trick to create a random date/time". > > It is a trick to create "more significant digits" than the Single > returned by a Rnd. > > Unfortunately it has a VERY bad side effect. Multiplying random > numbers together alters the probablility distribution. > http://mathworld.wolfram.com/UniformProductDistribution.html > > A better way would be to use Rnd twice in a different way. First to > generate the Date part and a second time to generate the time part, > then add then together. > > -- > Stuart > > On 28 Aug 2015 at 15:29, Gustav Brock wrote: > > > Hi all > > > > Have you ever wondered how to create a random date/time? > > > > Well I hadn't, but it is not that difficult. The trick is using Rnd > > twice: > > > > RandomDate = CDate((CLng(#12/31/9999#) - CLng(#1/1/100#)) * Rnd > > * Rnd + CLng(#1/1/100#)) > > > > The full story is here: > > > > http://stackoverflow.com/a/32265346/3527297 > > > > If you want a value within a given range, you can use this simple > > function: > > > > > > Public Function DateRandom( _ > > Optional ByVal UpperDate As Date = #12/31/9999#, _ > > Optional ByVal LowerDate As Date = #1/1/100#) _ > > As Date > > > > ' Generates a random date/time - optionally within the range of > > LowerDate and/or UpperDate. ' ' 2015-08-28. Gustav Brock, Cactus > > Data ApS, CPH. > > > > Dim RandomDate As Date > > > > RandomDate = CDate((CLng(UpperDate) - CLng(LowerDate)) * Rnd * > > Rnd > > + CLng(LowerDate)) > > > > DateRandom = RandomDate > > > > End Function > > > > > > /gustav From fahooper at gmail.com Tue Sep 11 14:55:08 2018 From: fahooper at gmail.com (Fred Hooper) Date: Tue, 11 Sep 2018 15:55:08 -0400 Subject: [AccessD] Access crashes when assigning empty recordset Message-ID: <3d666bcd-f5ca-f61c-67c8-c76133da9774@gmail.com> I'm debugging an A2003 front end to a SQL Server 2017 back end. All data sourcing is though stored procedures, using ADO; all associated code is centralized. I'm filling a subform; which of two subforms is filled depends on a value in the parent form. The unused subform is disabled and hidden. * As I move through the records of the parent form the subforms fill correctly. * When I add a new record of each type, both work correctly. * When I attempt to change the type for a record the crash occurs. o The code to do so is the same code as the first two items above o Here are the steps: + Create the recordset -- works properly + Code that assigns the recordset: frm.RecordSource = "" Set frm.Recordset = Nothing If rst.State = adStateOpen Then Set frm.Recordset = rst -- it crashes here! rst.CLOSE End If Set rst = Nothing + These disconnected recordsets work perfectly everywhere (so far) except for this; if they are created with optimistic locking they are editable and can be appended to, if read only they are that. All use a client side cursor and are loaded forward only -- but navigable in the forms. + It is crashing only on loading an empty recordset, but with anything except switching the value in the parent form empty recordsets load without issue. The changing value in the parent form isn't referenced anywhere in the loading code; it just affects which code is executed. + In looking at the recordset at the crash point it has (1) zero records; (2) EOF = True; and, (3) BOF = True -- all the expected values. + An identical empty recordset in the master record created with the value I'm changing to has records added without any problems. * In writing this I realized that I can write a stored procedure to make the change in the database and reload the form. I'm confident that will work, but it seems kludgy. Any ideas? TIA, Fred From charlotte.foust at gmail.com Tue Sep 11 20:13:57 2018 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 11 Sep 2018 18:13:57 -0700 Subject: [AccessD] Access crashes when assigning empty recordset In-Reply-To: <3d666bcd-f5ca-f61c-67c8-c76133da9774@gmail.com> References: <3d666bcd-f5ca-f61c-67c8-c76133da9774@gmail.com> Message-ID: I suppose it might be possible that setting the frm.recordset to nothing leaves you in a state where you cannot assign a recordset to it. What happens if you comment out that line? Does it give you the same error or a different one? And what is the error? Honestly, I can't recall every trying to set a subform's recordset. Charlotte Foust (916) 206-4336 On Tue, Sep 11, 2018 at 12:56 PM Fred Hooper wrote: > I'm debugging an A2003 front end to a SQL Server 2017 back end. All data > sourcing is though stored procedures, using ADO; all associated code is > centralized. I'm filling a subform; which of two subforms is filled > depends on a value in the parent form. The unused subform is disabled > and hidden. > > * As I move through the records of the parent form the subforms fill > correctly. > * When I add a new record of each type, both work correctly. > * When I attempt to change the type for a record the crash occurs. > o The code to do so is the same code as the first two items above > o Here are the steps: > + Create the recordset -- works properly > + Code that assigns the recordset: > > frm.RecordSource = "" > Set frm.Recordset = Nothing > If rst.State = adStateOpen Then > Set frm.Recordset = rst -- it crashes here! > rst.CLOSE > End If > Set rst = Nothing > > + These disconnected recordsets work perfectly everywhere (so > far) except for this; if they are created with optimistic > locking they are editable and can be appended to, if read > only they are that. All use a client side cursor and are > loaded forward only -- but navigable in the forms. > + It is crashing only on loading an empty recordset, but with > anything except switching the value in the parent form empty > recordsets load without issue. The changing value in the > parent form isn't referenced anywhere in the loading code; > it just affects which code is executed. > + In looking at the recordset at the crash point it has (1) > zero records; (2) EOF = True; and, (3) BOF = True -- all the > expected values. > + An identical empty recordset in the master record created > with the value I'm changing to has records added without any > problems. > * In writing this I realized that I can write a stored procedure to > make the change in the database and reload the form. I'm confident > that will work, but it seems kludgy. > > Any ideas? > > TIA, > Fred > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Sep 11 20:35:14 2018 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Wed, 12 Sep 2018 01:35:14 +0000 Subject: [AccessD] Access crashes when assigning empty recordset In-Reply-To: References: <3d666bcd-f5ca-f61c-67c8-c76133da9774@gmail.com> Message-ID: Yes, That would be where I would start too given it seems to be the cause of your issue. -----Original Message----- From: AccessD On Behalf Of Charlotte Foust Sent: Wednesday, 12 September 2018 11:14 AM To: Access Developers discussion and problem Subject: Re: [AccessD] Access crashes when assigning empty recordset I suppose it might be possible that setting the frm.recordset to nothing leaves you in a state where you cannot assign a recordset to it. What happens if you comment out that line? Does it give you the same error or a different one? And what is the error? Honestly, I can't recall every trying to set a subform's recordset. Charlotte Foust (916) 206-4336 On Tue, Sep 11, 2018 at 12:56 PM Fred Hooper wrote: > I'm debugging an A2003 front end to a SQL Server 2017 back end. All > data sourcing is though stored procedures, using ADO; all associated > code is centralized. I'm filling a subform; which of two subforms is > filled depends on a value in the parent form. The unused subform is > disabled and hidden. > > * As I move through the records of the parent form the subforms fill > correctly. > * When I add a new record of each type, both work correctly. > * When I attempt to change the type for a record the crash occurs. > o The code to do so is the same code as the first two items above > o Here are the steps: > + Create the recordset -- works properly > + Code that assigns the recordset: > > frm.RecordSource = "" > Set frm.Recordset = Nothing > If rst.State = adStateOpen Then > Set frm.Recordset = rst -- it crashes here! > rst.CLOSE > End If > Set rst = Nothing > > + These disconnected recordsets work perfectly everywhere (so > far) except for this; if they are created with optimistic > locking they are editable and can be appended to, if read > only they are that. All use a client side cursor and are > loaded forward only -- but navigable in the forms. > + It is crashing only on loading an empty recordset, but with > anything except switching the value in the parent form empty > recordsets load without issue. The changing value in the > parent form isn't referenced anywhere in the loading code; > it just affects which code is executed. > + In looking at the recordset at the crash point it has (1) > zero records; (2) EOF = True; and, (3) BOF = True -- all the > expected values. > + An identical empty recordset in the master record created > with the value I'm changing to has records added without any > problems. > * In writing this I realized that I can write a stored procedure to > make the change in the database and reload the form. I'm confident > that will work, but it seems kludgy. > > Any ideas? > > TIA, > Fred > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at gmail.com Tue Sep 11 21:19:48 2018 From: fahooper at gmail.com (Fred Hooper) Date: Tue, 11 Sep 2018 22:19:48 -0400 Subject: [AccessD] Access crashes when assigning empty recordset In-Reply-To: References: <3d666bcd-f5ca-f61c-67c8-c76133da9774@gmail.com> Message-ID: Thanks for the suggestion. Unfortunately if I comment out the line that sets the recordset to nothing it still crashes. So I tried changing the value on the server with a stored procedure and used well-tested ?refresh? code (it has to be refreshed by executing a SP; Access can?t Refresh an ADO recordset). That failed too. Finally I changed the value, closed and reopened the form ? which worked. I guess I?m in some form of never never land. But it?s so fast; I?m getting 5 ms form fill and refresh times. The refresh approach (and code) that failed works perfectly for subforms; this was my first use of it for a main form. Happily, there isn?t another form like this one, so I?ll probably keep the close/open kludge. My memory is that you wrote something about disconnected recordsets, it was part of getting me started on this approach ? for which I also thank you. On Tue, Sep 11, 2018 at 9:15 PM Charlotte Foust wrote: > I suppose it might be possible that setting the frm.recordset to nothing > leaves you in a state where you cannot assign a recordset to it. What > happens if you comment out that line? Does it give you the same error or a > different one? And what is the error? Honestly, I can't recall every > trying to set a subform's recordset. > > > Charlotte Foust > (916) 206-4336 > > From gustav at cactus.dk Sat Sep 15 04:22:44 2018 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Sep 2018 09:22:44 +0000 Subject: [AccessD] Row numbering in Access Message-ID: Hi all Finally, I have found the time to collect and polish my functions for sequential or random numbering of rows and records in Access: https://github.com/GustavBrock/VBA.RowNumbers A demo is located in the folder demos. Links to the two articles on the subject can be found at the bottom of the readme. /gustav From gustav at cactus.dk Sat Sep 15 06:13:40 2018 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Sep 2018 11:13:40 +0000 Subject: [AccessD] Row numbering in Access In-Reply-To: References: Message-ID: Hi all Finally, I have found the time to collect and polish my functions for sequential or random numbering of rows and records in Access: https://github.com/GustavBrock/VBA.RowNumbers A demo is located in the folder demos. Links to the two articles on the subject can be found at the bottom of the readme. /gustav From accessd at shaw.ca Tue Sep 18 02:35:07 2018 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 18 Sep 2018 01:35:07 -0600 (MDT) Subject: [AccessD] Row numbering in Access In-Reply-To: References: Message-ID: <1134381949.487976239.1537256107433.JavaMail.zimbra@shaw.ca> Hi Gustav: Impressive work. You must have spent a good deal of time getting it all just right. :-) Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, September 15, 2018 4:13:40 AM Subject: [AccessD] Row numbering in Access Hi all Finally, I have found the time to collect and polish my functions for sequential or random numbering of rows and records in Access: https://github.com/GustavBrock/VBA.RowNumbers A demo is located in the folder demos. Links to the two articles on the subject can be found at the bottom of the readme. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 18 02:43:39 2018 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Sep 2018 07:43:39 +0000 Subject: [AccessD] Row numbering in Access Message-ID: Hi Jim Thanks. I did have most of the bits and pieces - from years ago - but when you look at with fresh eyes, you start tweaking. What takes the most time, is creating the examples and to prepare for screenshots and, of course, the writing. As with programming, it always takes twice the time you initially expect. /gustav -----Oprindelig meddelelse----- Fra: AccessD P? vegne af Jim Lawrence Sendt: 18. september 2018 09:35 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] Row numbering in Access Hi Gustav: Impressive work. You must have spent a good deal of time getting it all just right. :-) Jim ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, September 15, 2018 4:13:40 AM Subject: [AccessD] Row numbering in Access Hi all Finally, I have found the time to collect and polish my functions for sequential or random numbering of rows and records in Access: https://github.com/GustavBrock/VBA.RowNumbers A demo is located in the folder demos. Links to the two articles on the subject can be found at the bottom of the readme. /gustav From jbodin at sbor.com Tue Sep 18 20:54:18 2018 From: jbodin at sbor.com (John Bodin) Date: Wed, 19 Sep 2018 01:54:18 +0000 Subject: [AccessD] Starting Access from a command prompt Message-ID: Having a brain cramp. I have an access FE/BE app that people run using the full version of Access 2003. Periodically, the FE app decompiles on a user and causes slowdowns and issues, so I have a little batch file that they can run to copy a cleaned Compiled version to their local C drive, overwriting the fault FE file. Then they click on their normal icon that starts the Access FE from the C drive and away they go. I am trying to make these two icons/processes into one icon. So process would be: Copy S:\MyApp\Compiled.mdb C:\MyApp\MyProg.mdb C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb I put both of those lines in a BAT file and they both execute just fine, however a Command prompt stays open showing "1 files copied" which I know is from the first line of the bat file. Access then opens and person can work, but the command prompt window is still open. Once person quits out of Access, command prompt closes, which I know is because there are lines left to run in the bat file. The above all makes sense, but I can't remember how to use either START or CMD /C or CMD /K, etc. to force the BAT file to close after it starts running Access so the person doesn't see the window. Or what other way can this be done (I'm know it is simple, just drawing a blank.) I know FMS has a tool to maintain FE Updates, but not sure how it works. Thanks for any help - hope it made sense. John --- John Bodin sBOR Office Systems jbodin at sbor.com From jbodin at sbor.com Tue Sep 18 22:10:43 2018 From: jbodin at sbor.com (John Bodin) Date: Wed, 19 Sep 2018 03:10:43 +0000 Subject: [AccessD] Starting Access from a command prompt In-Reply-To: References: Message-ID: I found that I had to provide a "Title" when using the Start command when starting a Program. I didn't use that parameter so the DOS window stayed open. My second line of the batch file is now is: START "sometitle" C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb and that seems to let the DOS command prompt terminate while Access opens and appears to work fine. Any better ideas, I'm all ears. Don't know how memory usage is affected by starting Access using the method I am trying. Thank you. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Tuesday, September 18, 2018 9:54 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Starting Access from a command prompt Having a brain cramp. I have an access FE/BE app that people run using the full version of Access 2003. Periodically, the FE app decompiles on a user and causes slowdowns and issues, so I have a little batch file that they can run to copy a cleaned Compiled version to their local C drive, overwriting the fault FE file. Then they click on their normal icon that starts the Access FE from the C drive and away they go. I am trying to make these two icons/processes into one icon. So process would be: Copy S:\MyApp\Compiled.mdb C:\MyApp\MyProg.mdb C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb I put both of those lines in a BAT file and they both execute just fine, however a Command prompt stays open showing "1 files copied" which I know is from the first line of the bat file. Access then opens and person can work, but the command prompt window is still open. Once person quits out of Access, command prompt closes, which I know is because there are lines left to run in the bat file. The above all makes sense, but I can't remember how to use either START or CMD /C or CMD /K, etc. to force the BAT file to close after it starts running Access so the person doesn't see the window. Or what other way can this be done (I'm know it is simple, just drawing a blank.) I know FMS has a tool to maintain FE Updates, but not sure how it works. Thanks for any help - hope it made sense. 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 JoeO at appoli.com Wed Sep 19 10:03:48 2018 From: JoeO at appoli.com (Joe O'Connell) Date: Wed, 19 Sep 2018 15:03:48 +0000 Subject: [AccessD] Starting Access from a command prompt In-Reply-To: References: Message-ID: John, A lot of the applications that I develop run on a terminal server. The latest version of an Access application is placed in a folder that is accessible by all users. The users have a shortcut on their desktop that runs a VB script that copies the application to a local folder for each user and then starts the application. This way I am sure that all users are using the latest version of the software, they always have a clean copy so there is no concern with bloat, and by appending the name of the client PC to the file name multiple people can be logged with the same account but each will be running their own version of the FE. The path and names will need to be changed for your needs. Joe O'Connell On error Resume Next Dim strCopyFrom Dim strCopyTo Dim strRunCmd Dim strUser Dim strClient Dim fso Dim objNetwork Dim shell Set objNetwork = CreateObject("Wscript.Network") strUser = objNetwork.UserName 'wscript.echo strUser Set objShell = CreateObject("WScript.Shell") strClient = objShell.ExpandEnvironmentStrings("%clientname%") 'wscript.echo strClient Set fso = CreateObject("Scripting.FileSystemObject") strCopyFrom = "path\name of Access.mde" strCopyTo = "local path-" & strClient & ".mde" strRunCmd = Chr(34) & "C:\Program Files (x86)\Microsoft Office\OFFICE11\MSACCESS.EXE" & Chr(34) & " " & Chr(34) & strCopyTo & Chr(34) 'wscript.echo "Check if exist" If (fso.FileExists(strCopyTo)) = True Then fso.DeleteFile strCopyTo If Err.number = 0 Then ' wscript.echo "Delete Successful" Else wscript.echo "Delete Failed" & vbcrlf & err.description End If End If 'wscript.echo "Copy file" fso.CopyFile strCopyFrom, strCopyTo, True If err.number = 0 Then ' wscript.echo "Program copied" Else wscript.echo "Error while copy of test program" & vbcrlf & err.description End If Set shell = CreateObject("WScript.Shell") shell.Run strRunCmd, 1, false Set shell = Nothing strCopyFrom = vbNullString strCopyTo = vbNullString strRunCmd = vbNullString Set fso = Nothing Set objNetwork = Nothing Set shell = Nothing -----Original Message----- From: AccessD On Behalf Of John Bodin Sent: Tuesday, September 18, 2018 11:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Starting Access from a command prompt I found that I had to provide a "Title" when using the Start command when starting a Program. I didn't use that parameter so the DOS window stayed open. My second line of the batch file is now is: START "sometitle" C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb and that seems to let the DOS command prompt terminate while Access opens and appears to work fine. Any better ideas, I'm all ears. Don't know how memory usage is affected by starting Access using the method I am trying. Thank you. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Tuesday, September 18, 2018 9:54 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Starting Access from a command prompt Having a brain cramp. I have an access FE/BE app that people run using the full version of Access 2003. Periodically, the FE app decompiles on a user and causes slowdowns and issues, so I have a little batch file that they can run to copy a cleaned Compiled version to their local C drive, overwriting the fault FE file. Then they click on their normal icon that starts the Access FE from the C drive and away they go. I am trying to make these two icons/processes into one icon. So process would be: Copy S:\MyApp\Compiled.mdb C:\MyApp\MyProg.mdb C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb I put both of those lines in a BAT file and they both execute just fine, however a Command prompt stays open showing "1 files copied" which I know is from the first line of the bat file. Access then opens and person can work, but the command prompt window is still open. Once person quits out of Access, command prompt closes, which I know is because there are lines left to run in the bat file. The above all makes sense, but I can't remember how to use either START or CMD /C or CMD /K, etc. to force the BAT file to close after it starts running Access so the person doesn't see the window. Or what other way can this be done (I'm know it is simple, just drawing a blank.) I know FMS has a tool to maintain FE Updates, but not sure how it works. Thanks for any help - hope it made sense. 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 Wed Sep 19 10:17:44 2018 From: jbodin at sbor.com (John Bodin) Date: Wed, 19 Sep 2018 15:17:44 +0000 Subject: [AccessD] Starting Access from a command prompt In-Reply-To: References: , Message-ID: Thanks Joe. Nice alternative. I would have to deal with the deleting of the existing file in case the user has two copies open (multiple screen app) which I could test probably with the Errorcode=5. Will look into this option. John John Bodin sBOR Office Systems jbodin at sbor.com ________________________________ From: AccessD on behalf of Joe O'Connell Sent: Wednesday, September 19, 2018 11:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Starting Access from a command prompt John, A lot of the applications that I develop run on a terminal server. The latest version of an Access application is placed in a folder that is accessible by all users. The users have a shortcut on their desktop that runs a VB script that copies the application to a local folder for each user and then starts the application. This way I am sure that all users are using the latest version of the software, they always have a clean copy so there is no concern with bloat, and by appending the name of the client PC to the file name multiple people can be logged with the same account but each will be running their own version of the FE. The path and names will need to be changed for your needs. Joe O'Connell On error Resume Next Dim strCopyFrom Dim strCopyTo Dim strRunCmd Dim strUser Dim strClient Dim fso Dim objNetwork Dim shell Set objNetwork = CreateObject("Wscript.Network") strUser = objNetwork.UserName 'wscript.echo strUser Set objShell = CreateObject("WScript.Shell") strClient = objShell.ExpandEnvironmentStrings("%clientname%") 'wscript.echo strClient Set fso = CreateObject("Scripting.FileSystemObject") strCopyFrom = "path\name of Access.mde" strCopyTo = "local path-" & strClient & ".mde" strRunCmd = Chr(34) & "C:\Program Files (x86)\Microsoft Office\OFFICE11\MSACCESS.EXE" & Chr(34) & " " & Chr(34) & strCopyTo & Chr(34) 'wscript.echo "Check if exist" If (fso.FileExists(strCopyTo)) = True Then fso.DeleteFile strCopyTo If Err.number = 0 Then ' wscript.echo "Delete Successful" Else wscript.echo "Delete Failed" & vbcrlf & err.description End If End If 'wscript.echo "Copy file" fso.CopyFile strCopyFrom, strCopyTo, True If err.number = 0 Then ' wscript.echo "Program copied" Else wscript.echo "Error while copy of test program" & vbcrlf & err.description End If Set shell = CreateObject("WScript.Shell") shell.Run strRunCmd, 1, false Set shell = Nothing strCopyFrom = vbNullString strCopyTo = vbNullString strRunCmd = vbNullString Set fso = Nothing Set objNetwork = Nothing Set shell = Nothing -----Original Message----- From: AccessD On Behalf Of John Bodin Sent: Tuesday, September 18, 2018 11:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Starting Access from a command prompt I found that I had to provide a "Title" when using the Start command when starting a Program. I didn't use that parameter so the DOS window stayed open. My second line of the batch file is now is: START "sometitle" C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb and that seems to let the DOS command prompt terminate while Access opens and appears to work fine. Any better ideas, I'm all ears. Don't know how memory usage is affected by starting Access using the method I am trying. Thank you. John -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bodin Sent: Tuesday, September 18, 2018 9:54 PM To: Access Developers discussion and problem solving (accessd at databaseadvisors.com) Subject: [AccessD] Starting Access from a command prompt Having a brain cramp. I have an access FE/BE app that people run using the full version of Access 2003. Periodically, the FE app decompiles on a user and causes slowdowns and issues, so I have a little batch file that they can run to copy a cleaned Compiled version to their local C drive, overwriting the fault FE file. Then they click on their normal icon that starts the Access FE from the C drive and away they go. I am trying to make these two icons/processes into one icon. So process would be: Copy S:\MyApp\Compiled.mdb C:\MyApp\MyProg.mdb C:\Program Files (x86)\Microsoft Office\Office11\MSAccess.Exe C:\MyApp\MyProg.mdb I put both of those lines in a BAT file and they both execute just fine, however a Command prompt stays open showing "1 files copied" which I know is from the first line of the bat file. Access then opens and person can work, but the command prompt window is still open. Once person quits out of Access, command prompt closes, which I know is because there are lines left to run in the bat file. The above all makes sense, but I can't remember how to use either START or CMD /C or CMD /K, etc. to force the BAT file to close after it starts running Access so the person doesn't see the window. Or what other way can this be done (I'm know it is simple, just drawing a blank.) I know FMS has a tool to maintain FE Updates, but not sure how it works. Thanks for any help - hope it made sense. John --- John Bodin sBOR Office Systems jbodin at sbor.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Wed Sep 19 21:21:21 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 20 Sep 2018 14:21:21 +1200 Subject: [AccessD] Filters in Datasheet View Message-ID: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> Hi Listers, Access 2010. Access table back end. I have a datasheet view of a form which shows the sort and filter dropdown in the column headings. I see the sort options, and standard filters (eg Text filters for Equals, Does Not Equal, etc). However, I don't see in the list the options to select several items. EG a countries field should have a list of the countries in the data so that I can filter several at the same time by checking boxes. I have simplified the data source so that it is only 1 table. I have the same problem if I open any table directly. Is there a setting or condition that has turned this off? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From charlotte.foust at gmail.com Thu Sep 20 03:04:36 2018 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Sep 2018 01:04:36 -0700 Subject: [AccessD] Filters in Datasheet View In-Reply-To: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> Message-ID: You have to use a query for that. It is outside the capabilities of a filter. On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > Hi Listers, > > > > Access 2010. Access table back end. > > > > I have a datasheet view of a form which shows the sort and filter dropdown > in the column headings. I see the sort options, and standard filters (eg > Text filters for Equals, Does Not Equal, etc). However, I don't see in the > list the options to select several items. EG a countries field should have > a list of the countries in the data so that I can filter several at the > same > time by checking boxes. > > > > I have simplified the data source so that it is only 1 table. > > > > I have the same problem if I open any table directly. > > > > Is there a setting or condition that has turned this off? > > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Thu Sep 20 04:34:40 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 20 Sep 2018 21:34:40 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> Message-ID: <007801d450c5$28139b60$783ad220$@dalyn.co.nz> Thanks for the reply Charlotte. Am I confusing the built in filters with Excel? I thought I had seen them in Access. Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 20 September 2018 8:05 p.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View You have to use a query for that. It is outside the capabilities of a filter. On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > Hi Listers, > > Access 2010. Access table back end. > > I have a datasheet view of a form which shows the sort and filter dropdown > in the column headings. I see the sort options, and standard filters (eg > Text filters for Equals, Does Not Equal, etc). However, I don't see in the > list the options to select several items. EG a countries field should have > a list of the countries in the data so that I can filter several at the > same > time by checking boxes. > > I have simplified the data source so that it is only 1 table. > > I have the same problem if I open any table directly. > > Is there a setting or condition that has turned this off? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From newsgrps at dalyn.co.nz Thu Sep 20 04:38:47 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 20 Sep 2018 21:38:47 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> Message-ID: <007901d450c5$bb3bb9e0$31b32da0$@dalyn.co.nz> Here is a link to a page that illustrates what I am missing: https://support.office.com/en-ie/article/apply-a-filter-to-view-select-recor ds-in-an-access-database-2a493ded-e544-4144-9103-b9b1d1865147 Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 20 September 2018 8:05 p.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View You have to use a query for that. It is outside the capabilities of a filter. On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > Hi Listers, > > Access 2010. Access table back end. > > I have a datasheet view of a form which shows the sort and filter dropdown > in the column headings. I see the sort options, and standard filters (eg > Text filters for Equals, Does Not Equal, etc). However, I don't see in the > list the options to select several items. EG a countries field should have > a list of the countries in the data so that I can filter several at the > same > time by checking boxes. > > I have simplified the data source so that it is only 1 table. > > I have the same problem if I open any table directly. > > Is there a setting or condition that has turned this off? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From newsgrps at dalyn.co.nz Thu Sep 20 04:42:34 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 20 Sep 2018 21:42:34 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> Message-ID: <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> Found the answer. In the options for the Current database is a filter option "Don't display records when more than this number is read". It was set to 0 (I thought this means no limit). I changed it to 1000 and the selection lists appeared. Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 20 September 2018 8:05 p.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View You have to use a query for that. It is outside the capabilities of a filter. On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > Hi Listers, > > Access 2010. Access table back end. > > I have a datasheet view of a form which shows the sort and filter dropdown > in the column headings. I see the sort options, and standard filters (eg > Text filters for Equals, Does Not Equal, etc). However, I don't see in the > list the options to select several items. EG a countries field should have > a list of the countries in the data so that I can filter several at the > same > time by checking boxes. > > I have simplified the data source so that it is only 1 table. > > I have the same problem if I open any table directly. > > Is there a setting or condition that has turned this off? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand From newsgrps at dalyn.co.nz Thu Sep 20 04:51:57 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 20 Sep 2018 21:51:57 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> Message-ID: <007b01d450c7$926c92d0$b745b870$@dalyn.co.nz> However, now I find that only one filter can be applied using the check boxes, then any other columns don't show the boxes (even though they are showing if no columns are filtered). Is this is feature of Access? -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, 20 September 2018 9:43 p.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filters in Datasheet View Found the answer. In the options for the Current database is a filter option "Don't display records when more than this number is read". It was set to 0 (I thought this means no limit). I changed it to 1000 and the selection lists appeared. Regards David -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 20 September 2018 8:05 p.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View You have to use a query for that. It is outside the capabilities of a filter. On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > Hi Listers, > > Access 2010. Access table back end. > > I have a datasheet view of a form which shows the sort and filter dropdown > in the column headings. I see the sort options, and standard filters (eg > Text filters for Equals, Does Not Equal, etc). However, I don't see in the > list the options to select several items. EG a countries field should have > a list of the countries in the data so that I can filter several at the > same > time by checking boxes. > > I have simplified the data source so that it is only 1 table. > > I have the same problem if I open any table directly. > > Is there a setting or condition that has turned this off? > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Thu Sep 20 09:35:32 2018 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 20 Sep 2018 07:35:32 -0700 Subject: [AccessD] Filters in Datasheet View In-Reply-To: <007b01d450c7$926c92d0$b745b870$@dalyn.co.nz> References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> <007b01d450c7$926c92d0$b745b870$@dalyn.co.nz> Message-ID: Filters are not meant for complex conditions so they are implemented in a simple fashion. The query engine can handle complex conditions and refuses to execute if you are getting too complex. The filter capability is there for quickly viewing a subset of data but it does nothing more. On Thu, Sep 20, 2018, 2:53 AM David Emerson wrote: > However, now I find that only one filter can be applied using the check > boxes, then any other columns don't show the boxes (even though they are > showing if no columns are filtered). Is this is feature of Access? > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Thursday, 20 September 2018 9:43 p.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filters in Datasheet View > > Found the answer. In the options for the Current database is a filter > option "Don't display records when more than this number is read". It was > set to 0 (I thought this means no limit). I changed it to 1000 and the > selection lists appeared. > > Regards > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, 20 September 2018 8:05 p.m. > To: Access Developers discussion and problem > Subject: Re: [AccessD] Filters in Datasheet View > > You have to use a query for that. It is outside the capabilities of a > filter. > > On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > > > Hi Listers, > > > > Access 2010. Access table back end. > > > > I have a datasheet view of a form which shows the sort and filter > dropdown > > in the column headings. I see the sort options, and standard filters (eg > > Text filters for Equals, Does Not Equal, etc). However, I don't see in > the > > list the options to select several items. EG a countries field should > have > > a list of the countries in the data so that I can filter several at the > > same > > time by checking boxes. > > > > I have simplified the data source so that it is only 1 table. > > > > I have the same problem if I open any table directly. > > > > Is there a setting or condition that has turned this off? > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Thu Sep 20 15:24:00 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 21 Sep 2018 08:24:00 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> <007b01d450c7$926c92d0$b745b870$@dalyn.co.nz> Message-ID: <000b01d4511f$de2500b0$9a6f0210$@dalyn.co.nz> Ah, thanks for the explanation. It is always good to know why things are what they are. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 21 September 2018 2:36 a.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View Filters are not meant for complex conditions so they are implemented in a simple fashion. The query engine can handle complex conditions and refuses to execute if you are getting too complex. The filter capability is there for quickly viewing a subset of data but it does nothing more. On Thu, Sep 20, 2018, 2:53 AM David Emerson wrote: > However, now I find that only one filter can be applied using the check > boxes, then any other columns don't show the boxes (even though they are > showing if no columns are filtered). Is this is feature of Access? > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Thursday, 20 September 2018 9:43 p.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filters in Datasheet View > > Found the answer. In the options for the Current database is a filter > option "Don't display records when more than this number is read". It was > set to 0 (I thought this means no limit). I changed it to 1000 and the > selection lists appeared. > > Regards > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, 20 September 2018 8:05 p.m. > To: Access Developers discussion and problem > Subject: Re: [AccessD] Filters in Datasheet View > > You have to use a query for that. It is outside the capabilities of a > filter. > > On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > > > Hi Listers, > > > > Access 2010. Access table back end. > > > > I have a datasheet view of a form which shows the sort and filter > dropdown > > in the column headings. I see the sort options, and standard filters (eg > > Text filters for Equals, Does Not Equal, etc). However, I don't see in > the > > list the options to select several items. EG a countries field should > have > > a list of the countries in the data so that I can filter several at the > > same > > time by checking boxes. > > > > I have simplified the data source so that it is only 1 table. > > > > I have the same problem if I open any table directly. > > > > Is there a setting or condition that has turned this off? > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Sep 23 17:24:22 2018 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 24 Sep 2018 10:24:22 +1200 Subject: [AccessD] Filters in Datasheet View In-Reply-To: <000b01d4511f$de2500b0$9a6f0210$@dalyn.co.nz> References: <005801d45088$9f7a6540$de6f2fc0$@dalyn.co.nz> <007a01d450c6$425461c0$c6fd2540$@dalyn.co.nz> <007b01d450c7$926c92d0$b745b870$@dalyn.co.nz> <000b01d4511f$de2500b0$9a6f0210$@dalyn.co.nz> Message-ID: <000f01d4538c$2dc132b0$89439810$@dalyn.co.nz> Update. I found that if I base the form on a saved query (as opposed to writing the query in the forms RecordSource) then the Value list check boxes are available for more than 1 column. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, 21 September 2018 8:24 a.m. To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Filters in Datasheet View Ah, thanks for the explanation. It is always good to know why things are what they are. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, 21 September 2018 2:36 a.m. To: Access Developers discussion and problem Subject: Re: [AccessD] Filters in Datasheet View Filters are not meant for complex conditions so they are implemented in a simple fashion. The query engine can handle complex conditions and refuses to execute if you are getting too complex. The filter capability is there for quickly viewing a subset of data but it does nothing more. On Thu, Sep 20, 2018, 2:53 AM David Emerson wrote: > However, now I find that only one filter can be applied using the check > boxes, then any other columns don't show the boxes (even though they are > showing if no columns are filtered). Is this is feature of Access? > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: Thursday, 20 September 2018 9:43 p.m. > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Filters in Datasheet View > > Found the answer. In the options for the Current database is a filter > option "Don't display records when more than this number is read". It was > set to 0 (I thought this means no limit). I changed it to 1000 and the > selection lists appeared. > > Regards > > David > > -----Original Message----- > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, 20 September 2018 8:05 p.m. > To: Access Developers discussion and problem > Subject: Re: [AccessD] Filters in Datasheet View > > You have to use a query for that. It is outside the capabilities of a > filter. > > On Wed, Sep 19, 2018, 7:22 PM David Emerson wrote: > > > Hi Listers, > > > > Access 2010. Access table back end. > > > > I have a datasheet view of a form which shows the sort and filter > dropdown > > in the column headings. I see the sort options, and standard filters (eg > > Text filters for Equals, Does Not Equal, etc). However, I don't see in > the > > list the options to select several items. EG a countries field should > have > > a list of the countries in the data so that I can filter several at the > > same > > time by checking boxes. > > > > I have simplified the data source so that it is only 1 table. > > > > I have the same problem if I open any table directly. > > > > Is there a setting or condition that has turned this off? > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Sep 24 20:40:56 2018 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 24 Sep 2018 18:40:56 -0700 Subject: [AccessD] 32 vs 64 Message-ID: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From darryl at whittleconsulting.com.au Mon Sep 24 23:31:40 2018 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 25 Sep 2018 04:31:40 +0000 Subject: [AccessD] 32 vs 64 In-Reply-To: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> Message-ID: If the office version is 32 bit (on 64 bit windows) then "yes". -----Original Message----- From: AccessD On Behalf Of Rocky Smolin Sent: Tuesday, 25 September 2018 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? 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 Tue Sep 25 00:21:10 2018 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 24 Sep 2018 22:21:10 -0700 Subject: [AccessD] 32 vs 64 In-Reply-To: References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> Message-ID: <008c01d4548f$924c7dd0$b6e57970$@bchacc.com> No, sorry, I was unclear. Should have said compiled and run with 64-bit Office instead of " compiled and run on a 64-bit machine" r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, September 24, 2018 9:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 32 vs 64 If the office version is 32 bit (on 64 bit windows) then "yes". -----Original Message----- From: AccessD On Behalf Of Rocky Smolin Sent: Tuesday, 25 September 2018 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? 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 Tue Sep 25 08:34:24 2018 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 25 Sep 2018 09:34:24 -0400 Subject: [AccessD] 32 vs 64 In-Reply-To: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> Message-ID: <07e601d454d4$79ff9560$6dfec020$@verizon.net> << If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? >> Answer: it depends. If it has no calls to 3rd party DLL's, or references set to Active X controls, then yes. Between PtrSafe and conditional complier constants, you can handle both 32 and 64 bit Access with a single DB. << Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes?>> No, not with 32 bit. Because it's an .accde and lacking source code, Access cannot re-compile on the fly. You would need to create a .accde for 64 bit with Access 64 bit. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, September 24, 2018 9:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? 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 wrwehler at gmail.com Tue Sep 25 10:50:06 2018 From: wrwehler at gmail.com (Ryan W) Date: Tue, 25 Sep 2018 10:50:06 -0500 Subject: [AccessD] 32 vs 64 In-Reply-To: <07e601d454d4$79ff9560$6dfec020$@verizon.net> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> <07e601d454d4$79ff9560$6dfec020$@verizon.net> Message-ID: When i was running into memory limitations with Access 2013 32bit I looked into moving to 64-bit, but most if not every recommendation I came across said "just don't do it, it's not well tested". I have zero idea of that's anecdotal or what.. but I stuck with the 32-bit version and with John Colby's help wrote some JIT forms to keep my recordsets inactive until tabs went into focus and so on and so forth using some of his class wizardry. From rockysmolin at bchacc.com Tue Sep 25 10:57:05 2018 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 25 Sep 2018 08:57:05 -0700 Subject: [AccessD] 32 vs 64 In-Reply-To: <07e601d454d4$79ff9560$6dfec020$@verizon.net> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> <07e601d454d4$79ff9560$6dfec020$@verizon.net> Message-ID: <00a801d454e8$67f2ac90$37d805b0$@bchacc.com> Looks like I gotta set up a VM on my box and load 54-bit Office and try it. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, September 25, 2018 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 32 vs 64 << If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? >> Answer: it depends. If it has no calls to 3rd party DLL's, or references set to Active X controls, then yes. Between PtrSafe and conditional complier constants, you can handle both 32 and 64 bit Access with a single DB. << Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes?>> No, not with 32 bit. Because it's an .accde and lacking source code, Access cannot re-compile on the fly. You would need to create a .accde for 64 bit with Access 64 bit. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, September 24, 2018 9:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? 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 Tue Sep 25 11:05:29 2018 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 25 Sep 2018 09:05:29 -0700 Subject: [AccessD] 32 vs 64 In-Reply-To: <00a801d454e8$67f2ac90$37d805b0$@bchacc.com> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> <07e601d454d4$79ff9560$6dfec020$@verizon.net> <00a801d454e8$67f2ac90$37d805b0$@bchacc.com> Message-ID: <00ae01d454e9$948b0940$bda11bc0$@bchacc.com> If that doesn't work I'll go all the way up to 64 bit. :) R -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, September 25, 2018 8:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 32 vs 64 Looks like I gotta set up a VM on my box and load 54-bit Office and try it. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, September 25, 2018 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 32 vs 64 << If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? >> Answer: it depends. If it has no calls to 3rd party DLL's, or references set to Active X controls, then yes. Between PtrSafe and conditional complier constants, you can handle both 32 and 64 bit Access with a single DB. << Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes?>> No, not with 32 bit. Because it's an .accde and lacking source code, Access cannot re-compile on the fly. You would need to create a .accde for 64 bit with Access 64 bit. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, September 24, 2018 9:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 25 11:38:23 2018 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 25 Sep 2018 12:38:23 -0400 Subject: [AccessD] 32 vs 64 In-Reply-To: <00a801d454e8$67f2ac90$37d805b0$@bchacc.com> References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> <07e601d454d4$79ff9560$6dfec020$@verizon.net> <00a801d454e8$67f2ac90$37d805b0$@bchacc.com> Message-ID: <08ce01d454ee$2d3848c0$87a8da40$@verizon.net> That's the way to tackle it. Also a couple of references to help: Take a read through: Compatibility Between the 32-bit and 64-bit Versions of Office 2010 http://msdn.microsoft.com/en-us/library/ee691831(office.14).aspx Especially read the section "Introducing the VBA 7 Code Base" for the general overview. All the new 64 bit calls those that were modified for 64 bit: http://www.microsoft.com/download/en/confirmation.aspx?displaylang=en&id=997 0 http://msdn.microsoft.com/en-us/library/aa383663(VS.85).aspx These have all the declare's you will need for calling anything in the WinAPI. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, September 25, 2018 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 32 vs 64 Looks like I gotta set up a VM on my box and load 54-bit Office and try it. r -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, September 25, 2018 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 32 vs 64 << If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? >> Answer: it depends. If it has no calls to 3rd party DLL's, or references set to Active X controls, then yes. Between PtrSafe and conditional complier constants, you can handle both 32 and 64 bit Access with a single DB. << Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes?>> No, not with 32 bit. Because it's an .accde and lacking source code, Access cannot re-compile on the fly. You would need to create a .accde for 64 bit with Access 64 bit. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, September 24, 2018 9:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 32 vs 64 If an app is developed in 32-bit Access (2010 in this case), can it be compiled and run on a 64-bit machine (with the addition of SafePtr in the right places)? Can an accde be made on the 64 bit Access install and run on other Office 64 bit boxes? MTIA Rocky Smolin Beach Access Software 760-683-5777 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Sep 25 11:53:52 2018 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 25 Sep 2018 12:53:52 -0400 Subject: [AccessD] 32 vs 64 In-Reply-To: References: <005501d45470$ce2d4290$6a87c7b0$@bchacc.com> <07e601d454d4$79ff9560$6dfec020$@verizon.net> Message-ID: <08e701d454f0$57635980$062a0c80$@verizon.net> Not so much well tested, as nothing was available for it. DLL's, drivers, OCX's etc all need to be 64 bit and not much has been available. It wasn't even until recently that Microsoft has started to push 64bit more, but at least most ODBC drivers are available in 64 bit now. Considering that were ten years down the road, it's long overdue. Office 2019 BTW will still be in both 32 and 64 bit (and it has been released). However it will only be installable on Windows 10, and only with CTR (Click to Run). No more MSI packages. I think too that Office 2019 will most likely be the last perpetual license release. That's based on the fact that they shortened the support cycle to seven years and made it coincide with the end of support for Office 2016. Jim. -----Original Message----- From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ryan W Sent: Tuesday, September 25, 2018 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 32 vs 64 When i was running into memory limitations with Access 2013 32bit I looked into moving to 64-bit, but most if not every recommendation I came across said "just don't do it, it's not well tested". I have zero idea of that's anecdotal or what.. but I stuck with the 32-bit version and with John Colby's help wrote some JIT forms to keep my recordsets inactive until tabs went into focus and so on and so forth using some of his class wizardry. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com