From df.waters at comcast.net Sun Jan 1 08:41:37 2012 From: df.waters at comcast.net (Dan Waters) Date: Sun, 1 Jan 2012 08:41:37 -0600 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> Message-ID: <000601ccc893$77dcd290$679677b0$@comcast.net> I William, I've been setting up recordsets like this for many years now with no known issues. So, perhaps someone else can weigh in on any cons to this approach! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, December 31, 2011 10:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Set references via automation Is it not best to set an object equal to Codedb and then use the OpenRecordset property (or method, I continually mix those) of the object rather than based on CodeDb directly? That seems to be a safety rule for CurrentDB and I would expect the two classes to behave similarly? Or not. Not really even sure what I am talking about. NICE FUNCTIONS THOUGH! HYAPPEY NIEW YEAH! On Dec 31, 2011 10:34 AM, "Dan Waters" wrote: > Yes! I think you'll find this helpful. This is the very first > procedure that is run when the app opens. I use an AutoExec macro, > and it runs this procedure first. > > The stgDeveloperLibraryPath is taken from a table, but it could be > hardcoded, or in a local table. > > HTH! > Dan > > > '-------------------------------- > > Public Function ResetLibraryReference() > 1 On Error GoTo EH > > '-- Purpose: This will reset the library reference to ensure > that the FE file is referencing the correct Library file. _ > On a client PC, this isn't a problem, but that > reference does need to be reset on the server. Otherwise, _ > the TEST FE could reference the PROD library, etc. > > Dim ref As Access.Reference > Dim stgCurrentPath As String > Dim stgPrompt As String > Dim stgDeveloperLibraryPath As String > Dim appFE As Access.Application > Dim intCount As Integer > > 2 Set appFE = CurrentProject.Application > > 3 If Environ("ComputerName") = "DanWaters" Then '-- Developer PC > > 4 stgDeveloperLibraryPath = > ReadPSIParameter("DeveloperLibraryPath") > > '-- Is the correct Library already referenced? > 5 For Each ref In appFE.References > 6 If ref.FullPath = stgDeveloperLibraryPath Then > 7 Exit Function > 8 End If > 9 Next ref > > '-- Find and delete the incorrect library reference > 10 For Each ref In appFE.References > 11 If InStr(ref.FullPath, "PSILibrary") <> 0 Then > 12 appFE.References.Remove ref > 13 End If > 14 Next ref > > '-- Add the correct library reference > 15 Access.References.AddFromFile stgDeveloperLibraryPath > > 16 Else > > 17 stgCurrentPath = CurrentProject.Path > > 18 For intCount = appFE.References.Count To 1 Step -1 > 19 Set ref = appFE.References(intCount) > 20 If InStr(ref.Name, "PSILibrary") <> 0 Then > 21 appFE.References.Remove ref > '22 MsgBox appFE.References.Count '-- TEST > '23 MsgBox "Removed Library Reference", vbOKOnly + > vbInformation, "Removed Reference" '-- TEST > 22 End If > 23 Next > > '-- Add the correct library reference > 24 appFE.References.AddFromFile stgCurrentPath & > "\PSILibrary.mdb" > '27 MsgBox "Added Library Reference", vbOKOnly + > vbInformation, "Added Reference" '-- TEST > '28 MsgBox appFE.References.Count '-- TEST > > 25 End If > > '-- Call a hidden SysCmd to automatically compile/save all > modules. > 26 Call SysCmd(504, 16483) > > 27 Exit Function > > EH: > 28 stgPrompt = "This system has experienced a startup error in the > ResetLibraryReference code procedure." _ > & vbNewLine & vbNewLine _ > & "Line: " & Erl & vbNewLine _ > & "Number: " & Err.Number & vbNewLine _ > & "Description: " & Err.Description _ > & vbNewLine & vbNewLine _ > & "Contact the system developer. This system will now Quit." > _ > & vbNewLine & vbNewLine _ > & "NOTE: Be sure the library file project name = > 'PSILibrary'." > 29 MsgBox stgPrompt, vbCritical & vbOKOnly, "Startup Error" > 30 Application.Quit > > End Function > > '-------------------------------- > Public Function ReadPSIParameter(stgParameter As String) As String > > Dim stg As String > Dim rst As DAO.Recordset > > stg = "SELECT " & stgParameter & " FROM tblPSIParameters IN '" & > CurrentProject.Path & "\PSIConfig.mdb" & "'" > Set rst = CodeDb.OpenRecordset(stg, dbOpenForwardOnly) > ReadPSIParameter = rst(stgParameter) > rst.Close > Set rst = Nothing > > Exit Function > ErrEx.Bookmark = BOOKMARK_ONERROR > > End Function > '-------------------------------- > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, December 31, 2011 6:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Set references via automation > > Is it possible to set references in an access container (Lib or FE) > via automation? Open the access container and then set a reference in > that container, all from code running in the object that is performing > the automation? > > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sun Jan 1 10:20:58 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 1 Jan 2012 08:20:58 -0800 Subject: [AccessD] Set references via automation In-Reply-To: <000601ccc893$77dcd290$679677b0$@comcast.net> References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> Message-ID: The problem is as mentioned above: if the references are not modified before any other code is loaded, they will be broken and will stay that way. However, if you are opening the database remotely, I have no idea of the sequence of events. I would suspect you'd run into the same issues. To make it work in a 2002/2003 version, you had to reference the VBE library and use its methods because you can't use DAO or ADO and VBA to fo this. Charlotte From marksimms at verizon.net Sun Jan 1 12:34:53 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 01 Jan 2012 13:34:53 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> Message-ID: <004101ccc8b4$0dbed360$293c7a20$@net> Interestingly Charlotte I had to use the VBE.VBPROJECT object in Excel to set references. Excel 2010's VBE is exhibiting the same p-code corruption behavior as Access 2010. So I had to create my own "eatbloat"....export all of the modules and forms, delete em, recompile, close, open again, import all of the VBA source, re-establish 12 references, recompile. > To make it work in a 2002/2003 version, you had to reference the VBE > library and use its methods because you can't use DAO or ADO and VBA to... From mcp2004 at mail.ru Sun Jan 1 13:37:50 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 01 Jan 2012 23:37:50 +0400 Subject: [AccessD] =?utf-8?q?Set_references_via_automation?= In-Reply-To: <004101ccc8b4$0dbed360$293c7a20$@net> References: <4EFF011E.6050906@colbyconsulting.com> <004101ccc8b4$0dbed360$293c7a20$@net> Message-ID: Hi Mark -- Back to year 2004 I have had an issue with MS Excel 2003 when exporting VBA, creating new XL Add-In workbook and importing VBA back didn't help to solve p-code corruption issue: that XL Add-in workbook have had quite a few of class modules - that was the cause of trouble I guess. Since then I have been trying to use VBA as little as possible... BTW that troublesome XL VBA add-in was flawlessly converted into VB.NET VSTO XL add-in. Thank you. -- Shamil 01 ?????? 2012, 22:39 ?? "Mark Simms" : > Interestingly Charlotte I had to use the VBE.VBPROJECT object in Excel to > set references. > Excel 2010's VBE is exhibiting the same p-code corruption behavior as Access > 2010. > So I had to create my own "eatbloat"....export all of the modules and forms, > delete em, recompile, close, open again, import all of the VBA source, > re-establish 12 references, recompile. > > > To make it work in a 2002/2003 version, you had to reference the VBE > > library and use its methods because you can't use DAO or ADO and VBA to... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sun Jan 1 13:54:50 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 01 Jan 2012 14:54:50 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> Message-ID: <4F00BA0A.4050505@colbyconsulting.com> http://www.trigeminal.com/usenet/usenet026.asp Notice if you fully path all functions you can avoid all of that stuff. 2) Make every function call to the VBA or Access libraries explicit so that VBA never needs to disambiguate. To do this, always use Access.*, Access.Application.*, VBA.*, etc. in front every call (e.g. VBA.Left$ instead of Left$, VBA.Trim instead of Trim). John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/1/2012 11:20 AM, Charlotte Foust wrote: > The problem is as mentioned above: if the references are not modified > before any other code is loaded, they will be broken and will stay that > way. However, if you are opening the database remotely, I have no idea of > the sequence of events. I would suspect you'd run into the same issues. > To make it work in a 2002/2003 version, you had to reference the VBE > library and use its methods because you can't use DAO or ADO and VBA to fo > this. > > Charlotte From marksimms at verizon.net Sun Jan 1 19:09:33 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 01 Jan 2012 20:09:33 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> <004101ccc8b4$0dbed360$293c7a20$@net> Message-ID: <005b01ccc8eb$3024f560$906ee020$@net> Thanks for the tip re: class modules. Yep, there are 3 classes being used. That's not a lot however. > Hi Mark -- > > Back to year 2004 I have had an issue with MS Excel 2003 when > exporting VBA, creating new XL Add-In workbook and importing VBA back > didn't help to solve p-code corruption issue: that XL Add-in workbook > have had quite a few of class modules - that was the cause of trouble I > guess. Since then I have been trying to use VBA as little as > possible... From marksimms at verizon.net Sun Jan 1 19:11:14 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 01 Jan 2012 20:11:14 -0500 Subject: [AccessD] Set references via automation In-Reply-To: <4F00BA0A.4050505@colbyconsulting.com> References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> <4F00BA0A.4050505@colbyconsulting.com> Message-ID: <005c01ccc8eb$6cd1cba0$467562e0$@net> Interesting idea John. My latest Excel project has 12 references....so the chance for object duplicity is high. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, January 01, 2012 2:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Set references via automation > > http://www.trigeminal.com/usenet/usenet026.asp > > Notice if you fully path all functions you can avoid all of that stuff. > > 2) Make every function call to the VBA or Access libraries explicit so > that VBA never needs to > disambiguate. To do this, always use Access.*, Access.Application.*, > VBA.*, etc. in front every call > (e.g. VBA.Left$ instead of Left$, VBA.Trim instead of Trim). > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/1/2012 11:20 AM, Charlotte Foust wrote: > > The problem is as mentioned above: if the references are not > modified > > before any other code is loaded, they will be broken and will stay > that > > way. However, if you are opening the database remotely, I have no > idea of > > the sequence of events. I would suspect you'd run into the same > issues. > > To make it work in a 2002/2003 version, you had to reference the VBE > > library and use its methods because you can't use DAO or ADO and VBA > to fo > > this. > > > > Charlotte > > -- > 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 Jan 1 21:00:48 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 1 Jan 2012 19:00:48 -0800 Subject: [AccessD] Set references via automation In-Reply-To: <005c01ccc8eb$6cd1cba0$467562e0$@net> References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> <4F00BA0A.4050505@colbyconsulting.com> <005c01ccc8eb$6cd1cba0$467562e0$@net> Message-ID: John, I read the article as saying the same thing I was saying. In the code you run from autoexec, you disambiguate everything but the VBA call he suggested is to check a particular reference to see if VBA is broken. I believe you'll find that you still need VBE to do the fixing because it can be called without loading VBA. Calling things using the VBA library in disambiguated calls doesn't fix a broken reference. You have to test each reference to see which one is broken and fix it before you load VBA. Charlotte Foust On Sun, Jan 1, 2012 at 5:11 PM, Mark Simms wrote: > Interesting idea John. > My latest Excel project has 12 references....so the chance for object > duplicity is high. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > > bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Sunday, January 01, 2012 2:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Set references via automation > > > > http://www.trigeminal.com/usenet/usenet026.asp > > > > > > Notice if you fully path all functions you can avoid all of that stuff. > > > > 2) Make every function call to the VBA or Access libraries explicit so > > that VBA never needs to > > disambiguate. To do this, always use Access.*, Access.Application.*, > > VBA.*, etc. in front every call > > (e.g. VBA.Left$ instead of Left$, VBA.Trim instead of Trim). > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/1/2012 11:20 AM, Charlotte Foust wrote: > > > The problem is as mentioned above: if the references are not > > modified > > > before any other code is loaded, they will be broken and will stay > > that > > > way. However, if you are opening the database remotely, I have no > > idea of > > > the sequence of events. I would suspect you'd run into the same > > issues. > > > To make it work in a 2002/2003 version, you had to reference the VBE > > > library and use its methods because you can't use DAO or ADO and VBA > > to fo > > > this. > > > > > > Charlotte > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Sun Jan 1 21:51:31 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 01 Jan 2012 22:51:31 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4EFF011E.6050906@colbyconsulting.com> <002001ccc7d1$5ecda710$1c68f530$@comcast.net> <000601ccc893$77dcd290$679677b0$@comcast.net> <4F00BA0A.4050505@colbyconsulting.com> <005c01ccc8eb$6cd1cba0$467562e0$@net> Message-ID: <4F0129C3.8030400@colbyconsulting.com> > I read the article as saying the same thing I was saying. Yep. What I am after is actually storing the references outside of the container, opening the container with C# code and deleting / (re)creating the references "on-the-fly". The reason I want to do this is simply that the whole "use the reference if it is found otherwise search and recreate the reference" causes me (as the developer) immense problems. I carefully set up references to specific paths on the C:\xyz\ directory, store the database container on the network and then... my client opens the file in place and the file "fixes" the broken file automagically. Except I wanted the reference I had, not the reference it fixed it to. He didn't even know that this "fix" was occurring and neither did I. So my objective is to download the files and the libs, open the FE, delete specific references (to these libs) and rebuild them, referencing the lib files in the directory that I just downloaded the libs to. This is a different task, though similar to just "fixing broken references". I mean to delete the references and recreate them entirely, at a location of my own choosing. And notice that I am only discussing just the references to my libs, I am not discussing various and sundry issues with things like versions of excel etc. However it occurs to me that if I copied the excel lib to a specific location as well, I could fix the reference to that as well. The whole "what version of office is on your machine / early / late bind" issue would suddenly become a non-issue. I just spent a looooong few days battling what turned out to be references which managed to find and "fix" to old outdated copies of my framework. Who really knows what is sitting out on a user's machine? Sigh. With my new tool I will know precisely where I am putting things and fix the references to the files that I have just copied. It turns out to be trivial to read out the references for an access container. Store that "one time" in a child table out in my tool and voila, I know where to go and get the file that is really needed for a given access container - even things like excel or word libs. Note I have not yet actually *done* this. ;) But I have the rest of the copy and run app up and working. Adding this is an incremental upgrade to what I already am using. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/1/2012 10:00 PM, Charlotte Foust wrote: > John, > > I read the article as saying the same thing I was saying. In the code you > run from autoexec, you disambiguate everything but the VBA call he > suggested is to check a particular reference to see if VBA is broken. I > believe you'll find that you still need VBE to do the fixing because it can > be called without loading VBA. Calling things using the VBA library in > disambiguated calls doesn't fix a broken reference. You have to test each > reference to see which one is broken and fix it before you load VBA. > > > Charlotte Foust From jwcolby at colbyconsulting.com Sun Jan 1 22:22:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 01 Jan 2012 23:22:12 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4EFCAC2C.9020504@torchlake.com> References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com> <4EFCAC2C.9020504@torchlake.com> Message-ID: <4F0130F4.1030108@colbyconsulting.com> Here ya go... the first boards are being auctioned. I'm not bidding... ;) http://www.raspberrypi.org/ John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/29/2011 1:06 PM, Tina Norris Fields wrote: > I want one because a pocket-sized computer like this for $25 is just too wonderful to pass up. I > would use it for many things, but mostly for teaching people about using computers. > > http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-capable-computer-for-25/ > > Best, > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 12/29/2011 12:30 PM, David McAfee wrote: >> Thank you, I was just about to ask the same. >> >> A quick scan of the link shows a lot of "coming soon" but doesn't say what >> it is or what it does. >> >> >> >> On Thu, Dec 29, 2011 at 9:14 AM, William Bensonwrote: >> >>> Help me understand .... what is it or at least why do you want it? >>> On Dec 29, 2011 9:22 AM, "Tina Norris Fields" >>> wrote: >>> >>>> I've been waiting. Production was supposed to be in mid-December 2011, >>> if >>>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>>> want one of those little things! >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>> >>>>> http://www.raspberrypi.org/ >>>>> >>>>> They are apparently close to production. >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/**mailman/listinfo/accessd< >>> http://databaseadvisors.com/mailman/listinfo/accessd> >>>> Website: http://www.databaseadvisors.**com< >>> http://www.databaseadvisors.com> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> From dbdoug at gmail.com Sun Jan 1 22:33:34 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 1 Jan 2012 20:33:34 -0800 Subject: [AccessD] but does it run... In-Reply-To: <4F0130F4.1030108@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> <4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> Message-ID: I won't be bidding either - board 10 (the first to go) is over $2000 already. Doug On Sun, Jan 1, 2012 at 8:22 PM, jwcolby wrote: > Here ya go... the first boards are being auctioned. I'm not bidding... ;) > > http://www.raspberrypi.org/ > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/29/2011 1:06 PM, Tina Norris Fields wrote: > >> I want one because a pocket-sized computer like this for $25 is just too >> wonderful to pass up. I >> would use it for many things, but mostly for teaching people about using >> computers. >> >> http://www.wired.com/**gadgetlab/2011/12/raspberry-** >> pi-a-pocket-sized-1080p-**capable-computer-for-25/ >> >> Best, >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/29/2011 12:30 PM, David McAfee wrote: >> >>> Thank you, I was just about to ask the same. >>> >>> A quick scan of the link shows a lot of "coming soon" but doesn't say >>> what >>> it is or what it does. >>> >>> >>> >>> On Thu, Dec 29, 2011 at 9:14 AM, William Benson* >>> *wrote: >>> >>> Help me understand .... what is it or at least why do you want it? >>>> On Dec 29, 2011 9:22 AM, "Tina Norris Fields">>> com > >>>> wrote: >>>> >>>> I've been waiting. Production was supposed to be in mid-December 2011, >>>>> >>>> if >>>> >>>>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>>>> want one of those little things! >>>>> T >>>>> >>>>> Tina Norris Fields >>>>> tinanfields at torchlake.com >>>>> 231-322-2787 >>>>> >>>>> >>>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>>> >>>>> http://www.raspberrypi.org/ >>>>>> >>>>>> They are apparently close to production. >>>>>> >>>>>> -- >>>>>> >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/****mailman/listinfo/accessd >>>>> < >>>>> >>>> http://databaseadvisors.com/**mailman/listinfo/accessd >>>> > >>>> >>>>> Website: http://www.databaseadvisors.****com< >>>>> >>>> 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 Jan 2 02:05:25 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 02 Jan 2012 09:05:25 +0100 Subject: [AccessD] Set references via automation Message-ID: Hi John Then, I think, all you need is a function to add the references from the full paths: References.AddFromFile strFullPath1 References.AddFromFile strFullPath2 etc. and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: Option Explicit Public Function CompileAndSave() ' Compile and Save All Modules. ' The command: ' Application.RunCommand acCmdCompileAndSaveAllModules ' can not be used as no module is open. ' Thus, use undocumented SysCmd() call. Call SysCmd(504, 16483) End Function Call these from the AutoExec macro as the first happening: RunCode: AddReferences () RunCode: CompileAndSave() This works with Access. I haven't tried (have no need) to run Access and call macros from C#. /gustav >>> jwcolby at colbyconsulting.com 02-01-2012 04:51 >>> > I read the article as saying the same thing I was saying. Yep. What I am after is actually storing the references outside of the container, opening the container with C# code and deleting / (re)creating the references "on-the-fly". The reason I want to do this is simply that the whole "use the reference if it is found otherwise search and recreate the reference" causes me (as the developer) immense problems. I carefully set up references to specific paths on the C:\xyz\ directory, store the database container on the network and then... my client opens the file in place and the file "fixes" the broken file automagically. Except I wanted the reference I had, not the reference it fixed it to. He didn't even know that this "fix" was occurring and neither did I. So my objective is to download the files and the libs, open the FE, delete specific references (to these libs) and rebuild them, referencing the lib files in the directory that I just downloaded the libs to. This is a different task, though similar to just "fixing broken references". I mean to delete the references and recreate them entirely, at a location of my own choosing. And notice that I am only discussing just the references to my libs, I am not discussing various and sundry issues with things like versions of excel etc. However it occurs to me that if I copied the excel lib to a specific location as well, I could fix the reference to that as well. The whole "what version of office is on your machine / early / late bind" issue would suddenly become a non-issue. I just spent a looooong few days battling what turned out to be references which managed to find and "fix" to old outdated copies of my framework. Who really knows what is sitting out on a user's machine? Sigh. With my new tool I will know precisely where I am putting things and fix the references to the files that I have just copied. It turns out to be trivial to read out the references for an access container. Store that "one time" in a child table out in my tool and voila, I know where to go and get the file that is really needed for a given access container - even things like excel or word libs. Note I have not yet actually *done* this. ;) But I have the rest of the copy and run app up and working. Adding this is an incremental upgrade to what I already am using. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/1/2012 10:00 PM, Charlotte Foust wrote: > John, > > I read the article as saying the same thing I was saying. In the code you > run from autoexec, you disambiguate everything but the VBA call he > suggested is to check a particular reference to see if VBA is broken. I > believe you'll find that you still need VBE to do the fixing because it can > be called without loading VBA. Calling things using the VBA library in > disambiguated calls doesn't fix a broken reference. You have to test each > reference to see which one is broken and fix it before you load VBA. > > > Charlotte Foust From adtp at airtelmail.in Mon Jan 2 06:14:50 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Mon, 2 Jan 2012 17:44:50 +0530 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? References: <4EE9EC54.1070108@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET><90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com><001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><02D59D9F02884B02BBA6C28EF807857A@7B440585K><93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> Message-ID: <7F62C94D6B054810809CEC8437E045B8@personal4a8ede> Brad, My sample db named Report_CustomGroupSort might be of interest to you. It handles a book list with fields like topic, publisher, author, title, year etc. In a simulated sorting & grouping subform, the user can click various check boxes so as to specify the fields to be earmarked as group headers, apart from desired sort orders for all available fields. Based upon user's choice, the report gets displayed with specified group headers, depicting appropriate subtotals in corresponding group footers. For example, if the user has selected topic and author as group headers, subtotals get displayed author and topic wise. If the selection is now changed to publisher and author the report gets rearranged so as to display new subtotals, author and publisher wise. The program ensures that fields earmarked for group headers do not get displayed in detail section. Moreover, the position of displayed controls in detail section is adjusted suitably so as to match the order specified in sorting & grouping subform. At the same time, width of control named Title is manipulated suitably so as to make full use of available space (e.g. space released by fields diverted from detail section to group headers). Note: Controls in detail section have intentionally been provided with a light border so as to afford convenient visual indication regarding manipulation of their position and width. The sample db is in access 2000 file format and is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Saturday, December 31, 2011 08:46 Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? Another alternative might be to create groups based on different fields or combinations. Then populate each group with the controls you want to show and total for that group. That should allow you to show or hide the groups on the fly. Essentially, you don't use detail at all, you use the groups and you could embedd subreports in each group that contained the fields you wanted to display for that condition and the totals you wanted to show. This is entirely possible in .Net, but it's been a long time since I made Access behave this way. I know it works, I'm just fuzzy on the details! Charlotte Foust On Fri, Dec 30, 2011 at 12:16 PM, David McAfee wrote: > You could do things old school with hidden fields in the details section > for all of the fields you want to subtotal. > > Then depending on some other form or input parameter, hide/show the > appropriate field(s) in the report footer. > > HTH > David > > On Thu, Dec 29, 2011 at 8:07 PM, Benson, William (GE Global Research, > consultant) wrote: > > > I doubt possible. If you notice, the name of the section in the report > > designer is based on the actual field you grouped on. This is not a > > property that can change. When you are in runtime, Access is looking at > > this as group 1, 2, etc... Doesn't give you access to what field it is > > holding in that position. It makes sense to me why you can't. > > > > Now, you can use the format event of the section to create a new > > calculation using recordsets... will slow down the report considerably. > But > > the subtotals (calculated items) will be flawed anyway because they > > won't > > be based on where the data really breaks, according to your field of > > interest in the rowsource. > > > > I'd be interested to find out I am wrong... > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > > Sent: Thursday, December 29, 2011 10:30 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > Hi Brad > > > > Here's some code that might work ... It's from an Excel VBA project, and > > will need a little tweaking, but the sorting basics should be the same > ... > > > > Watch for line wrap on the 'UserChoice' line ... > > > > Regards, > > Bob Gajewski > > > > ================================== > > END OF CODE > > ================================== > > > > Sub SortByColumnSelect() > > > > Rem Take Screen Control From Application > > varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) > > varFilePath = ActiveWorkbook.Path > > Application.ScreenUpdating = False > > Application.Cursor = xlWait > > Application.DisplayStatusBar = True > > Application.StatusBar = "Formatting 0% complete" > > > > Rem Go to top left cell > > Application.Goto Worksheets(1).Range("A1") > > > > Rem Freeze the top line > > With ActiveWindow > > .SplitColumn = 0 > > .SplitRow = 1 > > End With > > ActiveWindow.FreezePanes = True > > > > UserChoice = MsgBox("The data will be sorted and sub-totaled by months." > & > > vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + > > vbQuestion + vbDefaultButton2, "Sort by client?") > > If UserChoice = vbNo Then > > Rem Sort the spreadsheet by column "A" (month) > > Cells.Sort Key1:=Range("A2"), Header:=xlYes > > Selection.Subtotal GroupBy:=1, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > Else > > Rem Sort the spreadsheet by column "B" (client) > > Cells.Sort Key1:=Range("B2"), Header:=xlYes > > Selection.Subtotal GroupBy:=2, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > End If > > > > Rem Collapse the view to show only subtotals, color them grey, then > expand > > the view to show all detail > > ActiveSheet.Outline.ShowLevels 2 > > > > > ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorIndex > = > > 15 > > ActiveSheet.Outline.ShowLevels 3 > > > > Rem Fill in columns "A" (month), "B" (client) > > lastrow = ActiveSheet.UsedRange.Rows.Count > > For r = lastrow To 2 Step -1 > > varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / > (lastrow > > - 1)) * 100, 0) > > Application.StatusBar = "Formatting subtotal rows " & > > varPercentageComplete & "% complete" > > If Right(Cells(r, 1).Value, 5) = "Total" Then > > Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, > > 1)) - > > 6) > > End If > > If Cells(r, 2).Value = "" Then > > Cells(r, 2).Value = Cells(r - 1, 2).Value > > End If > > Next r > > > > Rem Collapse the view to show only sutotals > > ActiveSheet.Outline.ShowLevels 2 > > > > Rem Resize all columns to show full width > > Columns.AutoFit > > > > Rem Save output file > > Application.DisplayAlerts = False > > Application.StatusBar = "Saving formatted spreadsheet in XLS format > ..." > > ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & > > varFileName & " (created " & Format(Date, "yyyymmdd") & ")", > > FileFormat:=xlNormal > > Application.DisplayAlerts = True > > > > Rem Return screen control > > Application.Cursor = Default > > Application.StatusBar = "" > > Application.ScreenUpdating = True > > ' ActiveWorkbook.Close > > ' Application.Quit > > > > End Sub > > > > ================================== > > END OF CODE > > ================================== > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 29, 2011 16:05 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > We have an Access 2007 report that currently has subtotals by month. > > > > Recently there was a request to create a variation of this report with > > subtotals by Customer. > > > > It would be quite easy to create a second report. But then I remembered > a > > slogan which said something like "Why make things simple when you can > make > > them complex and wonderful". So I started to wonder if it is possible > > to > > use VBA to change a report's sub-totals on the fly (controlled by > > buttons > > at the top of the report). > > > > Is this possible? > > > > Thanks, > > > > Brad From jwcolby at colbyconsulting.com Mon Jan 2 06:39:22 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 07:39:22 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: Message-ID: <4F01A57A.8090809@colbyconsulting.com> > Then, I think, all you need is a function to add the references from the full paths: I assume I have to drop the old reference first. > and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: You don't think this can be done from the C# code as well? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 3:05 AM, Gustav Brock wrote: > Hi John > > Then, I think, all you need is a function to add the references from the full paths: > > References.AddFromFile strFullPath1 > References.AddFromFile strFullPath2 > etc. > > and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: > > > Option Explicit > > Public Function CompileAndSave() > > ' Compile and Save All Modules. > ' The command: > ' Application.RunCommand acCmdCompileAndSaveAllModules > ' can not be used as no module is open. > ' Thus, use undocumented SysCmd() call. > Call SysCmd(504, 16483) > > End Function > > > Call these from the AutoExec macro as the first happening: > > RunCode: AddReferences () > RunCode: CompileAndSave() > > This works with Access. I haven't tried (have no need) to run Access and call macros from C#. > > /gustav > > >>>> jwcolby at colbyconsulting.com 02-01-2012 04:51>>> > > I read the article as saying the same thing I was saying. > > Yep. > > What I am after is actually storing the references outside of the container, opening the container > with C# code and deleting / (re)creating the references "on-the-fly". The reason I want to do this > is simply that the whole "use the reference if it is found otherwise search and recreate the > reference" causes me (as the developer) immense problems. I carefully set up references to specific > paths on the C:\xyz\ directory, store the database container on the network and then... my client > opens the file in place and the file "fixes" the broken file automagically. Except I wanted the > reference I had, not the reference it fixed it to. He didn't even know that this "fix" was > occurring and neither did I. > > So my objective is to download the files and the libs, open the FE, delete specific references (to > these libs) and rebuild them, referencing the lib files in the directory that I just downloaded the > libs to. > > This is a different task, though similar to just "fixing broken references". I mean to delete the > references and recreate them entirely, at a location of my own choosing. And notice that I am only > discussing just the references to my libs, I am not discussing various and sundry issues with things > like versions of excel etc. However it occurs to me that if I copied the excel lib to a specific > location as well, I could fix the reference to that as well. The whole "what version of office is > on your machine / early / late bind" issue would suddenly become a non-issue. > > I just spent a looooong few days battling what turned out to be references which managed to find and > "fix" to old outdated copies of my framework. Who really knows what is sitting out on a user's machine? > > Sigh. > > With my new tool I will know precisely where I am putting things and fix the references to the files > that I have just copied. > > It turns out to be trivial to read out the references for an access container. Store that "one > time" in a child table out in my tool and voila, I know where to go and get the file that is really > needed for a given access container - even things like excel or word libs. > > Note I have not yet actually *done* this. ;) But I have the rest of the copy and run app up and > working. Adding this is an incremental upgrade to what I already am using. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/1/2012 10:00 PM, Charlotte Foust wrote: >> John, >> >> I read the article as saying the same thing I was saying. In the code you >> run from autoexec, you disambiguate everything but the VBA call he >> suggested is to check a particular reference to see if VBA is broken. I >> believe you'll find that you still need VBE to do the fixing because it can >> be called without loading VBA. Calling things using the VBA library in >> disambiguated calls doesn't fix a broken reference. You have to test each >> reference to see which one is broken and fix it before you load VBA. >> >> >> Charlotte Foust > > From Gustav at cactus.dk Mon Jan 2 07:15:57 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 02 Jan 2012 14:15:57 +0100 Subject: [AccessD] Set references via automation Message-ID: Hi John I thought you planned to make some kind of clean install where references were not set - including the files for the libraries to be used - then add these libraries as references. Of course, if they are already there, you would need to delete them first - should be no big deal. But if you use a fixed path for the libraries, I don't see why it should be necessary to remove and re-add these. I don't know about macros run via automation or from the office tools for Visual Studio. By second thought, using the AutoExec macro was just convenient, it could be run from the opening form as well as long as it doesn't contain action code dependant on the new references. If so, you should be able to call the functions directly via the office tool, thus skipping the macro stuff - but again, I'm shooting in the wild, have never used it. /gustav >>> jwcolby at colbyconsulting.com 02-01-2012 13:39 >>> > Then, I think, all you need is a function to add the references from the full paths: I assume I have to drop the old reference first. > and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: You don't think this can be done from the C# code as well? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 3:05 AM, Gustav Brock wrote: > Hi John > > Then, I think, all you need is a function to add the references from the full paths: > > References.AddFromFile strFullPath1 > References.AddFromFile strFullPath2 > etc. > > and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: > > > Option Explicit > > Public Function CompileAndSave() > > ' Compile and Save All Modules. > ' The command: > ' Application.RunCommand acCmdCompileAndSaveAllModules > ' can not be used as no module is open. > ' Thus, use undocumented SysCmd() call. > Call SysCmd(504, 16483) > > End Function > > > Call these from the AutoExec macro as the first happening: > > RunCode: AddReferences () > RunCode: CompileAndSave() > > This works with Access. I haven't tried (have no need) to run Access and call macros from C#. > > /gustav > > >>>> jwcolby at colbyconsulting.com 02-01-2012 04:51>>> > > I read the article as saying the same thing I was saying. > > Yep. > > What I am after is actually storing the references outside of the container, opening the container > with C# code and deleting / (re)creating the references "on-the-fly". The reason I want to do this > is simply that the whole "use the reference if it is found otherwise search and recreate the > reference" causes me (as the developer) immense problems. I carefully set up references to specific > paths on the C:\xyz\ directory, store the database container on the network and then... my client > opens the file in place and the file "fixes" the broken file automagically. Except I wanted the > reference I had, not the reference it fixed it to. He didn't even know that this "fix" was > occurring and neither did I. > > So my objective is to download the files and the libs, open the FE, delete specific references (to > these libs) and rebuild them, referencing the lib files in the directory that I just downloaded the > libs to. > > This is a different task, though similar to just "fixing broken references". I mean to delete the > references and recreate them entirely, at a location of my own choosing. And notice that I am only > discussing just the references to my libs, I am not discussing various and sundry issues with things > like versions of excel etc. However it occurs to me that if I copied the excel lib to a specific > location as well, I could fix the reference to that as well. The whole "what version of office is > on your machine / early / late bind" issue would suddenly become a non-issue. > > I just spent a looooong few days battling what turned out to be references which managed to find and > "fix" to old outdated copies of my framework. Who really knows what is sitting out on a user's machine? > > Sigh. > > With my new tool I will know precisely where I am putting things and fix the references to the files > that I have just copied. > > It turns out to be trivial to read out the references for an access container. Store that "one > time" in a child table out in my tool and voila, I know where to go and get the file that is really > needed for a given access container - even things like excel or word libs. > > Note I have not yet actually *done* this. ;) But I have the rest of the copy and run app up and > working. Adding this is an incremental upgrade to what I already am using. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/1/2012 10:00 PM, Charlotte Foust wrote: >> John, >> >> I read the article as saying the same thing I was saying. In the code you >> run from autoexec, you disambiguate everything but the VBA call he >> suggested is to check a particular reference to see if VBA is broken. I >> believe you'll find that you still need VBE to do the fixing because it can >> be called without loading VBA. Calling things using the VBA library in >> disambiguated calls doesn't fix a broken reference. You have to test each >> reference to see which one is broken and fix it before you load VBA. >> >> >> Charlotte Foust From tinanfields at torchlake.com Mon Jan 2 08:28:31 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 02 Jan 2012 09:28:31 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4F0130F4.1030108@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com><4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> Message-ID: <4F01BF0F.4080105@torchlake.com> Yeah, I saw that. I'm also not bidding. I want one for $25. I don't care at all about being among the first to own one. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/1/2012 11:22 PM, jwcolby wrote: > Here ya go... the first boards are being auctioned. I'm not > bidding... ;) > > http://www.raspberrypi.org/ > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 12/29/2011 1:06 PM, Tina Norris Fields wrote: >> I want one because a pocket-sized computer like this for $25 is just >> too wonderful to pass up. I >> would use it for many things, but mostly for teaching people about >> using computers. >> >> http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-capable-computer-for-25/ >> >> >> Best, >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 12/29/2011 12:30 PM, David McAfee wrote: >>> Thank you, I was just about to ask the same. >>> >>> A quick scan of the link shows a lot of "coming soon" but doesn't >>> say what >>> it is or what it does. >>> >>> >>> >>> On Thu, Dec 29, 2011 at 9:14 AM, William >>> Bensonwrote: >>> >>>> Help me understand .... what is it or at least why do you want it? >>>> On Dec 29, 2011 9:22 AM, "Tina Norris >>>> Fields" >>>> wrote: >>>> >>>>> I've been waiting. Production was supposed to be in mid-December >>>>> 2011, >>>> if >>>>> I recall correctly. Still waiting, patiently....umm, no, >>>>> impatiently. I >>>>> want one of those little things! >>>>> T >>>>> >>>>> Tina Norris Fields >>>>> tinanfields at torchlake.com >>>>> 231-322-2787 >>>>> >>>>> >>>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>>> >>>>>> http://www.raspberrypi.org/ >>>>>> >>>>>> They are apparently close to production. >>>>>> >>>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/**mailman/listinfo/accessd< >>>> http://databaseadvisors.com/mailman/listinfo/accessd> >>>>> Website: http://www.databaseadvisors.**com< >>>> 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 colbyconsulting.com Mon Jan 2 08:58:06 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 09:58:06 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: Message-ID: <4F01C5FE.3000707@colbyconsulting.com> Gustav, > I thought you planned to make some kind of clean install where references were not set No, the references being set are a requirement of development and removing them before putting them in the network location would require a utility to do that, or an intentional open and delete the references manually. What I plan to do is save the path to the referenced libs (the source), then my CopyAndRun C# app would copy those libs to a c:\XYZ directory, then set up the references in the app to that C:\XYZ location. Of course deleting them before I move them to the network location would prevent them from even opening (correctly) directly in that network location. I am actually looking at a C# utility to push from dev to test and from test to production. The reason is that, as I mentioned previously, an FE version is matched with a specific version of the framework. What would be ideal is to zip up all the objects being pushed (so they could be restored if needed) and then copy the new objects in. If I had that then I could remove the references as well. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 8:15 AM, Gustav Brock wrote: > Hi John > > I thought you planned to make some kind of clean install where references were not set - including the files for the libraries to be used - then add these libraries as references. > Of course, if they are already there, you would need to delete them first - should be no big deal. But if you use a fixed path for the libraries, I don't see why it should be necessary to remove and re-add these. > > I don't know about macros run via automation or from the office tools for Visual Studio. By second thought, using the AutoExec macro was just convenient, it could be run from the opening form as well as long as it doesn't contain action code dependant on the new references. If so, you should be able to call the functions directly via the office tool, thus skipping the macro stuff - but again, I'm shooting in the wild, have never used it. > > /gustav > > >>>> jwcolby at colbyconsulting.com 02-01-2012 13:39>>> > > Then, I think, all you need is a function to add the references from the full paths: > > I assume I have to drop the old reference first. > > > and - when done - and this is the trick - one(1) function in a separate module to be used to > compile and save all (other) modules: > > You don't think this can be done from the C# code as well? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 3:05 AM, Gustav Brock wrote: >> Hi John >> >> Then, I think, all you need is a function to add the references from the full paths: >> >> References.AddFromFile strFullPath1 >> References.AddFromFile strFullPath2 >> etc. >> >> and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: >> >> >> Option Explicit >> >> Public Function CompileAndSave() >> >> ' Compile and Save All Modules. >> ' The command: >> ' Application.RunCommand acCmdCompileAndSaveAllModules >> ' can not be used as no module is open. >> ' Thus, use undocumented SysCmd() call. >> Call SysCmd(504, 16483) >> >> End Function >> >> >> Call these from the AutoExec macro as the first happening: >> >> RunCode: AddReferences () >> RunCode: CompileAndSave() >> >> This works with Access. I haven't tried (have no need) to run Access and call macros from C#. >> >> /gustav From jwcolby at colbyconsulting.com Mon Jan 2 09:56:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 10:56:55 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4F01BF0F.4080105@torchlake.com> References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com><4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> <4F01BF0F.4080105@torchlake.com> Message-ID: <4F01D3C7.7070605@colbyconsulting.com> >I want one for $25. I'm going for the $35 model with the network connector >I don't care at all about being among the first to own one. Yea, me either. It is amazing how much money some folks have though. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 9:28 AM, Tina Norris Fields wrote: > Yeah, I saw that. I'm also not bidding. I want one for $25. I don't care at all about being among > the first to own one. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 1/1/2012 11:22 PM, jwcolby wrote: >> Here ya go... the first boards are being auctioned. I'm not bidding... ;) >> >> http://www.raspberrypi.org/ >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/29/2011 1:06 PM, Tina Norris Fields wrote: >>> I want one because a pocket-sized computer like this for $25 is just too wonderful to pass up. I >>> would use it for many things, but mostly for teaching people about using computers. >>> >>> http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-capable-computer-for-25/ >>> >>> Best, >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 12/29/2011 12:30 PM, David McAfee wrote: >>>> Thank you, I was just about to ask the same. >>>> >>>> A quick scan of the link shows a lot of "coming soon" but doesn't say what >>>> it is or what it does. >>>> >>>> >>>> >>>> On Thu, Dec 29, 2011 at 9:14 AM, William Bensonwrote: >>>> >>>>> Help me understand .... what is it or at least why do you want it? >>>>> On Dec 29, 2011 9:22 AM, "Tina Norris Fields" >>>>> wrote: >>>>> >>>>>> I've been waiting. Production was supposed to be in mid-December 2011, >>>>> if >>>>>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>>>>> want one of those little things! >>>>>> T >>>>>> >>>>>> Tina Norris Fields >>>>>> tinanfields at torchlake.com >>>>>> 231-322-2787 >>>>>> >>>>>> >>>>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>>>> >>>>>>> http://www.raspberrypi.org/ >>>>>>> >>>>>>> They are apparently close to production. >>>>>>> >>>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/**mailman/listinfo/accessd< >>>>> http://databaseadvisors.com/mailman/listinfo/accessd> >>>>>> Website: http://www.databaseadvisors.**com< >>>>> http://www.databaseadvisors.com> >>>>> -- >>>>> AccessD mailing list >>>>> AccessD at databaseadvisors.com >>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>> Website: http://www.databaseadvisors.com >>>>> >> From tinanfields at torchlake.com Mon Jan 2 10:26:22 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 02 Jan 2012 11:26:22 -0500 Subject: [AccessD] but does it run... In-Reply-To: <4F01D3C7.7070605@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com><4EFCAC2C.9020504@torchlake.com><4F013 0F4.1030108@colbyconsulting.com><4F01BF0F.4080105@torchlake.com> <4F01D3C7.7070605@colbyconsulting.com> Message-ID: <4F01DAAE.2000201@torchlake.com> You're right, the extra $10 would be worth it. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/2/2012 10:56 AM, jwcolby wrote: > >I want one for $25. > > I'm going for the $35 model with the network connector > > >I don't care at all about being among the first to own one. > > Yea, me either. It is amazing how much money some folks have though. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 9:28 AM, Tina Norris Fields wrote: >> Yeah, I saw that. I'm also not bidding. I want one for $25. I don't >> care at all about being among >> the first to own one. >> T >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> On 1/1/2012 11:22 PM, jwcolby wrote: >>> Here ya go... the first boards are being auctioned. I'm not >>> bidding... ;) >>> >>> http://www.raspberrypi.org/ >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 12/29/2011 1:06 PM, Tina Norris Fields wrote: >>>> I want one because a pocket-sized computer like this for $25 is >>>> just too wonderful to pass up. I >>>> would use it for many things, but mostly for teaching people about >>>> using computers. >>>> >>>> http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-capable-computer-for-25/ >>>> >>>> >>>> Best, >>>> T >>>> >>>> Tina Norris Fields >>>> tinanfields at torchlake.com >>>> 231-322-2787 >>>> >>>> >>>> On 12/29/2011 12:30 PM, David McAfee wrote: >>>>> Thank you, I was just about to ask the same. >>>>> >>>>> A quick scan of the link shows a lot of "coming soon" but doesn't >>>>> say what >>>>> it is or what it does. >>>>> >>>>> >>>>> >>>>> On Thu, Dec 29, 2011 at 9:14 AM, William >>>>> Bensonwrote: >>>>> >>>>>> Help me understand .... what is it or at least why do you want it? >>>>>> On Dec 29, 2011 9:22 AM, "Tina Norris >>>>>> Fields" >>>>>> wrote: >>>>>> >>>>>>> I've been waiting. Production was supposed to be in mid-December >>>>>>> 2011, >>>>>> if >>>>>>> I recall correctly. Still waiting, patiently....umm, no, >>>>>>> impatiently. I >>>>>>> want one of those little things! >>>>>>> T >>>>>>> >>>>>>> Tina Norris Fields >>>>>>> tinanfields at torchlake.com >>>>>>> 231-322-2787 >>>>>>> >>>>>>> >>>>>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>>>>> >>>>>>>> http://www.raspberrypi.org/ >>>>>>>> >>>>>>>> They are apparently close to production. >>>>>>>> >>>>>>>> -- >>>>>>> AccessD mailing list >>>>>>> AccessD at databaseadvisors.com >>>>>>> http://databaseadvisors.com/**mailman/listinfo/accessd< >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd> >>>>>>> Website: http://www.databaseadvisors.**com< >>>>>> http://www.databaseadvisors.com> >>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>>>> Website: http://www.databaseadvisors.com >>>>>> >>> > From charlotte.foust at gmail.com Mon Jan 2 10:24:58 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 2 Jan 2012 08:24:58 -0800 Subject: [AccessD] Set references via automation In-Reply-To: References: Message-ID: Nope, not from the opening form. That loads libraries and you have to clean the references first. Charlotte Foust On Mon, Jan 2, 2012 at 5:15 AM, Gustav Brock wrote: > Hi John > > I thought you planned to make some kind of clean install where references > were not set - including the files for the libraries to be used - then add > these libraries as references. > Of course, if they are already there, you would need to delete them first > - should be no big deal. But if you use a fixed path for the libraries, I > don't see why it should be necessary to remove and re-add these. > > I don't know about macros run via automation or from the office tools for > Visual Studio. By second thought, using the AutoExec macro was just > convenient, it could be run from the opening form as well as long as it > doesn't contain action code dependant on the new references. If so, you > should be able to call the functions directly via the office tool, thus > skipping the macro stuff - but again, I'm shooting in the wild, have never > used it. > > /gustav > > > >>> jwcolby at colbyconsulting.com 02-01-2012 13:39 >>> > > Then, I think, all you need is a function to add the references from > the full paths: > > I assume I have to drop the old reference first. > > > and - when done - and this is the trick - one(1) function in a separate > module to be used to > compile and save all (other) modules: > > You don't think this can be done from the C# code as well? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 3:05 AM, Gustav Brock wrote: > > Hi John > > > > Then, I think, all you need is a function to add the references from the > full paths: > > > > References.AddFromFile strFullPath1 > > References.AddFromFile strFullPath2 > > etc. > > > > and - when done - and this is the trick - one(1) function in a separate > module to be used to compile and save all (other) modules: > > > > > > Option Explicit > > > > Public Function CompileAndSave() > > > > ' Compile and Save All Modules. > > ' The command: > > ' Application.RunCommand acCmdCompileAndSaveAllModules > > ' can not be used as no module is open. > > ' Thus, use undocumented SysCmd() call. > > Call SysCmd(504, 16483) > > > > End Function > > > > > > Call these from the AutoExec macro as the first happening: > > > > RunCode: AddReferences () > > RunCode: CompileAndSave() > > > > This works with Access. I haven't tried (have no need) to run Access and > call macros from C#. > > > > /gustav > > > > > >>>> jwcolby at colbyconsulting.com 02-01-2012 04:51>>> > > > I read the article as saying the same thing I was saying. > > > > Yep. > > > > What I am after is actually storing the references outside of the > container, opening the container > > with C# code and deleting / (re)creating the references "on-the-fly". > The reason I want to do this > > is simply that the whole "use the reference if it is found otherwise > search and recreate the > > reference" causes me (as the developer) immense problems. I carefully > set up references to specific > > paths on the C:\xyz\ directory, store the database container on the > network and then... my client > > opens the file in place and the file "fixes" the broken file > automagically. Except I wanted the > > reference I had, not the reference it fixed it to. He didn't even know > that this "fix" was > > occurring and neither did I. > > > > So my objective is to download the files and the libs, open the FE, > delete specific references (to > > these libs) and rebuild them, referencing the lib files in the directory > that I just downloaded the > > libs to. > > > > This is a different task, though similar to just "fixing broken > references". I mean to delete the > > references and recreate them entirely, at a location of my own choosing. > And notice that I am only > > discussing just the references to my libs, I am not discussing various > and sundry issues with things > > like versions of excel etc. However it occurs to me that if I copied > the excel lib to a specific > > location as well, I could fix the reference to that as well. The whole > "what version of office is > > on your machine / early / late bind" issue would suddenly become a > non-issue. > > > > I just spent a looooong few days battling what turned out to be > references which managed to find and > > "fix" to old outdated copies of my framework. Who really knows what is > sitting out on a user's machine? > > > > Sigh. > > > > With my new tool I will know precisely where I am putting things and fix > the references to the files > > that I have just copied. > > > > It turns out to be trivial to read out the references for an access > container. Store that "one > > time" in a child table out in my tool and voila, I know where to go and > get the file that is really > > needed for a given access container - even things like excel or word > libs. > > > > Note I have not yet actually *done* this. ;) But I have the rest of > the copy and run app up and > > working. Adding this is an incremental upgrade to what I already am > using. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/1/2012 10:00 PM, Charlotte Foust wrote: > >> John, > >> > >> I read the article as saying the same thing I was saying. In the code > you > >> run from autoexec, you disambiguate everything but the VBA call he > >> suggested is to check a particular reference to see if VBA is broken. I > >> believe you'll find that you still need VBE to do the fixing because it > can > >> be called without loading VBA. Calling things using the VBA library in > >> disambiguated calls doesn't fix a broken reference. You have to test > each > >> reference to see which one is broken and fix it before you load VBA. > >> > >> > >> Charlotte Foust > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From jwcolby at colbyconsulting.com Mon Jan 2 10:31:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 11:31:55 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: Message-ID: <4F01DBFB.8050604@colbyconsulting.com> > Nope, not from the opening form. That loads libraries and you have to clean the references first. Yep, the link I posted clearly states that you can't open any form until the references are fixed or you trigger the runtime errors. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 11:24 AM, Charlotte Foust wrote: > Nope, not from the opening form. That loads libraries and you have to > clean the references first. > > Charlotte Foust > > On Mon, Jan 2, 2012 at 5:15 AM, Gustav Brock wrote: > >> Hi John >> >> I thought you planned to make some kind of clean install where references >> were not set - including the files for the libraries to be used - then add >> these libraries as references. >> Of course, if they are already there, you would need to delete them first >> - should be no big deal. But if you use a fixed path for the libraries, I >> don't see why it should be necessary to remove and re-add these. >> >> I don't know about macros run via automation or from the office tools for >> Visual Studio. By second thought, using the AutoExec macro was just >> convenient, it could be run from the opening form as well as long as it >> doesn't contain action code dependant on the new references. If so, you >> should be able to call the functions directly via the office tool, thus >> skipping the macro stuff - but again, I'm shooting in the wild, have never >> used it. >> >> /gustav >> >> >>>>> jwcolby at colbyconsulting.com 02-01-2012 13:39>>> >> > Then, I think, all you need is a function to add the references from >> the full paths: >> >> I assume I have to drop the old reference first. >> >> > and - when done - and this is the trick - one(1) function in a separate >> module to be used to >> compile and save all (other) modules: >> >> You don't think this can be done from the C# code as well? >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 1/2/2012 3:05 AM, Gustav Brock wrote: >>> Hi John >>> >>> Then, I think, all you need is a function to add the references from the >> full paths: >>> >>> References.AddFromFile strFullPath1 >>> References.AddFromFile strFullPath2 >>> etc. >>> >>> and - when done - and this is the trick - one(1) function in a separate >> module to be used to compile and save all (other) modules: >>> >>> >>> Option Explicit >>> >>> Public Function CompileAndSave() >>> >>> ' Compile and Save All Modules. >>> ' The command: >>> ' Application.RunCommand acCmdCompileAndSaveAllModules >>> ' can not be used as no module is open. >>> ' Thus, use undocumented SysCmd() call. >>> Call SysCmd(504, 16483) >>> >>> End Function >>> >>> >>> Call these from the AutoExec macro as the first happening: >>> >>> RunCode: AddReferences () >>> RunCode: CompileAndSave() >>> >>> This works with Access. I haven't tried (have no need) to run Access and >> call macros from C#. >>> >>> /gustav >>> >>> >>>>>> jwcolby at colbyconsulting.com 02-01-2012 04:51>>> >>> > I read the article as saying the same thing I was saying. >>> >>> Yep. >>> >>> What I am after is actually storing the references outside of the >> container, opening the container >>> with C# code and deleting / (re)creating the references "on-the-fly". >> The reason I want to do this >>> is simply that the whole "use the reference if it is found otherwise >> search and recreate the >>> reference" causes me (as the developer) immense problems. I carefully >> set up references to specific >>> paths on the C:\xyz\ directory, store the database container on the >> network and then... my client >>> opens the file in place and the file "fixes" the broken file >> automagically. Except I wanted the >>> reference I had, not the reference it fixed it to. He didn't even know >> that this "fix" was >>> occurring and neither did I. >>> >>> So my objective is to download the files and the libs, open the FE, >> delete specific references (to >>> these libs) and rebuild them, referencing the lib files in the directory >> that I just downloaded the >>> libs to. >>> >>> This is a different task, though similar to just "fixing broken >> references". I mean to delete the >>> references and recreate them entirely, at a location of my own choosing. >> And notice that I am only >>> discussing just the references to my libs, I am not discussing various >> and sundry issues with things >>> like versions of excel etc. However it occurs to me that if I copied >> the excel lib to a specific >>> location as well, I could fix the reference to that as well. The whole >> "what version of office is >>> on your machine / early / late bind" issue would suddenly become a >> non-issue. >>> >>> I just spent a looooong few days battling what turned out to be >> references which managed to find and >>> "fix" to old outdated copies of my framework. Who really knows what is >> sitting out on a user's machine? >>> >>> Sigh. >>> >>> With my new tool I will know precisely where I am putting things and fix >> the references to the files >>> that I have just copied. >>> >>> It turns out to be trivial to read out the references for an access >> container. Store that "one >>> time" in a child table out in my tool and voila, I know where to go and >> get the file that is really >>> needed for a given access container - even things like excel or word >> libs. >>> >>> Note I have not yet actually *done* this. ;) But I have the rest of >> the copy and run app up and >>> working. Adding this is an incremental upgrade to what I already am >> using. >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 1/1/2012 10:00 PM, Charlotte Foust wrote: >>>> John, >>>> >>>> I read the article as saying the same thing I was saying. In the code >> you >>>> run from autoexec, you disambiguate everything but the VBA call he >>>> suggested is to check a particular reference to see if VBA is broken. I >>>> believe you'll find that you still need VBE to do the fixing because it >> can >>>> be called without loading VBA. Calling things using the VBA library in >>>> disambiguated calls doesn't fix a broken reference. You have to test >> each >>>> reference to see which one is broken and fix it before you load VBA. >>>> >>>> >>>> Charlotte Foust >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> From Gustav at cactus.dk Mon Jan 2 10:52:34 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 02 Jan 2012 17:52:34 +0100 Subject: [AccessD] Set references via automation Message-ID: Hi Charlotte Are you sure? I'm quite sure I once tried that with a simple splash-type form. There will be nothing to stop it from being displayed as long as no code dependant on a missing reference is run. In any case you should be able to open a form with no code-behind but with a visible textbox or checkbox with the controlsource set to something like: =CompileAndSave(VerifyReferences()) where VerifyReferences returns a boolean which, if False, would cancel the compile-and-save and instead pop a messagebox with an error. /gustav >>> charlotte.foust at gmail.com 02-01-2012 17:24 >>> Nope, not from the opening form. That loads libraries and you have to clean the references first. Charlotte Foust On Mon, Jan 2, 2012 at 5:15 AM, Gustav Brock wrote: > Hi John > > I thought you planned to make some kind of clean install where references > were not set - including the files for the libraries to be used - then add > these libraries as references. > Of course, if they are already there, you would need to delete them first > - should be no big deal. But if you use a fixed path for the libraries, I > don't see why it should be necessary to remove and re-add these. > > I don't know about macros run via automation or from the office tools for > Visual Studio. By second thought, using the AutoExec macro was just > convenient, it could be run from the opening form as well as long as it > doesn't contain action code dependant on the new references. If so, you > should be able to call the functions directly via the office tool, thus > skipping the macro stuff - but again, I'm shooting in the wild, have never > used it. > > /gustav From accessd at shaw.ca Mon Jan 2 11:04:48 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 2 Jan 2012 09:04:48 -0800 Subject: [AccessD] but does it run... In-Reply-To: <4F01D3C7.7070605@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> <"CAGuQ9V4tK8Q9B-7rxt=45_orqLk9eHpCrrdKvO32a8UBs E+0qw"@mail.gmail.com> <4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> <4F01BF0F.4080105@torchlake.com> <4F01D3C7.7070605@colbyconsulting.com> Message-ID: <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> It will after all be a piece of history and some will be buying to have that, to be ahead of the pack if they are thinking of developing and some people may be betting that the 2K they will be putting out now will eventually be bought again by some collector, at much more, in the future. There will be a bit of a cost for those buying these units at the Los Vegas show...the additional SD card with the setup Debian OS. $35 plus... I wonder if the sales, at Los Vegas, will set records for numbers. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 02, 2012 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] but does it run... >I want one for $25. I'm going for the $35 model with the network connector >I don't care at all about being among the first to own one. Yea, me either. It is amazing how much money some folks have though. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 9:28 AM, Tina Norris Fields wrote: > Yeah, I saw that. I'm also not bidding. I want one for $25. I don't care at all about being among > the first to own one. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > On 1/1/2012 11:22 PM, jwcolby wrote: >> Here ya go... the first boards are being auctioned. I'm not bidding... ;) >> >> http://www.raspberrypi.org/ >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 12/29/2011 1:06 PM, Tina Norris Fields wrote: >>> I want one because a pocket-sized computer like this for $25 is just too wonderful to pass up. I >>> would use it for many things, but mostly for teaching people about using computers. >>> >>> http://www.wired.com/gadgetlab/2011/12/raspberry-pi-a-pocket-sized-1080p-cap able-computer-for-25/ >>> >>> Best, >>> T >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> On 12/29/2011 12:30 PM, David McAfee wrote: >>>> Thank you, I was just about to ask the same. >>>> >>>> A quick scan of the link shows a lot of "coming soon" but doesn't say what >>>> it is or what it does. >>>> >>>> >>>> >>>> On Thu, Dec 29, 2011 at 9:14 AM, William Bensonwrote: >>>> >>>>> Help me understand .... what is it or at least why do you want it? >>>>> On Dec 29, 2011 9:22 AM, "Tina Norris Fields" >>>>> wrote: >>>>> >>>>>> I've been waiting. Production was supposed to be in mid-December 2011, >>>>> if >>>>>> I recall correctly. Still waiting, patiently....umm, no, impatiently. I >>>>>> want one of those little things! >>>>>> T >>>>>> >>>>>> Tina Norris Fields >>>>>> tinanfields at torchlake.com >>>>>> 231-322-2787 >>>>>> >>>>>> >>>>>> On 12/28/2011 3:20 PM, jwcolby wrote: >>>>>> >>>>>>> http://www.raspberrypi.org/ >>>>>>> >>>>>>> They are apparently close to production. >>>>>>> >>>>>>> -- >>>>>> AccessD mailing list >>>>>> AccessD at databaseadvisors.com >>>>>> http://databaseadvisors.com/**mailman/listinfo/accessd< >>>>> http://databaseadvisors.com/mailman/listinfo/accessd> >>>>>> Website: http://www.databaseadvisors.**com< >>>>> 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 colbyconsulting.com Mon Jan 2 11:13:58 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 12:13:58 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: Message-ID: <4F01E5D6.6040205@colbyconsulting.com> Gustav, I was mistaken, it doesn't actually say opening a form will absolutely unequivocally trigger an error. It does say don't do it. http://www.trigeminal.com/usenet/usenet026.asp Do not load any forms, even hidden ones, especially not ones with custom controls on them -- you will find control sites not hooked up which causes all kinds of problems. This is stuff for later, after you have fixed up references. The error this can cause will be familiar to many: "You entered an expression that has an invalid reference to the property __________" (fill in the blank with on-click or some other property). John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 11:52 AM, Gustav Brock wrote: > Hi Charlotte > > Are you sure? I'm quite sure I once tried that with a simple splash-type form. There will be nothing to stop it from being displayed as long as no code dependant on a missing reference is run. > In any case you should be able to open a form with no code-behind but with a visible textbox or checkbox with the controlsource set to something like: > > =CompileAndSave(VerifyReferences()) > > where VerifyReferences returns a boolean which, if False, would cancel the compile-and-save and instead pop a messagebox with an error. > > /gustav > > >>>> charlotte.foust at gmail.com 02-01-2012 17:24>>> > Nope, not from the opening form. That loads libraries and you have to > clean the references first. > > Charlotte Foust > > On Mon, Jan 2, 2012 at 5:15 AM, Gustav Brock wrote: > >> Hi John >> >> I thought you planned to make some kind of clean install where references >> were not set - including the files for the libraries to be used - then add >> these libraries as references. >> Of course, if they are already there, you would need to delete them first >> - should be no big deal. But if you use a fixed path for the libraries, I >> don't see why it should be necessary to remove and re-add these. >> >> I don't know about macros run via automation or from the office tools for >> Visual Studio. By second thought, using the AutoExec macro was just >> convenient, it could be run from the opening form as well as long as it >> doesn't contain action code dependant on the new references. If so, you >> should be able to call the functions directly via the office tool, thus >> skipping the macro stuff - but again, I'm shooting in the wild, have never >> used it. >> >> /gustav > > From jwcolby at colbyconsulting.com Mon Jan 2 12:22:10 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 13:22:10 -0500 Subject: [AccessD] but does it run... In-Reply-To: <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> <"CAGuQ9V4tK8Q9B-7rxt=45_orqLk9eHpCrrdKvO32a8UBs E+0qw"@mail.gmail.com> <4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> <4F01BF0F.4080105@torchlake.com> <4F01D3C7.7070605@colbyconsulting.com> <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> Message-ID: <4F01F5D2.9010801@colbyconsulting.com> I just find it a fascinating concept. Remember One Laptop Per Child? http://laptop.org/en/laptop/hardware/specs.shtml OLPC still seems to be alive and kicking, though nowhere near the numbers hoped for I am sure, even so a couple of million built. So much has changed since that project started. A RasberryPi would make a hell of a foundation for a new OLPC model. I always hope such things do some good in the world. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 12:04 PM, Jim Lawrence wrote: > It will after all be a piece of history and some will be buying to have > that, to be ahead of the pack if they are thinking of developing and some > people may be betting that the 2K they will be putting out now will > eventually be bought again by some collector, at much more, in the future. > > There will be a bit of a cost for those buying these units at the Los Vegas > show...the additional SD card with the setup Debian OS. $35 plus... > > I wonder if the sales, at Los Vegas, will set records for numbers. > > Jim From mcp2004 at mail.ru Mon Jan 2 12:44:00 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 02 Jan 2012 22:44:00 +0400 Subject: [AccessD] =?utf-8?q?but_does_it_run=2E=2E=2E?= In-Reply-To: <4F01F5D2.9010801@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> <4F01F5D2.9010801@colbyconsulting.com> Message-ID: Hi John at all-- > A RasberryPi would > make a hell of a foundation for a new OLPC model. I have just got purchased here a "toy" for my kid as the following: Huawei Ideos S7 Slim Qualcomm 1.0 http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html It costs about USD330 here. I believe prices will drop under USD100 in a couple of years for such "power toys". That or something like that would be true OLPC very soon I hope. Thank you. -- Shamil 02 ?????? 2012, 22:24 ?? jwcolby : > I just find it a fascinating concept. Remember One Laptop Per Child? > > http://laptop.org/en/laptop/hardware/specs.shtml > > OLPC still seems to be alive and kicking, though nowhere near the numbers hoped for I am sure, even > so a couple of million built. So much has changed since that project started. A RasberryPi would > make a hell of a foundation for a new OLPC model. > > I always hope such things do some good in the world. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 12:04 PM, Jim Lawrence wrote: > > It will after all be a piece of history and some will be buying to have > > that, to be ahead of the pack if they are thinking of developing and some > > people may be betting that the 2K they will be putting out now will > > eventually be bought again by some collector, at much more, in the future. > > > > There will be a bit of a cost for those buying these units at the Los Vegas > > show...the additional SD card with the setup Debian OS. $35 plus... > > > > I wonder if the sales, at Los Vegas, will set records for numbers. > > > > Jim > > - > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Mon Jan 2 12:53:56 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 02 Jan 2012 22:53:56 +0400 Subject: [AccessD] =?utf-8?q?Set_references_via_automation?= In-Reply-To: <4F01A57A.8090809@colbyconsulting.com> References: <4F01A57A.8090809@colbyconsulting.com> Message-ID: Hi John -- > You don't think this can be done from the C# code as well? Yes, you can use C# to Automate MS Access instance to open a program database and to set references etc. The issue could be how to block Autoexec macro or start-up form from running... But did you try to use RefLibPaths http://support.microsoft.com/kb/824255 to solve your library databases referencing issues without custom Automation programming ? Thank you. -- Shamil 02 ?????? 2012, 16:42 ?? jwcolby : > > Then, I think, all you need is a function to add the references from the full paths: > > I assume I have to drop the old reference first. > > > and - when done - and this is the trick - one(1) function in a separate module to be used to > compile and save all (other) modules: > > You don't think this can be done from the C# code as well? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 3:05 AM, Gustav Brock wrote: > > Hi John > > > > Then, I think, all you need is a function to add the references from the full paths: > > > > References.AddFromFile strFullPath1 > > References.AddFromFile strFullPath2 > > etc. > > > > and - when done - and this is the trick - one(1) function in a separate module to be used to compile and save all (other) modules: > > > > > > Option Explicit > > > > Public Function CompileAndSave() > > > > ' Compile and Save All Modules. > > ' The command: > > ' Application.RunCommand acCmdCompileAndSaveAllModules > > ' can not be used as no module is open. > > ' Thus, use undocumented SysCmd() call. > > Call SysCmd(504, 16483) > > > > End Function > > > > > > Call these from the AutoExec macro as the first happening: > > > > RunCode: AddReferences () > > RunCode: CompileAndSave() > > > > This works with Access. I haven't tried (have no need) to run Access and call macros from C#. > > > > /gustav > > > > > >>>> jwcolby at colbyconsulting.com 02-01-2012 04:51>>> > > > I read the article as saying the same thing I was saying. > > > > Yep. > > > > What I am after is actually storing the references outside of the container, opening the container > > with C# code and deleting / (re)creating the references "on-the-fly". The reason I want to do this > > is simply that the whole "use the reference if it is found otherwise search and recreate the > > reference" causes me (as the developer) immense problems. I carefully set up references to specific > > paths on the C:\xyz\ directory, store the database container on the network and then... my client > > opens the file in place and the file "fixes" the broken file automagically. Except I wanted the > > reference I had, not the reference it fixed it to. He didn't even know that this "fix" was > > occurring and neither did I. > > > > So my objective is to download the files and the libs, open the FE, delete specific references (to > > these libs) and rebuild them, referencing the lib files in the directory that I just downloaded the > > libs to. > > > > This is a different task, though similar to just "fixing broken references". I mean to delete the > > references and recreate them entirely, at a location of my own choosing. And notice that I am only > > discussing just the references to my libs, I am not discussing various and sundry issues with things > > like versions of excel etc. However it occurs to me that if I copied the excel lib to a specific > > location as well, I could fix the reference to that as well. The whole "what version of office is > > on your machine / early / late bind" issue would suddenly become a non-issue. > > > > I just spent a looooong few days battling what turned out to be references which managed to find and > > "fix" to old outdated copies of my framework. Who really knows what is sitting out on a user's machine? > > > > Sigh. > > > > With my new tool I will know precisely where I am putting things and fix the references to the files > > that I have just copied. > > > > It turns out to be trivial to read out the references for an access container. Store that "one > > time" in a child table out in my tool and voila, I know where to go and get the file that is really > > needed for a given access container - even things like excel or word libs. > > > > Note I have not yet actually *done* this. ;) But I have the rest of the copy and run app up and > > working. Adding this is an incremental upgrade to what I already am using. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/1/2012 10:00 PM, Charlotte Foust wrote: > >> John, > >> > >> I read the article as saying the same thing I was saying. In the code you > >> run from autoexec, you disambiguate everything but the VBA call he > >> suggested is to check a particular reference to see if VBA is broken. I > >> believe you'll find that you still need VBE to do the fixing because it can > >> be called without loading VBA. Calling things using the VBA library in > >> disambiguated calls doesn't fix a broken reference. You have to test each > >> reference to see which one is broken and fix it before you load VBA. > >> > >> > >> Charlotte Foust > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Jan 2 13:08:49 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 2 Jan 2012 11:08:49 -0800 Subject: [AccessD] but does it run... In-Reply-To: <4F01F5D2.9010801@colbyconsulting.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4EFC7806.1060709@torchlake.com> <"CAGuQ9V4tK8Q9B-7rxt=45_orqLk9eHpCrrdKvO32a8UBs E+0qw"@mail.gmail.com> <4EFCAC2C.9020504@torchlake.com> <4F0130F4.1030108@colbyconsulting.com> <4F01BF0F.4080105@torchlake.com> <4F01D3C7.7070605@colbyconsulting.com> <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> <4F01F5D2.9010801@colbyconsulting.com> Message-ID: <218BFC5DDC2443D7A9F962A5963D8422@creativesystemdesigns.com> I very much agree, John. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 02, 2012 10:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] but does it run... I just find it a fascinating concept. Remember One Laptop Per Child? http://laptop.org/en/laptop/hardware/specs.shtml OLPC still seems to be alive and kicking, though nowhere near the numbers hoped for I am sure, even so a couple of million built. So much has changed since that project started. A RasberryPi would make a hell of a foundation for a new OLPC model. I always hope such things do some good in the world. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 12:04 PM, Jim Lawrence wrote: > It will after all be a piece of history and some will be buying to have > that, to be ahead of the pack if they are thinking of developing and some > people may be betting that the 2K they will be putting out now will > eventually be bought again by some collector, at much more, in the future. > > There will be a bit of a cost for those buying these units at the Los Vegas > show...the additional SD card with the setup Debian OS. $35 plus... > > I wonder if the sales, at Los Vegas, will set records for numbers. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jan 2 13:11:58 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 2 Jan 2012 11:11:58 -0800 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> <94210F07F8C54925A8A675B15B3FD78A@creativesystemdesigns.com> <4F01F5D2.9010801@colbyconsulting.com> Message-ID: <4FF14882E61E40109EA72148098A04EC@creativesystemdesigns.com> Hi Shamil: The link address may be down as it just times-out as an error. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, January 02, 2012 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] but does it run... Hi John at all-- > A RasberryPi would > make a hell of a foundation for a new OLPC model. I have just got purchased here a "toy" for my kid as the following: Huawei Ideos S7 Slim Qualcomm 1.0 http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html It costs about USD330 here. I believe prices will drop under USD100 in a couple of years for such "power toys". That or something like that would be true OLPC very soon I hope. Thank you. -- Shamil 02 ?????? 2012, 22:24 ?? jwcolby : > I just find it a fascinating concept. Remember One Laptop Per Child? > > http://laptop.org/en/laptop/hardware/specs.shtml > > OLPC still seems to be alive and kicking, though nowhere near the numbers hoped for I am sure, even > so a couple of million built. So much has changed since that project started. A RasberryPi would > make a hell of a foundation for a new OLPC model. > > I always hope such things do some good in the world. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 12:04 PM, Jim Lawrence wrote: > > It will after all be a piece of history and some will be buying to have > > that, to be ahead of the pack if they are thinking of developing and some > > people may be betting that the 2K they will be putting out now will > > eventually be bought again by some collector, at much more, in the future. > > > > There will be a bit of a cost for those buying these units at the Los Vegas > > show...the additional SD card with the setup Debian OS. $35 plus... > > > > I wonder if the sales, at Los Vegas, will set records for numbers. > > > > Jim > > - > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Mon Jan 2 13:27:12 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 02 Jan 2012 23:27:12 +0400 Subject: [AccessD] =?utf-8?q?but_does_it_run=2E=2E=2E?= In-Reply-To: <4FF14882E61E40109EA72148098A04EC@creativesystemdesigns.com> References: <4EFB7A13.8040003@colbyconsulting.com> <4FF14882E61E40109EA72148098A04EC@creativesystemdesigns.com> Message-ID: Hi Jim -- The link works well here - I have just checked: http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html If it will not still work for you then you can try this link: http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=2974&directoryId=5011&treeId=3290&tab=0 And this one - Huawei Mediapad http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=3135&directoryId=5011&treeId=3290&tab=0 is even better but I have found it a bit expensive to buy for my kid.... Thank you. -- Shamil 02 ?????? 2012, 23:12 ?? "Jim Lawrence" : > Hi Shamil: > > The link address may be down as it just times-out as an error. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Monday, January 02, 2012 10:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] but does it run... > > Hi John at all-- > > > A RasberryPi would > > make a hell of a foundation for a new OLPC model. > I have just got purchased here a "toy" for my kid as the following: > > Huawei Ideos S7 Slim Qualcomm 1.0 > http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html > > It costs about USD330 here. > > I believe prices will drop under USD100 in a couple of years for such "power > toys". > That or something like that would be true OLPC very soon I hope. > > Thank you. > > -- Shamil > > 02 ?????? 2012, 22:24 ?? jwcolby : > > I just find it a fascinating concept. Remember One Laptop Per Child? > > > > http://laptop.org/en/laptop/hardware/specs.shtml > > > > OLPC still seems to be alive and kicking, though nowhere near the numbers > hoped for I am sure, even > > so a couple of million built. So much has changed since that project > started. A RasberryPi would > > make a hell of a foundation for a new OLPC model. > > > > I always hope such things do some good in the world. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/2/2012 12:04 PM, Jim Lawrence wrote: > > > It will after all be a piece of history and some will be buying to have > > > that, to be ahead of the pack if they are thinking of developing and > some > > > people may be betting that the 2K they will be putting out now will > > > eventually be bought again by some collector, at much more, in the > future. > > > > > > There will be a bit of a cost for those buying these units at the Los > Vegas > > > show...the additional SD card with the setup Debian OS. $35 plus... > > > > > > I wonder if the sales, at Los Vegas, will set records for numbers. > > > > > > Jim > > > > - > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Jan 2 14:08:57 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 02 Jan 2012 15:08:57 -0500 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: References: <4F01A57A.8090809@colbyconsulting.com> Message-ID: <000001ccc98a$5ccb5100$1661f300$@net> http://www.thedenverchannel.com/news/30113287/detail.html You know what this smells of....I won't go there on this list/forum. From accessd at shaw.ca Mon Jan 2 14:32:18 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 2 Jan 2012 12:32:18 -0800 Subject: [AccessD] but does it run... In-Reply-To: References: <4EFB7A13.8040003@colbyconsulting.com> <4FF14882E61E40109EA72148098A04EC@creativesystemdesigns.com> Message-ID: Hi Shamil: Thanks for that... It was a timing issue as I suspected and after refreshing the link a couple of times it slowly connected but updated the screen one line at a time. It almost seems that the server is on a standard home connection and not a broadband. That observation aside, thanks again...good info. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, January 02, 2012 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] but does it run... Hi Jim -- The link works well here - I have just checked: http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html If it will not still work for you then you can try this link: http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=2974&direct oryId=5011&treeId=3290&tab=0 And this one - Huawei Mediapad http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=3135&direct oryId=5011&treeId=3290&tab=0 is even better but I have found it a bit expensive to buy for my kid.... Thank you. -- Shamil 02 ?????? 2012, 23:12 ?? "Jim Lawrence" : > Hi Shamil: > > The link address may be down as it just times-out as an error. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Monday, January 02, 2012 10:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] but does it run... > > Hi John at all-- > > > A RasberryPi would > > make a hell of a foundation for a new OLPC model. > I have just got purchased here a "toy" for my kid as the following: > > Huawei Ideos S7 Slim Qualcomm 1.0 > http://www.tabletfactorystore.com/tablet-pc/huawei-ideos-s7-slim.html > > It costs about USD330 here. > > I believe prices will drop under USD100 in a couple of years for such "power > toys". > That or something like that would be true OLPC very soon I hope. > > Thank you. > > -- Shamil > > 02 ?????? 2012, 22:24 ?? jwcolby : > > I just find it a fascinating concept. Remember One Laptop Per Child? > > > > http://laptop.org/en/laptop/hardware/specs.shtml > > > > OLPC still seems to be alive and kicking, though nowhere near the numbers > hoped for I am sure, even > > so a couple of million built. So much has changed since that project > started. A RasberryPi would > > make a hell of a foundation for a new OLPC model. > > > > I always hope such things do some good in the world. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/2/2012 12:04 PM, Jim Lawrence wrote: > > > It will after all be a piece of history and some will be buying to have > > > that, to be ahead of the pack if they are thinking of developing and > some > > > people may be betting that the 2K they will be putting out now will > > > eventually be bought again by some collector, at much more, in the > future. > > > > > > There will be a bit of a cost for those buying these units at the Los > Vegas > > > show...the additional SD card with the setup Debian OS. $35 plus... > > > > > > I wonder if the sales, at Los Vegas, will set records for numbers. > > > > > > Jim > > > > - > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 2 14:35:51 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 2 Jan 2012 12:35:51 -0800 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: <000001ccc98a$5ccb5100$1661f300$@net> References: <4F01A57A.8090809@colbyconsulting.com> <000001ccc98a$5ccb5100$1661f300$@net> Message-ID: <2EBB00FFF9DC4B39A89EC937F626C6A5@creativesystemdesigns.com> Mark: I guess the hotel management has to remember to pay their software developers and not rely on the demo copy as this crash date seems too much of a coincidence. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 02, 2012 12:09 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO http://www.thedenverchannel.com/news/30113287/detail.html You know what this smells of....I won't go there on this list/forum. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Jan 2 14:48:56 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 2 Jan 2012 15:48:56 -0500 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO References: <4F01A57A.8090809@colbyconsulting.com><000001ccc98a$5ccb5100$1661f300$@net> <2EBB00FFF9DC4B39A89EC937F626C6A5@creativesystemdesigns.com> Message-ID: <9AF8BE82B6EC45F8892E685B72F1E51D@SusanHarkins> Software debacle? Why would this cause people to riot -- they had to call police 40 minutes into the incident? What am I missing? Urinating in the hall -- did they not have restrooms in the lobby or employee restrooms they could use? That's just insane. But I am curious as to what kind of software debacle they might be referring to. Susan H. > Mark: > > > http://www.thedenverchannel.com/news/30113287/detail.html > You know what this smells of....I won't go there on this list/forum. From jwcolby at colbyconsulting.com Mon Jan 2 15:06:53 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 16:06:53 -0500 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: <2EBB00FFF9DC4B39A89EC937F626C6A5@creativesystemdesigns.com> References: <4F01A57A.8090809@colbyconsulting.com> <000001ccc98a$5ccb5100$1661f300$@net> <2EBB00FFF9DC4B39A89EC937F626C6A5@creativesystemdesigns.com> Message-ID: <4F021C6D.30708@colbyconsulting.com> LOL, you pretty much couldn't choose a date / time to cause more inconvenience! Tons of folks out new year's eve partying, returning after midnight, drunk, unruly! John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 3:35 PM, Jim Lawrence wrote: > Mark: > > I guess the hotel management has to remember to pay their software > developers and not rely on the demo copy as this crash date seems too much > of a coincidence. ;-) > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, January 02, 2012 12:09 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO > > http://www.thedenverchannel.com/news/30113287/detail.html > You know what this smells of....I won't go there on this list/forum. > > > From tinanfields at torchlake.com Mon Jan 2 16:13:28 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Mon, 02 Jan 2012 17:13:28 -0500 Subject: [AccessD] but does it run... In-Reply-To: <218BFC5DDC2443D7A9F962A5963D8422@creativesystemdesigns.com> References: <4EFB7A13.8040003@colbyconsulting.com><4EFC7806.1060709@torchlake.com><"CAGuQ9V4tK8Q9B-7rxt=45_orqLk9eHpCrrdKvO32a8UBs E+0qw"@mail.gmail.com><4EFCAC2C.9020504@torchlake.com><4F01 30F4.1030108@colbyconsulting.com><4F01BF0F.4080105@torchlake.com><4F01D3C7.7070605@colbyconsulting.com><94210F07F8C54925A8A675B 15B3FD78A@creativesystemdesigns.com><4F01F5D2.9010801@colbyconsulting.com> <218BFC5DDC2443D7A9F962A5963D8422@creativesystemdesigns.com> Message-ID: <4F022C08.6060009@torchlake.com> See, the area in which I would like to do a doctoral study is what I would call "technological humanities." That would be the application of technology to actually improving the quality of life for human beings. There's a fascinating program going on called something like "pocket school," which is a small hand-held electronic computer gadget that kids can play with and actually learn good stuff. It contains all kinds of lessons and thousands of books. The way it's put together kids learn while playing with it. The developers are experimenting in places where there aren't any schools, in order to bring education to those kids. They've worked out solar-powered charging stations, so the gadget can work even where there is no electricity. I just love the idea of being able to bring knowledge to anyone who wants it. I haven't got started on my doctorate yet - mostly because of the funding issues, but also because I haven't found the right program, yet. Maybe somebody here will have a brilliant idea to help me get moving on this. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/2/2012 2:08 PM, Jim Lawrence wrote: > I very much agree, John. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 02, 2012 10:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] but does it run... > > I just find it a fascinating concept. Remember One Laptop Per Child? > > http://laptop.org/en/laptop/hardware/specs.shtml > > OLPC still seems to be alive and kicking, though nowhere near the numbers > hoped for I am sure, even > so a couple of million built. So much has changed since that project > started. A RasberryPi would > make a hell of a foundation for a new OLPC model. > > I always hope such things do some good in the world. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 12:04 PM, Jim Lawrence wrote: >> It will after all be a piece of history and some will be buying to have >> that, to be ahead of the pack if they are thinking of developing and some >> people may be betting that the 2K they will be putting out now will >> eventually be bought again by some collector, at much more, in the future. >> >> There will be a bit of a cost for those buying these units at the Los > Vegas >> show...the additional SD card with the setup Debian OS. $35 plus... >> >> I wonder if the sales, at Los Vegas, will set records for numbers. >> >> Jim From jwcolby at colbyconsulting.com Mon Jan 2 16:30:07 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 02 Jan 2012 17:30:07 -0500 Subject: [AccessD] Automating an app without startup stuff running. Message-ID: <4F022FEF.7060301@colbyconsulting.com> I am trying to automate opening an access application, harvesting the references to place in a table for later use. Using OpenCurrentApplication it all works well when I open libraries but when I try and open the application then the autoexec or application form tries to open. Which means passing in an argument to tell the app not to do so. But OpenCurrentApplication cannot pass in command line options because it doesn't use the command line to open the application. Application has a SetOption method which allows you to set the CommandLine property, the same property that the application places any actual command line options into as it opens. thus: Function OpenApp(strFEToOpen As String, Optional blnVisible As Boolean = True, Optional strCmdLineArgs As String = "") As Access.Application Dim appAccess As Access.Application Dim strCmdLine As String ' Create new instance of Microsoft Access. Set appAccess = CreateObject("Access.Application") If Len(strCmdLineArgs) Then appAccess.SetOption "Command-line arguments", strCmdLineArgs End If appAccess.Visible = blnVisible appAccess.OpenCurrentDatabase strFEToOpen Set OpenApp = appAccess End Function I then use an method to check that: Function InitApp() ' Check value returned by Command function. If Command <> "" Then Else DoCmd.RunCommand acCmdAppMaximize DoCmd.OpenForm "switchboard" End If End Function And finally I call that method from the Autoexec macro. So when I open the application just by a shortcut, it does not pass in a command line argument, autoexec calls InitApp, and since there is nothing in Command my switchboard opens. When I open it via automation, I call OpenApp passing anything in to the command line arg and the same sequence happens, autoexec calls initApp except now Co,,amd returns the argument I put in it and it does not open my switchboard. I can now automate the application without the normal startup stuff running. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Mon Jan 2 17:45:39 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 02 Jan 2012 18:45:39 -0500 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: <9AF8BE82B6EC45F8892E685B72F1E51D@SusanHarkins> References: <4F01A57A.8090809@colbyconsulting.com><000001ccc98a$5ccb5100$1661f300$@net> <2EBB00FFF9DC4B39A89EC937F626C6A5@creativesystemdesigns.com> <9AF8BE82B6EC45F8892E685B72F1E51D@SusanHarkins> Message-ID: <002901ccc9a8$a270ec60$e752c520$@net> Gang - what does this say ? WE ARE DEPENDENT UPON SOFTWARE TODAY. If this security software hadn't failed (it must have hard-coded the year 2011 or something), this would not have made the news....wouldn't have happened. The timing of this failure could not have been worse. I am now lead investigator on the matter and in touch with the Marriot Corporation to understand who is the responsible party. Can you imagine all BMW cars failing on New Years eve due to a firmware bug ? Now that would be unbelievable. I am sure BMW has extensive code review sessions...and Marriot ? We'll see. > Software debacle? Why would this cause people to riot -- they had to > call police 40 minutes into the incident? What am I missing? Urinating in > the hall -- did they not have restrooms in the lobby or employee restrooms > they could use? That's just insane. But I am curious as to what kind of > software debacle they might be referring to. > > Susan H. From stuart at lexacorp.com.pg Mon Jan 2 17:50:19 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 03 Jan 2012 09:50:19 +1000 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: <002901ccc9a8$a270ec60$e752c520$@net> References: , <9AF8BE82B6EC45F8892E685B72F1E51D@SusanHarkins>, <002901ccc9a8$a270ec60$e752c520$@net> Message-ID: <4F0242BB.12062.12E1CDBD@stuart.lexacorp.com.pg> Could it be something as simple as this? http://thedailywtf.com/Articles/2012-Just-Because.aspx -- Stuart On 2 Jan 2012 at 18:45, Mark Simms wrote: > Gang - what does this say ? WE ARE DEPENDENT UPON SOFTWARE TODAY. > If this security software hadn't failed (it must have hard-coded the year > 2011 or something), > this would not have made the news....wouldn't have happened. The timing of > this failure could not have been worse. > I am now lead investigator on the matter and in touch with the Marriot > Corporation to understand who is the responsible party. > Can you imagine all BMW cars failing on New Years eve due to a firmware bug > ? > Now that would be unbelievable. > I am sure BMW has extensive code review sessions...and Marriot ? We'll see. > > > Software debacle? Why would this cause people to riot -- they had to > > call police 40 minutes into the incident? What am I missing? Urinating in > > the hall -- did they not have restrooms in the lobby or employee restrooms > > they could use? That's just insane. But I am curious as to what kind of > > software debacle they might be referring to. > > > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Mon Jan 2 18:13:53 2012 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 2 Jan 2012 16:13:53 -0800 Subject: [AccessD] Textbox special highlighting Message-ID: Hello all: I would like to have a consistent method of highlighting textboxes so that a user knows that double clicking will result in the display of more information. Ideally, it wouldn't involve changing the background or foreground colour, as I use these with conditional formatting for displaying other information (order quantity is greater than on-hand quantity, for instance). Changing the border colour or thickness results in some very ugly grid displays. The ability to put a little triangle in one corner of the textbox would be ideal - the way Excel does for comments. Does anyone have a brilliant solution? Thanks, Doug From steve at datamanagementsolutions.biz Mon Jan 2 18:26:39 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 3 Jan 2012 13:26:39 +1300 Subject: [AccessD] Textbox special highlighting In-Reply-To: References: Message-ID: <8FD8078DE1AB430BBE16D63529B6FAA4@stevelaptop> For what it's worth, Doug, I usually do this kind of thing via the click of a little command button alongside the textbox. Regards Steve -----Original Message----- From: Doug Steele Sent: Tuesday, January 03, 2012 1:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Textbox special highlighting Hello all: I would like to have a consistent method of highlighting textboxes so that a user knows that double clicking will result in the display of more information. Ideally, it wouldn't involve changing the background or foreground colour, as I use these with conditional formatting for displaying other information (order quantity is greater than on-hand quantity, for instance). Changing the border colour or thickness results in some very ugly grid displays. The ability to put a little triangle in one corner of the textbox would be ideal - the way Excel does for comments. Does anyone have a brilliant solution? Thanks, Doug -- From stuart at lexacorp.com.pg Mon Jan 2 18:38:00 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 03 Jan 2012 10:38:00 +1000 Subject: [AccessD] Textbox special highlighting In-Reply-To: References: Message-ID: <4F024DE8.30258.130D7487@stuart.lexacorp.com.pg> I generally indicate that a textbox is "double-clickable" by making the text in it bold. -- Stuart On 2 Jan 2012 at 16:13, Doug Steele wrote: > Hello all: > > I would like to have a consistent method of highlighting textboxes so that > a user knows that double clicking will result in the display of more > information. Ideally, it wouldn't involve changing the background or > foreground colour, as I use these with conditional formatting for > displaying other information (order quantity is greater than on-hand > quantity, for instance). Changing the border colour or thickness results > in some very ugly grid displays. > > The ability to put a little triangle in one corner of the textbox would be > ideal - the way Excel does for comments. Does anyone have a brilliant > solution? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon Jan 2 20:45:35 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 02 Jan 2012 21:45:35 -0500 Subject: [AccessD] First software debacle of 2012 - pretty bad IMHO In-Reply-To: <4F0242BB.12062.12E1CDBD@stuart.lexacorp.com.pg> References: , <9AF8BE82B6EC45F8892E685B72F1E51D@SusanHarkins>, <002901ccc9a8$a270ec60$e752c520$@net> <4F0242BB.12062.12E1CDBD@stuart.lexacorp.com.pg> Message-ID: <001001ccc9c1$c5012740$4f0375c0$@net> I love that blog !!! But I doubt that was the problem here. Code reviews indeed. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Monday, January 02, 2012 6:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] First software debacle of 2012 - pretty bad IMHO > > Could it be something as simple as this? > > http://thedailywtf.com/Articles/2012-Just-Because.aspx > > -- > Stuart > > On 2 Jan 2012 at 18:45, Mark Simms wrote: > > > Gang - what does this say ? WE ARE DEPENDENT UPON SOFTWARE TODAY. > > If this security software hadn't failed (it must have hard-coded the > year > > 2011 or something), > > this would not have made the news....wouldn't have happened. The > timing of > > this failure could not have been worse. > > I am now lead investigator on the matter and in touch with the > Marriot > > Corporation to understand who is the responsible party. > > Can you imagine all BMW cars failing on New Years eve due to a > firmware bug > > ? > > Now that would be unbelievable. > > I am sure BMW has extensive code review sessions...and Marriot ? > We'll see. > > > > > Software debacle? Why would this cause people to riot -- they had > to > > > call police 40 minutes into the incident? What am I missing? > Urinating in > > > the hall -- did they not have restrooms in the lobby or employee > restrooms > > > they could use? That's just insane. But I am curious as to what > kind of > > > software debacle they might be referring to. > > > > > > Susan H. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 2 22:56:46 2012 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 02 Jan 2012 21:56:46 -0700 Subject: [AccessD] Textbox special highlighting Message-ID: <20120102215646.86c3debdd1c3983866efe200e2feb95f.5a6ce0f8ba.wbe@email18.secureserver.net> I use underline and sometimes make the format hyperlink so the cursor turns into the pointy finger when hovering over it. Rocky -------- Original Message -------- Subject: [AccessD] Textbox special highlighting From: Doug Steele Date: Mon, January 02, 2012 5:13 pm To: Access Developers discussion and problem solving Hello all: I would like to have a consistent method of highlighting textboxes so that a user knows that double clicking will result in the display of more information. Ideally, it wouldn't involve changing the background or foreground colour, as I use these with conditional formatting for displaying other information (order quantity is greater than on-hand quantity, for instance). Changing the border colour or thickness results in some very ugly grid displays. The ability to put a little triangle in one corner of the textbox would be ideal - the way Excel does for comments. Does anyone have a brilliant solution? Thanks, Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 3 07:25:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 03 Jan 2012 08:25:55 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4F01A57A.8090809@colbyconsulting.com> Message-ID: <4F0301E3.3070009@colbyconsulting.com> Shamil, > But did you try to use RefLibPaths to solve your library databases referencing issues without custom Automation programming. First of all, I am already copying libraries and the application and then opening the application. I was doing it from batch files, which have a huge disadvantage of not knowing which batch file, where it is located, what is inside of it etc. Systems change, paths change, files required change. Certainly not often but often enough to make it an ongoing problem. So I decided to move from a batch file solution to a table driven programmatic solution. I *love* the resulting system, I can just look in tables to see what is being copied, where it is coming from, where it is going to etc. I originally did the whole thing in SQL Server / Access / VBA. SQL Server holds the data, Access does the data entry forms (and eventually a report) and VBA does the automation, moving the files from production to the workstation and opening the application FE. It kinda mostly worked but occasionally the FE would open hidden and couldn't be closed without task manager. So I switched to C# to do the copy / open part. That is rock solid, the application always opens visible etc. So I now have an entire system in place to do this stuff. Setting the references to be exactly what I expect is just a tiny additional piece. When all is said and done, RefLibPaths simply says "here's where to search when the references are broken". What it doesn't do is *force* a reference to a specific location. My system will *force* the reference to precisely the location that I just copied the file, in essence to ensure that when I copy the lib to the workstation path, the reference *will* point to that path, ALWAYS. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 1:53 PM, Salakhetdinov Shamil wrote: > Hi John -- > >> You don't think this can be done from the C# code as well? > Yes, you can use C# to Automate MS Access instance to open a program database and to set references etc. > The issue could be how to block Autoexec macro or start-up form from running... > > But did you try to use RefLibPaths > > http://support.microsoft.com/kb/824255 > > to solve your library databases referencing issues without custom Automation programming > > ? > > Thank you. > > -- Shamil From jwcolby at colbyconsulting.com Tue Jan 3 07:27:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 03 Jan 2012 08:27:48 -0500 Subject: [AccessD] Set references via automation In-Reply-To: References: <4F01A57A.8090809@colbyconsulting.com> Message-ID: <4F030254.6000701@colbyconsulting.com> Shamil, > Yes, you can use C# to Automate MS Access instance to open a program database and to set references etc. The issue could be how to block Autoexec macro or start-up form from running... I solved that problem yesterday. See my email about that subject. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/2/2012 1:53 PM, Salakhetdinov Shamil wrote: > Hi John -- > >> You don't think this can be done from the C# code as well? > Yes, you can use C# to Automate MS Access instance to open a program database and to set references etc. > The issue could be how to block Autoexec macro or start-up form from running... > > But did you try to use RefLibPaths > > http://support.microsoft.com/kb/824255 > > to solve your library databases referencing issues without custom Automation programming > > ? > > Thank you. > > -- Shamil From jimdettman at verizon.net Tue Jan 3 08:29:47 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 03 Jan 2012 09:29:47 -0500 Subject: [AccessD] Textbox special highlighting In-Reply-To: References: Message-ID: <722D282AB1FF4370856848EEE8AD742E@XPS> Doug, Only thing that comes to mind is using the old trick of putting a control behind the control with a graphic and then setting the foreground control's background as transparent. The only wrinkle would be knowing that on these controls, you'd need to set the background controls background rather then the foreground's (assuming you do that on the fly - if not, then it's not a problem). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Monday, January 02, 2012 07:14 PM To: Access Developers discussion and problem solving Subject: [AccessD] Textbox special highlighting Hello all: I would like to have a consistent method of highlighting textboxes so that a user knows that double clicking will result in the display of more information. Ideally, it wouldn't involve changing the background or foreground colour, as I use these with conditional formatting for displaying other information (order quantity is greater than on-hand quantity, for instance). Changing the border colour or thickness results in some very ugly grid displays. The ability to put a little triangle in one corner of the textbox would be ideal - the way Excel does for comments. Does anyone have a brilliant solution? Thanks, Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue Jan 3 08:30:55 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 03 Jan 2012 09:30:55 -0500 Subject: [AccessD] Textbox special highlighting In-Reply-To: <20120102215646.86c3debdd1c3983866efe200e2feb95f.5a6ce0f8ba.wbe@email18.secureserver.net> References: <20120102215646.86c3debdd1c3983866efe200e2feb95f.5a6ce0f8ba.wbe@email18.secureserver.net> Message-ID: That's a nice idea... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, January 02, 2012 11:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Textbox special highlighting I use underline and sometimes make the format hyperlink so the cursor turns into the pointy finger when hovering over it. Rocky -------- Original Message -------- Subject: [AccessD] Textbox special highlighting From: Doug Steele Date: Mon, January 02, 2012 5:13 pm To: Access Developers discussion and problem solving Hello all: I would like to have a consistent method of highlighting textboxes so that a user knows that double clicking will result in the display of more information. Ideally, it wouldn't involve changing the background or foreground colour, as I use these with conditional formatting for displaying other information (order quantity is greater than on-hand quantity, for instance). Changing the border colour or thickness results in some very ugly grid displays. The ability to put a little triangle in one corner of the textbox would be ideal - the way Excel does for comments. Does anyone have a brilliant solution? Thanks, Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Tue Jan 3 09:25:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 03 Jan 2012 10:25:48 -0500 Subject: [AccessD] Textbox special highlighting In-Reply-To: <722D282AB1FF4370856848EEE8AD742E@XPS> References: <722D282AB1FF4370856848EEE8AD742E@XPS> Message-ID: <4F031DFC.3010007@colbyconsulting.com> Doug, It turns out that text boxes can have a label associated with it. Every control has a controls collection and *if "connected"* the label is controls(0). Thus txtMyCtl.Controls(0) will let you manipulate the label for the text box. You can then play with the label background color, font etc as you think might be useful. I do precisely this in my framework, as I set up a text box for a double click event I change the label color to a different color of blue. Of course I have a class for this. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/3/2012 9:29 AM, Jim Dettman wrote: > Doug, > > Only thing that comes to mind is using the old trick of putting a control > behind the control with a graphic and then setting the foreground control's > background as transparent. > > The only wrinkle would be knowing that on these controls, you'd need to set > the background controls background rather then the foreground's (assuming > you do that on the fly - if not, then it's not a problem). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Monday, January 02, 2012 07:14 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Textbox special highlighting > > Hello all: > > I would like to have a consistent method of highlighting textboxes so that > a user knows that double clicking will result in the display of more > information. Ideally, it wouldn't involve changing the background or > foreground colour, as I use these with conditional formatting for > displaying other information (order quantity is greater than on-hand > quantity, for instance). Changing the border colour or thickness results > in some very ugly grid displays. > > The ability to put a little triangle in one corner of the textbox would be > ideal - the way Excel does for comments. Does anyone have a brilliant > solution? > > Thanks, > Doug From jimdettman at verizon.net Tue Jan 3 10:33:33 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 03 Jan 2012 11:33:33 -0500 Subject: [AccessD] Textbox special highlighting In-Reply-To: <4F031DFC.3010007@colbyconsulting.com> References: <722D282AB1FF4370856848EEE8AD742E@XPS> <4F031DFC.3010007@colbyconsulting.com> Message-ID: <850662D140CC496BA6254907E40E211E@XPS> I did that for a while based on some code I picked up from Allen Brown's site, but most users didn't like it. I was adjusting the label on the fly to indicate required vs non-required fields. In the end, I ended up with simply high lighting all the required controls with a background change rather then setting/clearing when they switch from inquiry to edit mode. Jim. Private Function MarkAttachedLabel(ctl As Access.Control) 'Author: Allen Browne allen at allenbrowne.com 'Version: 21 September 2008. 'Copyright: None. You can use this in your database for any purpose. ' We request that you acknowledge the source in your code. 'Documentation: http://allenbrowne.com 10 On Error GoTo Err_Handler 'Purpose: Bypass the error if a control has no attached label. 20 With ctl.Controls(0) 30 If Not .Caption Like "*[*]" Then 40 .Caption = .Caption & "*" 50 .FontBold = True 60 End If 70 End With Exit_Handler: 80 Exit Function Err_Handler: 90 Resume Exit_Handler End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 03, 2012 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Textbox special highlighting Doug, It turns out that text boxes can have a label associated with it. Every control has a controls collection and *if "connected"* the label is controls(0). Thus txtMyCtl.Controls(0) will let you manipulate the label for the text box. You can then play with the label background color, font etc as you think might be useful. I do precisely this in my framework, as I set up a text box for a double click event I change the label color to a different color of blue. Of course I have a class for this. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/3/2012 9:29 AM, Jim Dettman wrote: > Doug, > > Only thing that comes to mind is using the old trick of putting a control > behind the control with a graphic and then setting the foreground control's > background as transparent. > > The only wrinkle would be knowing that on these controls, you'd need to set > the background controls background rather then the foreground's (assuming > you do that on the fly - if not, then it's not a problem). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Monday, January 02, 2012 07:14 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Textbox special highlighting > > Hello all: > > I would like to have a consistent method of highlighting textboxes so that > a user knows that double clicking will result in the display of more > information. Ideally, it wouldn't involve changing the background or > foreground colour, as I use these with conditional formatting for > displaying other information (order quantity is greater than on-hand > quantity, for instance). Changing the border colour or thickness results > in some very ugly grid displays. > > The ability to put a little triangle in one corner of the textbox would be > ideal - the way Excel does for comments. Does anyone have a brilliant > solution? > > Thanks, > Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 3 11:12:14 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 03 Jan 2012 12:12:14 -0500 Subject: [AccessD] Textbox special highlighting In-Reply-To: <850662D140CC496BA6254907E40E211E@XPS> References: <722D282AB1FF4370856848EEE8AD742E@XPS> <4F031DFC.3010007@colbyconsulting.com> <850662D140CC496BA6254907E40E211E@XPS> Message-ID: <4F0336EE.4090101@colbyconsulting.com> Yep, just another option. Many folks don't know about the MyCtl.controls(0) thing. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/3/2012 11:33 AM, Jim Dettman wrote: > > I did that for a while based on some code I picked up from Allen Brown's > site, but most users didn't like it. I was adjusting the label on the fly > to indicate required vs non-required fields. > > In the end, I ended up with simply high lighting all the required controls > with a background change rather then setting/clearing when they switch from > inquiry to edit mode. > > Jim. > > Private Function MarkAttachedLabel(ctl As Access.Control) > > 'Author: Allen Browne allen at allenbrowne.com > 'Version: 21 September 2008. > 'Copyright: None. You can use this in your database for any > purpose. > ' We request that you acknowledge the source in your > code. > 'Documentation: http://allenbrowne.com > > 10 On Error GoTo Err_Handler > 'Purpose: Bypass the error if a control has no attached label. > > 20 With ctl.Controls(0) > 30 If Not .Caption Like "*[*]" Then > 40 .Caption = .Caption& "*" > 50 .FontBold = True > 60 End If > 70 End With > > Exit_Handler: > 80 Exit Function > > Err_Handler: > 90 Resume Exit_Handler > End Function > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, January 03, 2012 10:26 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Textbox special highlighting > > Doug, > > It turns out that text boxes can have a label associated with it. Every > control has a controls > collection and *if "connected"* the label is controls(0). Thus > txtMyCtl.Controls(0) will let you > manipulate the label for the text box. You can then play with the label > background color, font etc > as you think might be useful. I do precisely this in my framework, as I set > up a text box for a > double click event I change the label color to a different color of blue. > > Of course I have a class for this. ;) > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it From mcp2004 at mail.ru Tue Jan 3 11:15:38 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 03 Jan 2012 21:15:38 +0400 Subject: [AccessD] =?utf-8?q?Set_references_via_automation?= In-Reply-To: <4F030254.6000701@colbyconsulting.com> References: <4F030254.6000701@colbyconsulting.com> Message-ID: Hi John -- > I solved that problem yesterday. See my email about that subject. Yes, I have read that your e-mail. Well done! Thank you. -- Shamil 03 ?????? 2012, 17:30 ?? jwcolby : > Shamil, > > > Yes, you can use C# to Automate MS Access instance to open a program database and to set > references etc. The issue could be how to block Autoexec macro or start-up form from running... > > I solved that problem yesterday. See my email about that subject. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/2/2012 1:53 PM, Salakhetdinov Shamil wrote: > > Hi John -- > > > >> You don't think this can be done from the C# code as well? > > Yes, you can use C# to Automate MS Access instance to open a program database and to set references etc. > > The issue could be how to block Autoexec macro or start-up form from running... > > > > But did you try to use RefLibPaths > > > > http://support.microsoft.com/kb/824255 > > > > to solve your library databases referencing issues without custom Automation programming > > > > ? > > > > Thank you. > > > > -- Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Jan 3 12:33:47 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 3 Jan 2012 12:33:47 -0600 Subject: [AccessD] Subquery Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> I am trying to do a subquery to retrieve some data but am thinking it may not be possible. Here is the query that runs correctly. The problem is that there is a sample date for each meter_id but of course the subquery returns only the max date not a max date for each meter_id. I am thinking 2 separate queries. SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) from [qry Produced Gas CO2 Analysis]); Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From member at linkedin.com Tue Jan 3 13:20:05 2012 From: member at linkedin.com (Carlos A Alves via LinkedIn) Date: Tue, 3 Jan 2012 19:20:05 +0000 (UTC) Subject: [AccessD] Invitation to connect on LinkedIn Message-ID: <1750961057.39769365.1325618405044.JavaMail.app@ela4-bed83.prod> LinkedIn ------------ Carlos A Alves requested to add you as a connection on LinkedIn: ------------------------------------------ Doris, I'd like to add you to my professional network on LinkedIn. - Carlos A Accept invitation from Carlos A Alves http://www.linkedin.com/e/s2e3k1-gwzayzld-3c/GJGqr_Xcuww-eupoeCwqfm8l9PqY0AZwZCdqO6vpjBw/blk/I72144878_16/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_dz5ve3sUd3gNczt9bSlBq51Mj7xCbP0Udj8McPwUcPkLrCBxbOYWrSlI/EML_comm_afe/?hs=false&tok=3Hq8V2YGd87R41 View invitation from Carlos A Alves http://www.linkedin.com/e/s2e3k1-gwzayzld-3c/GJGqr_Xcuww-eupoeCwqfm8l9PqY0AZwZCdqO6vpjBw/blk/I72144878_16/0SclYUdPwQd34OdQALqnpPbOYWrSlI/svi/?hs=false&tok=12_0B_afN87R41 ------------------------------------------ Why might connecting with Carlos A Alves be a good idea? Carlos A Alves's connections could be useful to you: After accepting Carlos A Alves's invitation, check Carlos A Alves's connections to see who else you may know and who you might want an introduction to. Building these connections can create opportunities in the future. -- (c) 2011, LinkedIn Corporation From BradM at blackforestltd.com Tue Jan 3 13:36:28 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 3 Jan 2012 13:36:28 -0600 Subject: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? References: <4EE9EC54.1070108@colbyconsulting.com><49A286ABF515E94A8505CD14DEB721701744A3F8@CPIEMAIL-EVS1.CPIQPC.NET><90783534-DE1E-48AD-BE40-C3C01B5D6D9A@phulse.com><001d01ccbcc5$f6069ef0$e213dcd0$@comcast.net><4EECAFED.7070902@colbyconsulting.com><02D59D9F02884B02BBA6C28EF807857A@7B440585K><93D10F008B998B4A83BCA855A33EEF37E2F9@cinmldgcna02.e2k.ad.ge.com> Message-ID: All, Thanks for the help and insights into this question. Because of other work that needs to be done, I think that I will just take the easy approach and create a second report rather than trying to change sub-totals on the fly. I appreciate all of the assistance. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, December 30, 2011 9:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access 2007Reports with VBA? Another alternative might be to create groups based on different fields or combinations. Then populate each group with the controls you want to show and total for that group. That should allow you to show or hide the groups on the fly. Essentially, you don't use detail at all, you use the groups and you could embedd subreports in each group that contained the fields you wanted to display for that condition and the totals you wanted to show. This is entirely possible in .Net, but it's been a long time since I made Access behave this way. I know it works, I'm just fuzzy on the details! Charlotte Foust On Fri, Dec 30, 2011 at 12:16 PM, David McAfee wrote: > You could do things old school with hidden fields in the details section > for all of the fields you want to subtotal. > > Then depending on some other form or input parameter, hide/show the > appropriate field(s) in the report footer. > > HTH > David > > On Thu, Dec 29, 2011 at 8:07 PM, Benson, William (GE Global Research, > consultant) wrote: > > > I doubt possible. If you notice, the name of the section in the report > > designer is based on the actual field you grouped on. This is not a > > property that can change. When you are in runtime, Access is looking at > > this as group 1, 2, etc... Doesn't give you access to what field it is > > holding in that position. It makes sense to me why you can't. > > > > Now, you can use the format event of the section to create a new > > calculation using recordsets... will slow down the report considerably. > But > > the subtotals (calculated items) will be flawed anyway because they won't > > be based on where the data really breaks, according to your field of > > interest in the rowsource. > > > > I'd be interested to find out I am wrong... > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski > > Sent: Thursday, December 29, 2011 10:30 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > Hi Brad > > > > Here's some code that might work ... It's from an Excel VBA project, and > > will need a little tweaking, but the sorting basics should be the same > ... > > > > Watch for line wrap on the 'UserChoice' line ... > > > > Regards, > > Bob Gajewski > > > > ================================== > > END OF CODE > > ================================== > > > > Sub SortByColumnSelect() > > > > Rem Take Screen Control From Application > > varFileName = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) > > varFilePath = ActiveWorkbook.Path > > Application.ScreenUpdating = False > > Application.Cursor = xlWait > > Application.DisplayStatusBar = True > > Application.StatusBar = "Formatting 0% complete" > > > > Rem Go to top left cell > > Application.Goto Worksheets(1).Range("A1") > > > > Rem Freeze the top line > > With ActiveWindow > > .SplitColumn = 0 > > .SplitRow = 1 > > End With > > ActiveWindow.FreezePanes = True > > > > UserChoice = MsgBox("The data will be sorted and sub-totaled by months." > & > > vbCrLf & vbCrLf & "Do you want to sort by client instead?", vbYesNo + > > vbQuestion + vbDefaultButton2, "Sort by client?") > > If UserChoice = vbNo Then > > Rem Sort the spreadsheet by column "A" (month) > > Cells.Sort Key1:=Range("A2"), Header:=xlYes > > Selection.Subtotal GroupBy:=1, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > Else > > Rem Sort the spreadsheet by column "B" (client) > > Cells.Sort Key1:=Range("B2"), Header:=xlYes > > Selection.Subtotal GroupBy:=2, Function:=xlSum, > > TotalList:=Array(3, 4), Replace:=True, PageBreaks:=False, > > SummaryBelowData:=True > > End If > > > > Rem Collapse the view to show only subtotals, color them grey, then > expand > > the view to show all detail > > ActiveSheet.Outline.ShowLevels 2 > > > > > ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisible).Interior.ColorInde x = > > 15 > > ActiveSheet.Outline.ShowLevels 3 > > > > Rem Fill in columns "A" (month), "B" (client) > > lastrow = ActiveSheet.UsedRange.Rows.Count > > For r = lastrow To 2 Step -1 > > varPercentageComplete = Round((((lastrow - 1) - (r - 1)) / > (lastrow > > - 1)) * 100, 0) > > Application.StatusBar = "Formatting subtotal rows " & > > varPercentageComplete & "% complete" > > If Right(Cells(r, 1).Value, 5) = "Total" Then > > Cells(r, 1).Value = Left(Cells(r, 1).Value, Len(Cells(r, 1)) - > > 6) > > End If > > If Cells(r, 2).Value = "" Then > > Cells(r, 2).Value = Cells(r - 1, 2).Value > > End If > > Next r > > > > Rem Collapse the view to show only sutotals > > ActiveSheet.Outline.ShowLevels 2 > > > > Rem Resize all columns to show full width > > Columns.AutoFit > > > > Rem Save output file > > Application.DisplayAlerts = False > > Application.StatusBar = "Saving formatted spreadsheet in XLS format > ..." > > ActiveWorkbook.SaveAs Filename:=varFilePath & "\YourFileName " & > > varFileName & " (created " & Format(Date, "yyyymmdd") & ")", > > FileFormat:=xlNormal > > Application.DisplayAlerts = True > > > > Rem Return screen control > > Application.Cursor = Default > > Application.StatusBar = "" > > Application.ScreenUpdating = True > > ' ActiveWorkbook.Close > > ' Application.Quit > > > > End Sub > > > > ================================== > > END OF CODE > > ================================== > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks > > Sent: Thursday, December 29, 2011 16:05 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Is it possible to change Sub-Totals on Access > > 2007Reports with VBA? > > > > We have an Access 2007 report that currently has subtotals by month. > > > > Recently there was a request to create a variation of this report with > > subtotals by Customer. > > > > It would be quite easy to create a second report. But then I remembered > a > > slogan which said something like "Why make things simple when you can > make > > them complex and wonderful". So I started to wonder if it is possible to > > use VBA to change a report's sub-totals on the fly (controlled by buttons > > at the top of the report). > > > > Is this possible? > > > > 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 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From dbdoug at gmail.com Tue Jan 3 13:42:12 2012 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 3 Jan 2012 11:42:12 -0800 Subject: [AccessD] Textbox special highlighting In-Reply-To: <4F0336EE.4090101@colbyconsulting.com> References: <722D282AB1FF4370856848EEE8AD742E@XPS> <4F031DFC.3010007@colbyconsulting.com> <850662D140CC496BA6254907E40E211E@XPS> <4F0336EE.4090101@colbyconsulting.com> Message-ID: Thanks, everyone, for your suggestions. I think I'm going to try out Rocky's underlining - I don't currently use underlining at all, so it won't confuse anyone. Doug On Tue, Jan 3, 2012 at 9:12 AM, jwcolby wrote: > Yep, just another option. Many folks don't know about the > MyCtl.controls(0) thing. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/3/2012 11:33 AM, Jim Dettman wrote: > >> >> I did that for a while based on some code I picked up from Allen Brown's >> site, but most users didn't like it. I was adjusting the label on the fly >> to indicate required vs non-required fields. >> >> In the end, I ended up with simply high lighting all the required >> controls >> with a background change rather then setting/clearing when they switch >> from >> inquiry to edit mode. >> >> Jim. >> >> Private Function MarkAttachedLabel(ctl As Access.Control) >> >> 'Author: Allen Browne allen at allenbrowne.com >> 'Version: 21 September 2008. >> 'Copyright: None. You can use this in your database for any >> purpose. >> ' We request that you acknowledge the source in your >> code. >> 'Documentation: http://allenbrowne.com >> >> 10 On Error GoTo Err_Handler >> 'Purpose: Bypass the error if a control has no attached label. >> >> 20 With ctl.Controls(0) >> 30 If Not .Caption Like "*[*]" Then >> 40 .Caption = .Caption& "*" >> >> 50 .FontBold = True >> 60 End If >> 70 End With >> >> Exit_Handler: >> 80 Exit Function >> >> Err_Handler: >> 90 Resume Exit_Handler >> End Function >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Tuesday, January 03, 2012 10:26 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Textbox special highlighting >> >> Doug, >> >> It turns out that text boxes can have a label associated with it. Every >> control has a controls >> collection and *if "connected"* the label is controls(0). Thus >> txtMyCtl.Controls(0) will let you >> manipulate the label for the text box. You can then play with the label >> background color, font etc >> as you think might be useful. I do precisely this in my framework, as I >> set >> up a text box for a >> double click event I change the label color to a different color of blue. >> >> Of course I have a class for this. ;) >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From charlotte.foust at gmail.com Tue Jan 3 13:46:46 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 3 Jan 2012 11:46:46 -0800 Subject: [AccessD] Subquery In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> Message-ID: So you need to add an and to your WHERE to filter on the meter_ID, but you aren't using a subquery correctly. You need to alias the second instance of the query so you can filter the aliased instance down to the matching Meter_ID . SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced Gas CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID )) **WARNING** this is air SQL, so haven't tested it. Running from Access you have to wrap a subquery in parens and the editor will convert those to .[ ] when the query runs. Charlotte Foust On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I am trying to do a subquery to retrieve some data but am thinking it may > not be possible. Here is the query that runs correctly. The problem is that > there is a sample date for each meter_id but of course the subquery returns > only the max date not a max date for each meter_id. I am thinking 2 > separate queries. > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced Gas CO2 > Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] > FROM [qry Produced Gas CO2 Analysis] > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) > from [qry Produced Gas CO2 Analysis]); > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From Chester_Kaup at kindermorgan.com Tue Jan 3 14:43:52 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 3 Jan 2012 14:43:52 -0600 Subject: [AccessD] Subquery In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> I tried to run your SQL and got the following message. I have worked on it but cannot see the problem. I need someone smarter then me to see the problem. Thanks. Syntax error in query expression '[qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced Gas CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID ))'. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, January 03, 2012 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery So you need to add an and to your WHERE to filter on the meter_ID, but you aren't using a subquery correctly. You need to alias the second instance of the query so you can filter the aliased instance down to the matching Meter_ID . SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced Gas CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID )) **WARNING** this is air SQL, so haven't tested it. Running from Access you have to wrap a subquery in parens and the editor will convert those to .[ ] when the query runs. Charlotte Foust On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I am trying to do a subquery to retrieve some data but am thinking it may > not be possible. Here is the query that runs correctly. The problem is that > there is a sample date for each meter_id but of course the subquery returns > only the max date not a max date for each meter_id. I am thinking 2 > separate queries. > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced Gas CO2 > Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] > FROM [qry Produced Gas CO2 Analysis] > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) > from [qry Produced Gas CO2 Analysis]); > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Tue Jan 3 18:27:56 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 3 Jan 2012 16:27:56 -0800 Subject: [AccessD] Subquery In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> Message-ID: Sorry, sloppy on my part. It should be WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID) Try that. Think of the subquery (qry2) as a table that produces a specific kind of result. So this part is the subquery: (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 Charlotte Foust On Tue, Jan 3, 2012 at 12:43 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I tried to run your SQL and got the following message. I have worked on it > but cannot see the problem. I need someone smarter then me to see the > problem. Thanks. > > Syntax error in query expression > '[qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) from > ([qry Produced Gas CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced > Gas CO2 Analysis].Meter_ID ))'. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, January 03, 2012 1:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subquery > > So you need to add an and to your WHERE to filter on the meter_ID, but you > aren't using a subquery correctly. You need to alias the second instance > of the query so you can filter the aliased instance down to the matching > Meter_ID . > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas CO2 > Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] > FROM [qry Produced Gas CO2 Analysis] > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) > from ([qry Produced Gas CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry > Produced Gas CO2 Analysis].Meter_ID )) > > **WARNING** this is air SQL, so haven't tested it. Running from Access you > have to wrap a subquery in parens and the editor will convert those to .[ ] > when the query runs. > > Charlotte Foust > On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I am trying to do a subquery to retrieve some data but am thinking it may > > not be possible. Here is the query that runs correctly. The problem is > that > > there is a sample date for each meter_id but of course the subquery > returns > > only the max date not a max date for each meter_id. I am thinking 2 > > separate queries. > > > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced Gas CO2 > > Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] > > FROM [qry Produced Gas CO2 Analysis] > > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select > Max(Sample_Date) > > from [qry Produced Gas CO2 Analysis]); > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > > number of electrons were terribly inconvenienced. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From newsgrps at dalyn.co.nz Tue Jan 3 21:18:59 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 04 Jan 2012 16:18:59 +1300 Subject: [AccessD] Report Footer on Last Page of Group Message-ID: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have a report that creates invoices. When the report is run it includes invoices for several businesses. At the bottom of each business invoice is about 1/3 of a page of "footer" text. Most of the invoices fit onto one page. My problem is when the invoices spill over onto more than 1 page. If I put the "footer" text into the footer section for the business then they appear at the end of the businesses invoice but may not be at the bottom of the last page. If I put the "footer" text into the page footer section then it appears at the bottom of each page but also on the pages where there might be more than one page for a business. Because the "footer" text takes up so much space I do not just want to hide the fields if it is not on the last page for a business because this will leave a large amount of blank space on the pages before the last one. How can I use the space that would be taken up by the footer if I put it into the page footer section, or alternatively, how can I put it at the bottom of the last page of each invoice if I put it in the Business footer section? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From Gustav at cactus.dk Wed Jan 4 04:16:25 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 04 Jan 2012 11:16:25 +0100 Subject: [AccessD] Report Footer on Last Page of Group Message-ID: Hi David Perhaps you could use the page footer, and from the business group header set the height of the footer to zero and at the business group footer set it to what it should be. /gustav >>> newsgrps at dalyn.co.nz 04-01-2012 04:18 >>> I have a report that creates invoices. When the report is run it includes invoices for several businesses. At the bottom of each business invoice is about 1/3 of a page of "footer" text. Most of the invoices fit onto one page. My problem is when the invoices spill over onto more than 1 page. If I put the "footer" text into the footer section for the business then they appear at the end of the businesses invoice but may not be at the bottom of the last page. If I put the "footer" text into the page footer section then it appears at the bottom of each page but also on the pages where there might be more than one page for a business. Because the "footer" text takes up so much space I do not just want to hide the fields if it is not on the last page for a business because this will leave a large amount of blank space on the pages before the last one. How can I use the space that would be taken up by the footer if I put it into the page footer section, or alternatively, how can I put it at the bottom of the last page of each invoice if I put it in the Business footer section? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From adtp at airtelmail.in Wed Jan 4 06:06:31 2012 From: adtp at airtelmail.in (A.D. Tejpal) Date: Wed, 4 Jan 2012 17:36:31 +0530 Subject: [AccessD] Report Footer on Last Page of Group References: Message-ID: <9B433714EF3E4CE0AADD47D129927144@personal4a8ede> David, Insertion of an outermost dummy group footer, whose height is manipulated at run time so as to serve as dynamic blank spacer block, offers an interesting alternative solution for pushing the report footer close to the page footer, irrespective of the size of main content on last page. This approach is demonstrated in my sample db named Report_ReportFooterOnTopOfPageFooter. It is in access 2000 file format and is available at Rogers Access Library. Link: http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 The sample db takes care of variable grown heights of different sections. Brief description is placed below for ready reference. Best wishes, A.D. Tejpal ------------ Report_ReportFooterOnTopOfPageFooter (Sample Db: Brief Description) ============================= This sample db demonstrates placement of report footer on top of page footer. It caters for variable heights of report headers / footers (CanGrow property = Yes). If there is going to be any potential blank space between report footer and the page footer, it is moved above the report footer so that the bottom of report footer sits on top of the page footer. The desired objective is achieved by inserting an outermost dummy group footer whose height is manipulated at run time so as to serve as dynamic blank spacer block. Two stage opening of report is undertaken because dynamic grown heights of report sections are available only in print event. On the other hand, adjustment of section heights is permitted only in format event. Hence the need for extra cycle of report opening. Stage A - First cycle of opening the report, stores dynamic values of Report Footer bottom and Page Footer top in unbound text boxes on form F_SwitchBoard Stage B - Re-opens the report, duly adjusting the height of outermost dummy group footer, so as to force the report footer bottom to move close to page footer top. Note - In the sample db, 4 lines of text in report header as well as footer are inserted programmatically in unbound text boxes, so as to demonstrate effectiveness of proposed technique duly catering to grown heights of sections concerned. ============================= ----- Original Message ----- From: Gustav Brock To: accessd at databaseadvisors.com Sent: Wednesday, January 04, 2012 15:46 Subject: Re: [AccessD] Report Footer on Last Page of Group Hi David Perhaps you could use the page footer, and from the business group header set the height of the footer to zero and at the business group footer set it to what it should be. /gustav >>> newsgrps at dalyn.co.nz 04-01-2012 04:18 >>> I have a report that creates invoices. When the report is run it includes invoices for several businesses. At the bottom of each business invoice is about 1/3 of a page of "footer" text. Most of the invoices fit onto one page. My problem is when the invoices spill over onto more than 1 page. If I put the "footer" text into the footer section for the business then they appear at the end of the businesses invoice but may not be at the bottom of the last page. If I put the "footer" text into the page footer section then it appears at the bottom of each page but also on the pages where there might be more than one page for a business. Because the "footer" text takes up so much space I do not just want to hide the fields if it is not on the last page for a business because this will leave a large amount of blank space on the pages before the last one. How can I use the space that would be taken up by the footer if I put it into the page footer section, or alternatively, how can I put it at the bottom of the last page of each invoice if I put it in the Business footer section? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From jimdettman at verizon.net Wed Jan 4 08:10:49 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 04 Jan 2012 09:10:49 -0500 Subject: [AccessD] Report Footer on Last Page of Group In-Reply-To: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <430D03029B3F4717824059310BDE89E0@XPS> David, In addition to what's been suggested, you also might want to take a look at: ACC2000: How to Print a Group Footer at a Specific Location http://support.microsoft.com/kb/208979 Couple different methods there. Some work better then others for different types of reports. Also, something in regards to reports which just came up on EE is drawing vertical/horizontal lines on a page (the above article is what made me think of this). A lot of us have run into this; were trying to duplicate a pre-printed form or want blank detail lines even though we don't have enough records to fill the page. The person asking the question actually came up with the solution and it's the first time I've ever seen it used. What he did was to use a Group *header* to format the entire page before anything else had been rendered on it. I didn't realize that you could even address the entire page outside of the OnPage event. Then he used MoveLayout = False in the header to keep the same point on the page and continued on from there. You can read it here (no signup or login required): http://rdsrc.us/ygyZCD Pretty slick! Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Tuesday, January 03, 2012 10:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Report Footer on Last Page of Group I have a report that creates invoices. When the report is run it includes invoices for several businesses. At the bottom of each business invoice is about 1/3 of a page of "footer" text. Most of the invoices fit onto one page. My problem is when the invoices spill over onto more than 1 page. If I put the "footer" text into the footer section for the business then they appear at the end of the businesses invoice but may not be at the bottom of the last page. If I put the "footer" text into the page footer section then it appears at the bottom of each page but also on the pages where there might be more than one page for a business. Because the "footer" text takes up so much space I do not just want to hide the fields if it is not on the last page for a business because this will leave a large amount of blank space on the pages before the last one. How can I use the space that would be taken up by the footer if I put it into the page footer section, or alternatively, how can I put it at the bottom of the last page of each invoice if I put it in the Business footer section? 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 fuller.artful at gmail.com Wed Jan 4 10:19:21 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 4 Jan 2012 11:19:21 -0500 Subject: [AccessD] Report Footer on Last Page of Group In-Reply-To: <430D03029B3F4717824059310BDE89E0@XPS> References: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <430D03029B3F4717824059310BDE89E0@XPS> Message-ID: There's a conceptual conflict here between Report Footer and Group Footer. A Report Footer summarizes the whole report (e.g. all groups are summarized). A Group footer summarizes the Group of interest. These are fundamentally different summations, and IMHO ought never be confused, else worse problems lurk in the future. You can kludge for the moment, or else solve the problem for all time. No in-between space. Or, in the old programmer's aphorism, "If you haven't time to do it correctly, where will you find the time to do it again?" Just my $0.02. Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From newsgrps at dalyn.co.nz Wed Jan 4 12:05:38 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 05 Jan 2012 07:05:38 +1300 Subject: [AccessD] Report Footer on Last Page of Group In-Reply-To: References: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <430D03029B3F4717824059310BDE89E0@XPS> Message-ID: <20120104180636.QBOX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Hi Arthur, I understand the different concepts between group and report footers. What I am trying to achieve is a group footer appearing at the bottom of the last page for each group. It is a positioning thing. Group footers will appear at the end of each of their sections but not necessarily at the bottom of the page (whereas a page footer appears at the end of a page). David At 5/01/2012, Arthur Fuller wrote: >There's a conceptual conflict here between Report Footer and Group Footer. >A Report Footer summarizes the whole report (e.g. all groups are >summarized). A Group footer summarizes the Group of interest. These are >fundamentally different summations, and IMHO ought never be confused, else >worse problems lurk in the future. You can kludge for the moment, or else >solve the problem for all time. No in-between space. Or, in the old >programmer's aphorism, "If you haven't time to do it correctly, where will >you find the time to do it again?" > >Just my $0.02. >Arthur From fuller.artful at gmail.com Wed Jan 4 12:40:05 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 4 Jan 2012 13:40:05 -0500 Subject: [AccessD] Report Footer on Last Page of Group In-Reply-To: <20120104180636.QBOX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <430D03029B3F4717824059310BDE89E0@XPS> <20120104180636.QBOX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: When did Page Footer enter this thread? If I'm not mistaken, it began as a discussion about Group Footer vs. Report Footer. However, in the light of your comment I shall create a test report and attempt to do what you want (which, if I'm reading you correctly, the Page Footer ought to contain the Group Footer data for each Group on said Page). If that's not your goal, please correct me. Thank you, Arthur On Wed, Jan 4, 2012 at 1:05 PM, David Emerson wrote: > Hi Arthur, > > I understand the different concepts between group and report footers. > > What I am trying to achieve is a group footer appearing at the bottom of > the last page for each group. It is a positioning thing. Group footers > will appear at the end of each of their sections but not necessarily at the > bottom of the page (whereas a page footer appears at the end of a page). > > David > > -- > Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From newsgrps at dalyn.co.nz Wed Jan 4 13:02:35 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 05 Jan 2012 08:02:35 +1300 Subject: [AccessD] Report Footer on Last Page of Group In-Reply-To: References: <20120104032022.SBKK10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> <430D03029B3F4717824059310BDE89E0@XPS> <20120104180636.QBOX18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20120104190332.HJAL10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Arthur, At 5/01/2012, Arthur Fuller wrote: >When did Page Footer enter this thread? If I'm not mistaken, it began as a >discussion about Group Footer vs. Report Footer. I checked my original post and the phrase "Report Footer" didn't appear at all. It was always page vs group footers. :-) >However, in the light of >your comment I shall create a test report and attempt to do what you want >(which, if I'm reading you correctly, the Page Footer ought to contain the >Group Footer data for each Group on said Page). If that's not your goal, >please correct me. The reports are invoices. Each invoice starts on a new page. Some invoices use more than 1 page. My goal is to have some fields as a footer on the last page of each invoice (not at the bottom of every page of the invoice). Group footer (based on the invoice) will appear on the last page of each invoice but not necessarily at the bottom of that page. Thanks for helping. I also have Gustav, AD and Jim to look at as well. David >Thank you, >Arthur > >On Wed, Jan 4, 2012 at 1:05 PM, David Emerson wrote: > > > Hi Arthur, > > > > I understand the different concepts between group and report footers. > > > > What I am trying to achieve is a group footer appearing at the bottom of > > the last page for each group. It is a positioning thing. Group footers > > will appear at the end of each of their sections but not necessarily at the > > bottom of the page (whereas a page footer appears at the end of a page). > > > > David > > > > -- > > From jwcolby at colbyconsulting.com Wed Jan 4 13:05:30 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 04 Jan 2012 14:05:30 -0500 Subject: [AccessD] My Story: The Toaster Project Message-ID: <4F04A2FA.6040304@colbyconsulting.com> You'll love this. How many parts? Would you look at all the parts laid out in the picture? To toast bread? http://www.jameco.com/Jameco/workshop/MyStory/toasterproject.html?sp_rid=MTgyNDYwODY2ODIS1&sp_mid=3854041 -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Wed Jan 4 13:37:30 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 04 Jan 2012 14:37:30 -0500 Subject: [AccessD] GetFile doesn't return the link file Message-ID: <4F04AA7A.6090302@colbyconsulting.com> I have found something interesting. I have been using the GetOpenFileName stuff stuff since 1998. I tried to use it to return a link file and it actually returns the .EXE that the link references. Does anyone know a way to get the actual link itself? I need to shell (open) the link. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From michael at mattysconsulting.com Wed Jan 4 14:14:00 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Wed, 4 Jan 2012 15:14:00 -0500 Subject: [AccessD] GetFile doesn't return the link file In-Reply-To: <4F04AA7A.6090302@colbyconsulting.com> References: <4F04AA7A.6090302@colbyconsulting.com> Message-ID: <016701cccb1d$6777b410$36671c30$@mattysconsulting.com> If I understand correctly, You have to use the flag NODEREFERENCELINKS http://access.mvps.org/access/api/api0001.htm Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com 585-544-4385 Home Office -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 04, 2012 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] GetFile doesn't return the link file I have found something interesting. I have been using the GetOpenFileName stuff stuff since 1998. I tried to use it to return a link file and it actually returns the .EXE that the link references. Does anyone know a way to get the actual link itself? I need to shell (open) the link. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Jan 4 14:36:52 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 04 Jan 2012 15:36:52 -0500 Subject: [AccessD] OT: My Story: The Toaster Project In-Reply-To: <4F04A2FA.6040304@colbyconsulting.com> References: <4F04A2FA.6040304@colbyconsulting.com> Message-ID: Nice to see Jameco is still around; haven't ordered from them in quite a few years. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 04, 2012 02:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] My Story: The Toaster Project You'll love this. How many parts? Would you look at all the parts laid out in the picture? To toast bread? http://www.jameco.com/Jameco/workshop/MyStory/toasterproject.html?sp_rid=MTg yNDYwODY2ODIS1&sp_mid=3854041 -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Jan 4 15:05:14 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 4 Jan 2012 15:05:14 -0600 Subject: [AccessD] Subquery In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB146@houex1.kindermorgan.com> No harm done. I just appreciate the help. When I put it all together I get something like this. I get the following message when I try to the run the query. "Query input must contain at least one table or query." SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM [qry Produced Gas CO2 Analysis] WHERE ((([qry Produced Gas CO2 Analysis].Sample_Date)= (Select Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID))); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, January 03, 2012 6:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery Sorry, sloppy on my part. It should be WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID) Try that. Think of the subquery (qry2) as a table that produces a specific kind of result. So this part is the subquery: (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 Charlotte Foust On Tue, Jan 3, 2012 at 12:43 PM, Kaup, Chester < Chester_Kaup at kindermorgan.com> wrote: > I tried to run your SQL and got the following message. I have worked > on it but cannot see the problem. I need someone smarter then me to > see the problem. Thanks. > > Syntax error in query expression > '[qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) > from ([qry Produced Gas CO2 Analysis] As qry2 WHERE > qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID ))'. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, January 03, 2012 1:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subquery > > So you need to add an and to your WHERE to filter on the meter_ID, but > you aren't using a subquery correctly. You need to alias the second > instance of the query so you can filter the aliased instance down to > the matching Meter_ID . > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas > CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM > [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 > Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced Gas > CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 > Analysis].Meter_ID )) > > **WARNING** this is air SQL, so haven't tested it. Running from > Access you have to wrap a subquery in parens and the editor will > convert those to .[ ] when the query runs. > > Charlotte Foust > On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I am trying to do a subquery to retrieve some data but am thinking > > it may not be possible. Here is the query that runs correctly. The > > problem is > that > > there is a sample date for each meter_id but of course the subquery > returns > > only the max date not a max date for each meter_id. I am thinking 2 > > separate queries. > > > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced > > Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 > > Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas > > CO2 Analysis].Sample_Date=(Select > Max(Sample_Date) > > from [qry Produced Gas CO2 Analysis]); > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > > number of electrons were terribly inconvenienced. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Wed Jan 4 15:50:03 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 4 Jan 2012 13:50:03 -0800 Subject: [AccessD] Subquery In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB146@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB146@houex1.kindermorgan.com> Message-ID: And so you do! That's the trouble with writing air SQL on the fly, so to speak. I left out the FROM condition in the subquqery. Try changing this: (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 to this: (SELECT [qry Produced Gas CO2 Analysis].* FROM [qry Produced Gas CO2 Analysis]) As qry2 On Wed, Jan 4, 2012 at 1:05 PM, Kaup, Chester wrote: > No harm done. I just appreciate the help. When I put it all together I get > something like this. I get the following message when I try to the run the > query. > > "Query input must contain at least one table or query." > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, > [qry Produced Gas CO2 Analysis].Meter_ID, > [qry Produced Gas CO2 Analysis].[Co2 Cut] > FROM [qry Produced Gas CO2 Analysis] > WHERE ((([qry Produced Gas CO2 Analysis].Sample_Date)= > (Select Max(qry2.Sample_Date) from > (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 > WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID))); > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, January 03, 2012 6:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subquery > > Sorry, sloppy on my part. It should be > > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select > Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].*) As > qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID) > > Try that. Think of the subquery (qry2) as a table that produces a specific > kind of result. So this part is the subquery: (SELECT [qry Produced Gas > CO2 Analysis].*) As qry2 > > Charlotte Foust > On Tue, Jan 3, 2012 at 12:43 PM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I tried to run your SQL and got the following message. I have worked > > on it but cannot see the problem. I need someone smarter then me to > > see the problem. Thanks. > > > > Syntax error in query expression > > '[qry Produced Gas CO2 Analysis].Sample_Date=(Select Max(Sample_Date) > > from ([qry Produced Gas CO2 Analysis] As qry2 WHERE > > qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID ))'. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Tuesday, January 03, 2012 1:47 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Subquery > > > > So you need to add an and to your WHERE to filter on the meter_ID, but > > you aren't using a subquery correctly. You need to alias the second > > instance of the query so you can filter the aliased instance down to > > the matching Meter_ID . > > > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas > > CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM > > [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 > > Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced Gas > > CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 > > Analysis].Meter_ID )) > > > > **WARNING** this is air SQL, so haven't tested it. Running from > > Access you have to wrap a subquery in parens and the editor will > > convert those to .[ ] when the query runs. > > > > Charlotte Foust > > On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < > > Chester_Kaup at kindermorgan.com> wrote: > > > > > I am trying to do a subquery to retrieve some data but am thinking > > > it may not be possible. Here is the query that runs correctly. The > > > problem is > > that > > > there is a sample date for each meter_id but of course the subquery > > returns > > > only the max date not a max date for each meter_id. I am thinking 2 > > > separate queries. > > > > > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced > > > Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 > > > Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas > > > CO2 Analysis].Sample_Date=(Select > > Max(Sample_Date) > > > from [qry Produced Gas CO2 Analysis]); > > > > > > Chester Kaup > > > Engineering Technician > > > Kinder Morgan CO2 Company, LLP > > > Office (432) 688-3797 > > > FAX (432) 688-3799 > > > > > > > > > No trees were killed in the sending of this message. However a large > > > number of electrons were terribly inconvenienced. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 Wed Jan 4 15:51:43 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 05 Jan 2012 07:51:43 +1000 Subject: [AccessD] GetFile doesn't return the link file In-Reply-To: <4F04AA7A.6090302@colbyconsulting.com> References: <4F04AA7A.6090302@colbyconsulting.com> Message-ID: <4F04C9EF.32727.985D569@stuart.lexacorp.com.pg> Set the OFN_NODEREFERENCELINKS flag in the OPENFILENAME structure. For details, see: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646839%28v=vs.85%29.aspx -- Stuart On 4 Jan 2012 at 14:37, jwcolby wrote: > I have found something interesting. I have been using the GetOpenFileName stuff stuff since 1998. > I tried to use it to return a link file and it actually returns the .EXE that the link references. > > Does anyone know a way to get the actual link itself? I need to shell (open) the link. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Wed Jan 4 16:42:33 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 4 Jan 2012 16:42:33 -0600 Subject: [AccessD] Subquery In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB146@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB147@houex1.kindermorgan.com> Well I got it to run now but I get only 11 of the 22 meter-id's. Only the ones with the max date of all meter_ids show up. Here is what the SQL looks like. Thanks a lot for you time and trouble looking at this. SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM [qry Produced Gas CO2 Analysis] WHERE (([qry Produced Gas CO2 Analysis].Sample_Date)= (Select Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].* FROM [qry Produced Gas CO2 Analysis]) As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID)); -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, January 04, 2012 3:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subquery And so you do! That's the trouble with writing air SQL on the fly, so to speak. I left out the FROM condition in the subquqery. Try changing this: (SELECT [qry Produced Gas CO2 Analysis].*) As qry2 to this: (SELECT [qry Produced Gas CO2 Analysis].* FROM [qry Produced Gas CO2 Analysis]) As qry2 On Wed, Jan 4, 2012 at 1:05 PM, Kaup, Chester wrote: > No harm done. I just appreciate the help. When I put it all together I > get something like this. I get the following message when I try to the > run the query. > > "Query input must contain at least one table or query." > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced Gas > CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] FROM > [qry Produced Gas CO2 Analysis] WHERE ((([qry Produced Gas CO2 > Analysis].Sample_Date)= (Select Max(qry2.Sample_Date) from (SELECT > [qry Produced Gas CO2 Analysis].*) As qry2 WHERE qry2.Meter_ID=[qry > Produced Gas CO2 Analysis].Meter_ID))); > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, January 03, 2012 6:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subquery > > Sorry, sloppy on my part. It should be > > WHERE [qry Produced Gas CO2 Analysis].Sample_Date=(Select > Max(qry2.Sample_Date) from (SELECT [qry Produced Gas CO2 Analysis].*) > As > qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID) > > Try that. Think of the subquery (qry2) as a table that produces a specific > kind of result. So this part is the subquery: (SELECT [qry Produced Gas > CO2 Analysis].*) As qry2 > > Charlotte Foust > On Tue, Jan 3, 2012 at 12:43 PM, Kaup, Chester < > Chester_Kaup at kindermorgan.com> wrote: > > > I tried to run your SQL and got the following message. I have worked > > on it but cannot see the problem. I need someone smarter then me to > > see the problem. Thanks. > > > > Syntax error in query expression > > '[qry Produced Gas CO2 Analysis].Sample_Date=(Select > > Max(Sample_Date) from ([qry Produced Gas CO2 Analysis] As qry2 > > WHERE qry2.Meter_ID=[qry Produced Gas CO2 Analysis].Meter_ID ))'. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > > Sent: Tuesday, January 03, 2012 1:47 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Subquery > > > > So you need to add an and to your WHERE to filter on the meter_ID, > > but you aren't using a subquery correctly. You need to alias the > > second instance of the query so you can filter the aliased instance > > down to the matching Meter_ID . > > > > SELECT [qry Produced Gas CO2 Analysis].Sample_Date, [qry Produced > > Gas > > CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut] > > FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas CO2 > > Analysis].Sample_Date=(Select Max(Sample_Date) from ([qry Produced > > Gas > > CO2 Analysis] As qry2 WHERE qry2.Meter_ID=[qry Produced Gas CO2 > > Analysis].Meter_ID )) > > > > **WARNING** this is air SQL, so haven't tested it. Running from > > Access you have to wrap a subquery in parens and the editor will > > convert those to .[ ] when the query runs. > > > > Charlotte Foust > > On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < > > Chester_Kaup at kindermorgan.com> wrote: > > > > > I am trying to do a subquery to retrieve some data but am thinking > > > it may not be possible. Here is the query that runs correctly. The > > > problem is > > that > > > there is a sample date for each meter_id but of course the > > > subquery > > returns > > > only the max date not a max date for each meter_id. I am thinking > > > 2 separate queries. > > > > > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced > > > Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 > > > Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas > > > CO2 Analysis].Sample_Date=(Select > > Max(Sample_Date) > > > from [qry Produced Gas CO2 Analysis]); > > > > > > Chester Kaup > > > Engineering Technician > > > Kinder Morgan CO2 Company, LLP > > > Office (432) 688-3797 > > > FAX (432) 688-3799 > > > > > > > > > No trees were killed in the sending of this message. However a > > > large number of electrons were terribly inconvenienced. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Wed Jan 4 19:13:57 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 4 Jan 2012 17:13:57 -0800 Subject: [AccessD] Subquery In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB147@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199A4F6277@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A4F62D4@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB146@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C199A3EB147@houex1.kindermorgan.com> Message-ID: It's doing what the sql is telling it to do because you're filtering on the Max date expression. The query needs to be rebuilt based on a couple of things. What grouping are you using in the base query? Is it Meter_ID, Sample_Date, CO2_Cut? You don't have a GROUP BY clause in the subquery SQL you posted originally, and without it you're never going to get what you need. In the Subquery, you need to group on Meter_ID and return the Max Date by Meter_ID. Then you need to join the base query to your subquery on Meter_ID The subquery should look like this: (SELECT [qry Produced Gas CO2 Analysis,Meter_ID, MAX([qry Produced Gas CO2 Analysis.Sample_Date) As MaxDate FROM [qry Produced Gas CO2 Analysis] GROUP BY [qry Produced Gas CO2 Analysis].Meter_ID) As qry2 That will give you the max Sample_Date for each Meter_ID. Then you join the subquery to the base query like this: SELECT [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut], qry2.MaxDate. FROM [qry Produced Gas CO2 Analysis] RIGHT JOIN (SELECT [qry Produced Gas CO2 Analysis,Meter_ID, MAX([qry Produced Gas CO2 Analysis.Sample_Date) As MaxDate FROM [qry Produced Gas CO2 Analysis] GROUP BY [qry Produced Gas CO2 Analysis].Meter_ID) As qry2 ON [qry Produced Gas CO2 Analysis].Meter_ID = qry2.MeterID AND [qry Produced Gas CO2 Analysis].Sample_Date = qry2.MaxDate ORDER BY [qry Produced Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 Cut], qry2.MaxDate That will give you the Meter_ID, the Max Date and the CO2 Cut for that Sample Date by Meter_ID. Is that what you wanted? Charlotte Foust > > On Tue, Jan 3, 2012 at 10:33 AM, Kaup, Chester < > > Chester_Kaup at kindermorgan.com> wrote: > > > > > I am trying to do a subquery to retrieve some data but am thinking > > > it may not be possible. Here is the query that runs correctly. The > > > problem is > > that > > > there is a sample date for each meter_id but of course the > > > subquery > > returns > > > only the max date not a max date for each meter_id. I am thinking > > > 2 separate queries. > > > > > > SELECT [qry Produced Gas CO2 Analysis].Sample Date, [qry Produced > > > Gas CO2 Analysis].Meter_ID, [qry Produced Gas CO2 Analysis].[Co2 > > > Cut] FROM [qry Produced Gas CO2 Analysis] WHERE [qry Produced Gas > > > CO2 Analysis].Sample_Date=(Select > > Max(Sample_Date) > > > from [qry Produced Gas CO2 Analysis]); -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 5 07:52:52 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 05 Jan 2012 08:52:52 -0500 Subject: [AccessD] Creating a shortcut programmatically Message-ID: <4F05AB34.3060707@colbyconsulting.com> I am building an application to Copy files and then open one of the files copied which is an Access application. I have an Access Fe to handle the data entry for setting up the files being copied etc, plus a C# application to handle the actual automation required to do the copy and open. I then point the user to a shortcut to perform this Copy and Open. I found the following code on the internet which allows me to create the shortcut itself programmatically using the information entered into the Access tables. ' ' CreateShellShortcut() ' ' TargetName - The file that would be launched when the shortcut is clicked. ' TargetArguments - Command line parameters to TargetName. ' TargetDescription - The description of the shortcut. ' ShortcutFileName - The shortcut file name including the .lnk extension. ' ' Copyright (C) 2002 OfficeOne ' Sub CreateShellShortcut(ByVal TargetName As String, _ ByVal TargetArguments As String, _ ByVal TargetDescription As String, _ ByVal ShortcutFileName As String) Dim WSH As Object Dim Shortcut As Object Set WSH = CreateObject("WScript.Shell") Set Shortcut = WSH.CreateShortcut(ShortcutFileName) With Shortcut .TargetPath = TargetName .Arguments = TargetArguments .Description = TargetDescription .Save End With Set Shortcut = Nothing Set WSH = Nothing End Sub -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Thu Jan 5 09:08:02 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 05 Jan 2012 10:08:02 -0500 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <4F05AB34.3060707@colbyconsulting.com> References: <4F05AB34.3060707@colbyconsulting.com> Message-ID: <4F05BCD2.6070405@colbyconsulting.com> And then a new version to add things I need: Public Enum ShellWindowStyle SWS_None = -1 SWS_Hide = vbHide SWS_MaximizedFocus = vbMaximizedFocus SWS_MinimizedFocus = vbMinimizedFocus SWS_NormalFocus = vbNormalFocus End Enum ' ' CreateShellShortcut() ' ' TargetName - The file that would be launched when the shortcut is clicked. ' TargetArguments - Command line parameters to TargetName. ' TargetDescription - The description of the shortcut. ' ShortcutFileName - The shortcut file name including the .lnk extension. ' ' Copyright (C) 2002 OfficeOne ' http://support.microsoft.com/kb/244677 ' Sub CreateShellShortcut(ByVal TargetName As String, _ ByVal TargetArguments As String, _ ByVal TargetDescription As String, _ ByVal ShortcutFileName As String, _ WindowStyle As ShellWindowStyle, _ Optional strWorkingDir As String = "") Dim WSH As Object Dim Shortcut As Object 'dim sc as Wscript.shell. Set WSH = CreateObject("WScript.Shell") Set Shortcut = WSH.CreateShortcut(ShortcutFileName) With Shortcut .TargetPath = TargetName .Arguments = TargetArguments .Description = TargetDescription .WindowStyle = WindowStyle If Len(strWorkingDir) Then .WorkingDirectory = strWorkingDir End If .Save End With Set Shortcut = Nothing Set WSH = Nothing End Sub John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/5/2012 8:52 AM, jwcolby wrote: > I am building an application to Copy files and then open one of the files copied which is an Access > application. I have an Access Fe to handle the data entry for setting up the files being copied etc, > plus a C# application to handle the actual automation required to do the copy and open. I then point > the user to a shortcut to perform this Copy and Open. > > I found the following code on the internet which allows me to create the shortcut itself > programmatically using the information entered into the Access tables. > > ' > ' CreateShellShortcut() > ' > ' TargetName - The file that would be launched when the shortcut is clicked. > ' TargetArguments - Command line parameters to TargetName. > ' TargetDescription - The description of the shortcut. > ' ShortcutFileName - The shortcut file name including the .lnk extension. > ' > ' Copyright (C) 2002 OfficeOne > ' > Sub CreateShellShortcut(ByVal TargetName As String, _ > ByVal TargetArguments As String, _ > ByVal TargetDescription As String, _ > ByVal ShortcutFileName As String) > > Dim WSH As Object > Dim Shortcut As Object > > Set WSH = CreateObject("WScript.Shell") > Set Shortcut = WSH.CreateShortcut(ShortcutFileName) > With Shortcut > .TargetPath = TargetName > .Arguments = TargetArguments > .Description = TargetDescription > .Save > End With > Set Shortcut = Nothing > Set WSH = Nothing > End Sub > From accessd at shaw.ca Thu Jan 5 10:12:15 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 5 Jan 2012 08:12:15 -0800 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <4F05BCD2.6070405@colbyconsulting.com> References: <4F05AB34.3060707@colbyconsulting.com> <4F05BCD2.6070405@colbyconsulting.com> Message-ID: <7789C4DE226C47C4A07A7D87D2F9DAC9@creativesystemdesigns.com> Hi John: I have been following your efforts to create your optimum system and am duly impressed with your results. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 05, 2012 7:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating a shortcut programmatically And then a new version to add things I need: Public Enum ShellWindowStyle SWS_None = -1 SWS_Hide = vbHide SWS_MaximizedFocus = vbMaximizedFocus SWS_MinimizedFocus = vbMinimizedFocus SWS_NormalFocus = vbNormalFocus End Enum ' ' CreateShellShortcut() ' ' TargetName - The file that would be launched when the shortcut is clicked. ' TargetArguments - Command line parameters to TargetName. ' TargetDescription - The description of the shortcut. ' ShortcutFileName - The shortcut file name including the .lnk extension. ' ' Copyright (C) 2002 OfficeOne ' http://support.microsoft.com/kb/244677 ' Sub CreateShellShortcut(ByVal TargetName As String, _ ByVal TargetArguments As String, _ ByVal TargetDescription As String, _ ByVal ShortcutFileName As String, _ WindowStyle As ShellWindowStyle, _ Optional strWorkingDir As String = "") Dim WSH As Object Dim Shortcut As Object 'dim sc as Wscript.shell. Set WSH = CreateObject("WScript.Shell") Set Shortcut = WSH.CreateShortcut(ShortcutFileName) With Shortcut .TargetPath = TargetName .Arguments = TargetArguments .Description = TargetDescription .WindowStyle = WindowStyle If Len(strWorkingDir) Then .WorkingDirectory = strWorkingDir End If .Save End With Set Shortcut = Nothing Set WSH = Nothing End Sub John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/5/2012 8:52 AM, jwcolby wrote: > I am building an application to Copy files and then open one of the files copied which is an Access > application. I have an Access Fe to handle the data entry for setting up the files being copied etc, > plus a C# application to handle the actual automation required to do the copy and open. I then point > the user to a shortcut to perform this Copy and Open. > > I found the following code on the internet which allows me to create the shortcut itself > programmatically using the information entered into the Access tables. > > ' > ' CreateShellShortcut() > ' > ' TargetName - The file that would be launched when the shortcut is clicked. > ' TargetArguments - Command line parameters to TargetName. > ' TargetDescription - The description of the shortcut. > ' ShortcutFileName - The shortcut file name including the .lnk extension. > ' > ' Copyright (C) 2002 OfficeOne > ' > Sub CreateShellShortcut(ByVal TargetName As String, _ > ByVal TargetArguments As String, _ > ByVal TargetDescription As String, _ > ByVal ShortcutFileName As String) > > Dim WSH As Object > Dim Shortcut As Object > > Set WSH = CreateObject("WScript.Shell") > Set Shortcut = WSH.CreateShortcut(ShortcutFileName) > With Shortcut > .TargetPath = TargetName > .Arguments = TargetArguments > .Description = TargetDescription > .Save > End With > Set Shortcut = Nothing > Set WSH = Nothing > End Sub > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu Jan 5 10:26:08 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 05 Jan 2012 11:26:08 -0500 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <4F05BCD2.6070405@colbyconsulting.com> References: <4F05AB34.3060707@colbyconsulting.com> <4F05BCD2.6070405@colbyconsulting.com> Message-ID: <9469F5818D5A4E5C8F3CBE2456E186D9@XPS> Forgive the length of this, but there are some things in here that you might want to use (like where to create the shortcut). Jim. Attribute VB_Name = "OCS_Shortcuts" Option Explicit Function GenerateShortCuts(strDatabaseName As String, strRoot As String) As Integer ' Using tblShortcuts, Create shortcuts required for a database. Dim ws As DAO.Workspace Dim db As DAO.Database Dim rs As DAO.Recordset Dim strShortcutName As String ' Dim pb As New Form_frm_ProgBar Dim intNumberofDSNs As Integer Dim intEntryCount As Integer Dim WSHShell As Object Dim strAllUsersDesktop As String Dim strAllUsersPrograms As String Dim strAllUsersStartmenu As String Dim strAllUsersStartup As String Dim strAllUsersMenuGroup As String Dim strUserDesktop As String Dim strUserPrograms As String Dim strUserStartmenu As String Dim strUserStartup As String Dim strWinDirectory As String Dim strUserMenuGroup As String Dim strSystemMDW As String Dim strProgPath As String Dim strAppPath As String Dim strIconPath As String Dim strStartInPath As String Dim strDatabase As String Dim varRet As Variant Dim intPos As Integer On Error GoTo GenerateShortcuts_Err Set ws = DBEngine.CreateWorkspace("", "Admin", "") Set db = ws.OpenDatabase("P:\Traverse Data\SetClientEnv\SetClientEnv.MDB") Set rs = db.OpenRecordset("tblShortCuts") intNumberofDSNs = rs.RecordCount intEntryCount = 0 'pb.SetMessage "Creating Application Shortcuts" ' Get initial defaults Set WSHShell = CreateObject("WScript.Shell") strAllUsersDesktop = WSHShell.SpecialFolders("AllUsersDesktop") strAllUsersPrograms = WSHShell.SpecialFolders("AllUsersPrograms") strAllUsersStartmenu = WSHShell.SpecialFolders("AllUsersStartMenu") strAllUsersStartup = WSHShell.SpecialFolders("AllUsersStartup") strUserDesktop = WSHShell.SpecialFolders("Desktop") strUserPrograms = WSHShell.SpecialFolders("Programs") strUserStartmenu = WSHShell.SpecialFolders("StartMenu") strUserStartup = WSHShell.SpecialFolders("Startup") strWinDirectory = Left$(strUserDesktop, Len(strUserDesktop) - 8) ' Check if all users setting are correct If strAllUsersDesktop = "" Then strAllUsersDesktop = strWinDirectory & "\All Users\Desktop" End If If strAllUsersStartmenu = "" Then strAllUsersStartmenu = strWinDirectory & "\All Users\Start Menu" End If If strAllUsersPrograms = "" Then strAllUsersPrograms = strWinDirectory & "\All Users\Start Menu\Programs" End If If strAllUsersStartup = "" Then strAllUsersStartup = strWinDirectory & "\All Users\Start Menu\Programs\Startup" End If With rs While Not .EOF ' Check if this entry applies to this database. If UCase(rs("DatabaseName")) = UCase(strDatabaseName) Then strAllUsersMenuGroup = strAllUsersPrograms & "\" & rs("MenuGroupName") strUserMenuGroup = strUserPrograms & "\" & rs("MenuGroupName") ' Find Executeable path If rs("ProgPath") = "MSACCESS.EXE" Then ' Note need to add version #'s to table ' hard coding for Access 2000 for now ' See if Access 2003 is installed. 'varRet = fReturnRegKeyValue(HKEY_CLASSES_ROOT, "Access.Application.11\Shell\Open\Command", "") 'If Left$(varRet, 5) = "Error" Then ' Now see if Access 2000 is installed. ' Access 2000 is required. We don't want to use 2003. varRet = fReturnRegKeyValue(HKEY_CLASSES_ROOT, "Access.Application.9\Shell\Open\Command", "") If Left$(varRet, 5) = "Error" Then ' Cannot locate Access MsgBox "Access 2000 is not installed on this machine. Please correct", vbCritical + vbOKOnly strProgPath = "" Else intPos = InStr(1, varRet, "MSACCESS.EXE") strProgPath = Mid$(varRet, 2, intPos + 10) End If 'Else ' intPos = InStr(1, varRet, "MSACCESS.EXE") ' strProgPath = Mid$(varRet, 2, intPos + 10) 'End If Else strProgPath = rs("ProgPath") End If ' Need to modify the all paths to point to the root ' drive if drive letter was not specified. If IsNull(rs("AppPath")) Then strAppPath = "" Else strAppPath = rs("AppPath") End If If Left$(strAppPath, 1) = "\" Then strAppPath = strRoot & rs("AppPath") End If If Left$(rs("IconPath"), 1) = "\" Then strIconPath = strRoot & rs("IconPath") Else strIconPath = rs("IconPath") End If If Left$(rs("StartinPath"), 1) = "\" Then strStartInPath = strRoot & rs("StartinPath") Else strStartInPath = rs("StartinPath") End If ' OK if we have everything, then let's do it! If strProgPath <> "" Then If rs("Desktop") Then If rs("AllUsers") Then Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strAllUsersDesktop, _ rs("ShortcutName")) Else Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strUserDesktop, _ rs("ShortcutName")) End If End If If rs("StartMenu") Then If rs("AllUsers") Then Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strAllUsersStartmenu, _ rs("ShortcutName")) Else Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strUserStartmenu, _ rs("ShortcutName")) End If End If If rs("ProgramMenu") Then If rs("AllUsers") Then Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strAllUsersPrograms, _ rs("ShortcutName")) Else Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strUserPrograms, _ rs("ShortcutName")) End If End If If rs("MenuGroup") Then If rs("AllUsers") Then Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strAllUsersMenuGroup, _ rs("ShortcutName")) Else Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strUserMenuGroup, _ rs("ShortcutName")) End If End If If rs("Startup") Then If rs("AllUsers") Then Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strAllUsersStartup, _ rs("ShortcutName")) Else Call CreateShortcut(strProgPath, _ strAppPath, _ strIconPath, _ strStartInPath, _ strUserStartup, _ rs("ShortcutName")) End If End If End If End If intEntryCount = intEntryCount + 1 'pb.SetBarPercent (intEntryCount / intNumberofDSNs) * 100 rs.MoveNext Wend End With GenerateShortCuts = True GenerateShortcuts_End: On Error Resume Next If Not rs Is Nothing Then rs.Close Set rs = Nothing End If If Not db Is Nothing Then db.Close Set db = Nothing End If If Not ws Is Nothing Then ws.Close Set ws = Nothing End If Set WSHShell = Nothing Exit Function GenerateShortcuts_Err: GenerateShortCuts = False Resume GenerateShortcuts_End End Function Private Function CreateShortcut(strProgramLocation As String, _ strAppPath As String, _ strIconPath As String, _ strStartInPath As String, _ strShortcutPath As String, _ strShortcutName As String) As Integer Dim objWshShell As Object Dim objWshShortcut As Object ' On Error GoTo CreateShortcut_Err CreateShortcut = True Set objWshShell = CreateObject("WScript.Shell") If Len(Dir$(strShortcutPath & "\.", vbDirectory)) = 0 Then ' Folder doesn't exist. Need to create. MkDir (strShortcutPath) End If Set objWshShortcut = objWshShell.CreateShortcut( _ strShortcutPath & "\" & strShortcutName & ".lnk") With objWshShortcut .TargetPath = strProgramLocation If strAppPath <> "" Then .Arguments = Chr$(34) & strAppPath & Chr$(34) End If .IconLocation = strIconPath & ",0" .WorkingDirectory = strStartInPath .WindowStyle = 4 .Save End With CreateShortcut_End: On Error Resume Next Set objWshShortcut = Nothing Set objWshShell = Nothing Exit Function CreateShortcut_Err: CreateShortcut = False Resume CreateShortcut_End End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 05, 2012 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating a shortcut programmatically And then a new version to add things I need: Public Enum ShellWindowStyle SWS_None = -1 SWS_Hide = vbHide SWS_MaximizedFocus = vbMaximizedFocus SWS_MinimizedFocus = vbMinimizedFocus SWS_NormalFocus = vbNormalFocus End Enum ' ' CreateShellShortcut() ' ' TargetName - The file that would be launched when the shortcut is clicked. ' TargetArguments - Command line parameters to TargetName. ' TargetDescription - The description of the shortcut. ' ShortcutFileName - The shortcut file name including the .lnk extension. ' ' Copyright (C) 2002 OfficeOne ' http://support.microsoft.com/kb/244677 ' Sub CreateShellShortcut(ByVal TargetName As String, _ ByVal TargetArguments As String, _ ByVal TargetDescription As String, _ ByVal ShortcutFileName As String, _ WindowStyle As ShellWindowStyle, _ Optional strWorkingDir As String = "") Dim WSH As Object Dim Shortcut As Object 'dim sc as Wscript.shell. Set WSH = CreateObject("WScript.Shell") Set Shortcut = WSH.CreateShortcut(ShortcutFileName) With Shortcut .TargetPath = TargetName .Arguments = TargetArguments .Description = TargetDescription .WindowStyle = WindowStyle If Len(strWorkingDir) Then .WorkingDirectory = strWorkingDir End If .Save End With Set Shortcut = Nothing Set WSH = Nothing End Sub John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/5/2012 8:52 AM, jwcolby wrote: > I am building an application to Copy files and then open one of the files copied which is an Access > application. I have an Access Fe to handle the data entry for setting up the files being copied etc, > plus a C# application to handle the actual automation required to do the copy and open. I then point > the user to a shortcut to perform this Copy and Open. > > I found the following code on the internet which allows me to create the shortcut itself > programmatically using the information entered into the Access tables. > > ' > ' CreateShellShortcut() > ' > ' TargetName - The file that would be launched when the shortcut is clicked. > ' TargetArguments - Command line parameters to TargetName. > ' TargetDescription - The description of the shortcut. > ' ShortcutFileName - The shortcut file name including the .lnk extension. > ' > ' Copyright (C) 2002 OfficeOne > ' > Sub CreateShellShortcut(ByVal TargetName As String, _ > ByVal TargetArguments As String, _ > ByVal TargetDescription As String, _ > ByVal ShortcutFileName As String) > > Dim WSH As Object > Dim Shortcut As Object > > Set WSH = CreateObject("WScript.Shell") > Set Shortcut = WSH.CreateShortcut(ShortcutFileName) > With Shortcut > .TargetPath = TargetName > .Arguments = TargetArguments > .Description = TargetDescription > .Save > End With > Set Shortcut = Nothing > Set WSH = Nothing > End Sub > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 5 11:35:38 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 05 Jan 2012 12:35:38 -0500 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <9469F5818D5A4E5C8F3CBE2456E186D9@XPS> References: <4F05AB34.3060707@colbyconsulting.com> <4F05BCD2.6070405@colbyconsulting.com> <9469F5818D5A4E5C8F3CBE2456E186D9@XPS> Message-ID: <4F05DF6A.1010804@colbyconsulting.com> > Forgive the length of this, but there are some things in here that you might want to use (like where to create the shortcut). Yes. I actually do that in the line that creates the thing. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/5/2012 11:26 AM, Jim Dettman wrote: > Forgive the length of this, but there are some things in here that you might > want to use (like where to create the shortcut). > > Jim. > > Attribute VB_Name = "OCS_Shortcuts" > Option Explicit > > Function GenerateShortCuts(strDatabaseName As String, strRoot As String) As > Integer > > ' Using tblShortcuts, Create shortcuts required for a database. > > Dim ws As DAO.Workspace > Dim db As DAO.Database > Dim rs As DAO.Recordset > Dim strShortcutName As String > > ' Dim pb As New Form_frm_ProgBar > Dim intNumberofDSNs As Integer > Dim intEntryCount As Integer > > Dim WSHShell As Object > > Dim strAllUsersDesktop As String > Dim strAllUsersPrograms As String > Dim strAllUsersStartmenu As String > Dim strAllUsersStartup As String > Dim strAllUsersMenuGroup As String > Dim strUserDesktop As String > Dim strUserPrograms As String > Dim strUserStartmenu As String > Dim strUserStartup As String > Dim strWinDirectory As String > Dim strUserMenuGroup As String > Dim strSystemMDW As String > Dim strProgPath As String > Dim strAppPath As String > Dim strIconPath As String > Dim strStartInPath As String > > Dim strDatabase As String > Dim varRet As Variant > Dim intPos As Integer > > On Error GoTo GenerateShortcuts_Err > > Set ws = DBEngine.CreateWorkspace("", "Admin", "") > Set db = ws.OpenDatabase("P:\Traverse > Data\SetClientEnv\SetClientEnv.MDB") > Set rs = db.OpenRecordset("tblShortCuts") > intNumberofDSNs = rs.RecordCount > intEntryCount = 0 > 'pb.SetMessage "Creating Application Shortcuts" > > ' Get initial defaults > Set WSHShell = CreateObject("WScript.Shell") > strAllUsersDesktop = WSHShell.SpecialFolders("AllUsersDesktop") > strAllUsersPrograms = WSHShell.SpecialFolders("AllUsersPrograms") > strAllUsersStartmenu = WSHShell.SpecialFolders("AllUsersStartMenu") > strAllUsersStartup = WSHShell.SpecialFolders("AllUsersStartup") > strUserDesktop = WSHShell.SpecialFolders("Desktop") > strUserPrograms = WSHShell.SpecialFolders("Programs") > strUserStartmenu = WSHShell.SpecialFolders("StartMenu") > strUserStartup = WSHShell.SpecialFolders("Startup") > > strWinDirectory = Left$(strUserDesktop, Len(strUserDesktop) - 8) > > ' Check if all users setting are correct > If strAllUsersDesktop = "" Then > strAllUsersDesktop = strWinDirectory& "\All Users\Desktop" > End If > If strAllUsersStartmenu = "" Then > strAllUsersStartmenu = strWinDirectory& "\All Users\Start Menu" > End If > If strAllUsersPrograms = "" Then > strAllUsersPrograms = strWinDirectory& "\All Users\Start > Menu\Programs" > End If > If strAllUsersStartup = "" Then > strAllUsersStartup = strWinDirectory& "\All Users\Start > Menu\Programs\Startup" > End If > > With rs > While Not .EOF > ' Check if this entry applies to this database. > If UCase(rs("DatabaseName")) = UCase(strDatabaseName) Then > > strAllUsersMenuGroup = strAllUsersPrograms& "\"& > rs("MenuGroupName") > strUserMenuGroup = strUserPrograms& "\"& rs("MenuGroupName") > > ' Find Executeable path > If rs("ProgPath") = "MSACCESS.EXE" Then > ' Note need to add version #'s to table > ' hard coding for Access 2000 for now > ' See if Access 2003 is installed. > 'varRet = fReturnRegKeyValue(HKEY_CLASSES_ROOT, > "Access.Application.11\Shell\Open\Command", "") > 'If Left$(varRet, 5) = "Error" Then > ' Now see if Access 2000 is installed. > ' Access 2000 is required. We don't want to use 2003. > varRet = fReturnRegKeyValue(HKEY_CLASSES_ROOT, > "Access.Application.9\Shell\Open\Command", "") > If Left$(varRet, 5) = "Error" Then > ' Cannot locate Access > MsgBox "Access 2000 is not installed on this > machine. Please correct", vbCritical + vbOKOnly > strProgPath = "" > Else > intPos = InStr(1, varRet, "MSACCESS.EXE") > strProgPath = Mid$(varRet, 2, intPos + 10) > End If > 'Else > ' intPos = InStr(1, varRet, "MSACCESS.EXE") > ' strProgPath = Mid$(varRet, 2, intPos + 10) > 'End If > Else > strProgPath = rs("ProgPath") > End If > > ' Need to modify the all paths to point to the root > ' drive if drive letter was not specified. > If IsNull(rs("AppPath")) Then > strAppPath = "" > Else > strAppPath = rs("AppPath") > End If > > If Left$(strAppPath, 1) = "\" Then > strAppPath = strRoot& rs("AppPath") > End If > > If Left$(rs("IconPath"), 1) = "\" Then > strIconPath = strRoot& rs("IconPath") > Else > strIconPath = rs("IconPath") > End If > > If Left$(rs("StartinPath"), 1) = "\" Then > strStartInPath = strRoot& rs("StartinPath") > Else > strStartInPath = rs("StartinPath") > End If > > ' OK if we have everything, then let's do it! > If strProgPath<> "" Then > If rs("Desktop") Then > If rs("AllUsers") Then > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strAllUsersDesktop, _ > rs("ShortcutName")) > Else > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strUserDesktop, _ > rs("ShortcutName")) > End If > End If > > If rs("StartMenu") Then > If rs("AllUsers") Then > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strAllUsersStartmenu, _ > rs("ShortcutName")) > Else > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strUserStartmenu, _ > rs("ShortcutName")) > End If > End If > > If rs("ProgramMenu") Then > If rs("AllUsers") Then > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strAllUsersPrograms, _ > rs("ShortcutName")) > Else > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strUserPrograms, _ > rs("ShortcutName")) > End If > End If > > If rs("MenuGroup") Then > If rs("AllUsers") Then > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strAllUsersMenuGroup, _ > rs("ShortcutName")) > Else > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strUserMenuGroup, _ > rs("ShortcutName")) > End If > End If > > If rs("Startup") Then > If rs("AllUsers") Then > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strAllUsersStartup, _ > rs("ShortcutName")) > Else > Call CreateShortcut(strProgPath, _ > strAppPath, _ > strIconPath, _ > strStartInPath, _ > strUserStartup, _ > rs("ShortcutName")) > End If > End If > End If > > End If > > intEntryCount = intEntryCount + 1 > 'pb.SetBarPercent (intEntryCount / intNumberofDSNs) * 100 > rs.MoveNext > Wend > End With > > GenerateShortCuts = True > > GenerateShortcuts_End: > On Error Resume Next > > If Not rs Is Nothing Then > rs.Close > Set rs = Nothing > End If > > If Not db Is Nothing Then > db.Close > Set db = Nothing > End If > > If Not ws Is Nothing Then > ws.Close > Set ws = Nothing > End If > > Set WSHShell = Nothing > > Exit Function > > GenerateShortcuts_Err: > GenerateShortCuts = False > Resume GenerateShortcuts_End > > End Function > Private Function CreateShortcut(strProgramLocation As String, _ > strAppPath As String, _ > strIconPath As String, _ > strStartInPath As String, _ > strShortcutPath As String, _ > strShortcutName As String) As Integer > > Dim objWshShell As Object > Dim objWshShortcut As Object > > ' On Error GoTo CreateShortcut_Err > > CreateShortcut = True > > Set objWshShell = CreateObject("WScript.Shell") > > If Len(Dir$(strShortcutPath& "\.", vbDirectory)) = 0 Then > ' Folder doesn't exist. Need to create. > MkDir (strShortcutPath) > End If > > Set objWshShortcut = objWshShell.CreateShortcut( _ > strShortcutPath& "\"& strShortcutName& ".lnk") > > With objWshShortcut > .TargetPath = strProgramLocation > If strAppPath<> "" Then > .Arguments = Chr$(34)& strAppPath& Chr$(34) > End If > .IconLocation = strIconPath& ",0" > .WorkingDirectory = strStartInPath > .WindowStyle = 4 > .Save > End With > > CreateShortcut_End: > On Error Resume Next > > Set objWshShortcut = Nothing > Set objWshShell = Nothing > Exit Function > > CreateShortcut_Err: > CreateShortcut = False > Resume CreateShortcut_End > > End Function > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, January 05, 2012 10:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Creating a shortcut programmatically > > And then a new version to add things I need: > > Public Enum ShellWindowStyle > SWS_None = -1 > SWS_Hide = vbHide > SWS_MaximizedFocus = vbMaximizedFocus > SWS_MinimizedFocus = vbMinimizedFocus > SWS_NormalFocus = vbNormalFocus > End Enum > > > ' > ' CreateShellShortcut() > ' > ' TargetName - The file that would be launched when the shortcut is clicked. > ' TargetArguments - Command line parameters to TargetName. > ' TargetDescription - The description of the shortcut. > ' ShortcutFileName - The shortcut file name including the .lnk extension. > ' > ' Copyright (C) 2002 OfficeOne > ' http://support.microsoft.com/kb/244677 > ' > Sub CreateShellShortcut(ByVal TargetName As String, _ > ByVal TargetArguments As String, _ > ByVal TargetDescription As String, _ > ByVal ShortcutFileName As String, _ > WindowStyle As ShellWindowStyle, _ > Optional strWorkingDir As String = "") > > Dim WSH As Object > Dim Shortcut As Object > 'dim sc as Wscript.shell. > > Set WSH = CreateObject("WScript.Shell") > Set Shortcut = WSH.CreateShortcut(ShortcutFileName) > With Shortcut > .TargetPath = TargetName > .Arguments = TargetArguments > .Description = TargetDescription > .WindowStyle = WindowStyle > If Len(strWorkingDir) Then > .WorkingDirectory = strWorkingDir > End If > .Save > End With > Set Shortcut = Nothing > Set WSH = Nothing > End Sub > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > From jwcolby at colbyconsulting.com Thu Jan 5 15:05:27 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 05 Jan 2012 16:05:27 -0500 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <7789C4DE226C47C4A07A7D87D2F9DAC9@creativesystemdesigns.com> References: <4F05AB34.3060707@colbyconsulting.com> <4F05BCD2.6070405@colbyconsulting.com> <7789C4DE226C47C4A07A7D87D2F9DAC9@creativesystemdesigns.com> Message-ID: <4F061097.7040105@colbyconsulting.com> It is starting to work quite well, at least for me on my workstation. I still need to do testing using the user workstations. The key for me was using C# to do the actual automation piece, the copy of the files (easy and worked in Access) and the startup of the target application, which worked 95% of the time in VBA. Unfortunately 95% is not good enough. AFAICT performing that automation in C# gives me that 100% reliability of the automation piece. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/5/2012 11:12 AM, Jim Lawrence wrote: > Hi John: > > I have been following your efforts to create your optimum system and am duly > impressed with your results. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, January 05, 2012 7:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Creating a shortcut programmatically > > And then a new version to add things I need: > > Public Enum ShellWindowStyle > SWS_None = -1 > SWS_Hide = vbHide > SWS_MaximizedFocus = vbMaximizedFocus > SWS_MinimizedFocus = vbMinimizedFocus > SWS_NormalFocus = vbNormalFocus > End Enum > > > ' > ' CreateShellShortcut() > ' > ' TargetName - The file that would be launched when the shortcut is clicked. > ' TargetArguments - Command line parameters to TargetName. > ' TargetDescription - The description of the shortcut. > ' ShortcutFileName - The shortcut file name including the .lnk extension. > ' > ' Copyright (C) 2002 OfficeOne > ' http://support.microsoft.com/kb/244677 > ' > Sub CreateShellShortcut(ByVal TargetName As String, _ > ByVal TargetArguments As String, _ > ByVal TargetDescription As String, _ > ByVal ShortcutFileName As String, _ > WindowStyle As ShellWindowStyle, _ > Optional strWorkingDir As String = "") > > Dim WSH As Object > Dim Shortcut As Object > 'dim sc as Wscript.shell. > > Set WSH = CreateObject("WScript.Shell") > Set Shortcut = WSH.CreateShortcut(ShortcutFileName) > With Shortcut > .TargetPath = TargetName > .Arguments = TargetArguments > .Description = TargetDescription > .WindowStyle = WindowStyle > If Len(strWorkingDir) Then > .WorkingDirectory = strWorkingDir > End If > .Save > End With > Set Shortcut = Nothing > Set WSH = Nothing > End Sub > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/5/2012 8:52 AM, jwcolby wrote: >> I am building an application to Copy files and then open one of the files > copied which is an Access >> application. I have an Access Fe to handle the data entry for setting up > the files being copied etc, >> plus a C# application to handle the actual automation required to do the > copy and open. I then point >> the user to a shortcut to perform this Copy and Open. >> >> I found the following code on the internet which allows me to create the > shortcut itself >> programmatically using the information entered into the Access tables. >> >> ' >> ' CreateShellShortcut() >> ' >> ' TargetName - The file that would be launched when the shortcut is > clicked. >> ' TargetArguments - Command line parameters to TargetName. >> ' TargetDescription - The description of the shortcut. >> ' ShortcutFileName - The shortcut file name including the .lnk extension. >> ' >> ' Copyright (C) 2002 OfficeOne >> ' >> Sub CreateShellShortcut(ByVal TargetName As String, _ >> ByVal TargetArguments As String, _ >> ByVal TargetDescription As String, _ >> ByVal ShortcutFileName As String) >> >> Dim WSH As Object >> Dim Shortcut As Object >> >> Set WSH = CreateObject("WScript.Shell") >> Set Shortcut = WSH.CreateShortcut(ShortcutFileName) >> With Shortcut >> .TargetPath = TargetName >> .Arguments = TargetArguments >> .Description = TargetDescription >> .Save >> End With >> Set Shortcut = Nothing >> Set WSH = Nothing >> End Sub >> > From charlotte.foust at gmail.com Thu Jan 5 20:20:56 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Thu, 5 Jan 2012 18:20:56 -0800 Subject: [AccessD] Creating a shortcut programmatically In-Reply-To: <4F061097.7040105@colbyconsulting.com> References: <4F05AB34.3060707@colbyconsulting.com> <4F05BCD2.6070405@colbyconsulting.com> <7789C4DE226C47C4A07A7D87D2F9DAC9@creativesystemdesigns.com> <4F061097.7040105@colbyconsulting.com> Message-ID: That sounds about right to me, John! ;-} Charlotte Foust On Thu, Jan 5, 2012 at 1:05 PM, jwcolby wrote: > It is starting to work quite well, at least for me on my workstation. I > still need to do testing using the user workstations. > > The key for me was using C# to do the actual automation piece, the copy of > the files (easy and worked in Access) and the startup of the target > application, which worked 95% of the time in VBA. Unfortunately 95% is not > good enough. AFAICT performing that automation in C# gives me that 100% > reliability of the automation piece. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/5/2012 11:12 AM, Jim Lawrence wrote: > >> Hi John: >> >> I have been following your efforts to create your optimum system and am >> duly >> impressed with your results. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces@**databaseadvisors.com >> [mailto:accessd-bounces@**databaseadvisors.com] >> On Behalf Of jwcolby >> Sent: Thursday, January 05, 2012 7:08 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Creating a shortcut programmatically >> >> And then a new version to add things I need: >> >> Public Enum ShellWindowStyle >> SWS_None = -1 >> SWS_Hide = vbHide >> SWS_MaximizedFocus = vbMaximizedFocus >> SWS_MinimizedFocus = vbMinimizedFocus >> SWS_NormalFocus = vbNormalFocus >> End Enum >> >> >> ' >> ' CreateShellShortcut() >> ' >> ' TargetName - The file that would be launched when the shortcut is >> clicked. >> ' TargetArguments - Command line parameters to TargetName. >> ' TargetDescription - The description of the shortcut. >> ' ShortcutFileName - The shortcut file name including the .lnk extension. >> ' >> ' Copyright (C) 2002 OfficeOne >> ' http://support.microsoft.com/**kb/244677 >> >> >> ' >> Sub CreateShellShortcut(ByVal TargetName As String, _ >> ByVal TargetArguments As String, _ >> ByVal TargetDescription As String, _ >> ByVal ShortcutFileName As String, _ >> WindowStyle As ShellWindowStyle, _ >> Optional strWorkingDir As String = "") >> >> Dim WSH As Object >> Dim Shortcut As Object >> 'dim sc as Wscript.shell. >> >> Set WSH = CreateObject("WScript.Shell") >> Set Shortcut = WSH.CreateShortcut(**ShortcutFileName) >> With Shortcut >> .TargetPath = TargetName >> .Arguments = TargetArguments >> .Description = TargetDescription >> .WindowStyle = WindowStyle >> If Len(strWorkingDir) Then >> .WorkingDirectory = strWorkingDir >> End If >> .Save >> End With >> Set Shortcut = Nothing >> Set WSH = Nothing >> End Sub >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 1/5/2012 8:52 AM, jwcolby wrote: >> >>> I am building an application to Copy files and then open one of the files >>> >> copied which is an Access >> >>> application. I have an Access Fe to handle the data entry for setting up >>> >> the files being copied etc, >> >>> plus a C# application to handle the actual automation required to do the >>> >> copy and open. I then point >> >>> the user to a shortcut to perform this Copy and Open. >>> >>> I found the following code on the internet which allows me to create the >>> >> shortcut itself >> >>> programmatically using the information entered into the Access tables. >>> >>> ' >>> ' CreateShellShortcut() >>> ' >>> ' TargetName - The file that would be launched when the shortcut is >>> >> clicked. >> >>> ' TargetArguments - Command line parameters to TargetName. >>> ' TargetDescription - The description of the shortcut. >>> ' ShortcutFileName - The shortcut file name including the .lnk extension. >>> ' >>> ' Copyright (C) 2002 OfficeOne >>> ' >>> Sub CreateShellShortcut(ByVal TargetName As String, _ >>> ByVal TargetArguments As String, _ >>> ByVal TargetDescription As String, _ >>> ByVal ShortcutFileName As String) >>> >>> Dim WSH As Object >>> Dim Shortcut As Object >>> >>> Set WSH = CreateObject("WScript.Shell") >>> Set Shortcut = WSH.CreateShortcut(**ShortcutFileName) >>> With Shortcut >>> .TargetPath = TargetName >>> .Arguments = TargetArguments >>> .Description = TargetDescription >>> .Save >>> End With >>> Set Shortcut = Nothing >>> Set WSH = Nothing >>> End Sub >>> >>> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From fuller.artful at gmail.com Fri Jan 6 10:37:44 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 6 Jan 2012 11:37:44 -0500 Subject: [AccessD] OT Friday: Humour Time Message-ID: A guy stumbles into a bar and orders a double-scotch. The barkeep says, "You're too drunk already. I am legally obliged to refuse to serve you." The customer leaves, walks down the street to the immediate back lane, goes down same, and enters the bar via the side door. Steps up to the bar and orders a double-scotch. Bartender says, "I can't serve you, you're already drunk." Guy leaves, goes the other way, then down the alley, and enters via the other side door. Steps up to the bar and orders a double-scotch. Bartender says, "I can't serve you. You've already had too much to drink." Guy leaves, goes down the alley, turns left, finds the rear door, and re-enters the bar. Steps up, orders a double-scotch. Bartender says, "I told you already, I can't serve you, you're too drunk." Guy replies, "How many bars do you work in?" -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From Benson at ge.com Fri Jan 6 21:16:14 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sat, 7 Jan 2012 03:16:14 +0000 Subject: [AccessD] Themes - datasheet forms In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37F043@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37F043@cinmldgcna02.e2k.ad.ge.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF37F3A4@cinmldgcna02.e2k.ad.ge.com> I asked this elsewhere and did not get an answer. Some datasheet forms are changing font when I make different selections in the font theme group; others it has no effect. Anyone know why? From rockysmolin at bchacc.com Sat Jan 7 09:41:45 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 7 Jan 2012 07:41:45 -0800 Subject: [AccessD] Text Box Format Message-ID: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> Dear List: I have a text box which is bound to a field which stores elapsed time so there's usually a string of decimals in the table. The user wants to see the time to the nearest hundredth of a minutes. No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. But when he goes to edit the field it displays 1.23456 making editing difficult. He wants to still see 1.23 in the field when he clicks in to edit (and is willing to lose the fraction past 2 decimal places when editing). Is there a way to control that? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From stuart at lexacorp.com.pg Sat Jan 7 09:51:28 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 08 Jan 2012 01:51:28 +1000 Subject: [AccessD] Text Box Format In-Reply-To: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> Message-ID: <4F086A00.8962.7FBE76B@stuart.lexacorp.com.pg> My first idea would be to truncate the value in the Before Update event so that you never store the extra places. -- Stuart On 7 Jan 2012 at 7:41, Rocky Smolin wrote: > Dear List: > > I have a text box which is bound to a field which stores elapsed time so > there's usually a string of decimals in the table. > > The user wants to see the time to the nearest hundredth of a minutes. No > problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > But when he goes to edit the field it displays 1.23456 making editing > difficult. He wants to still see 1.23 in the field when he clicks in to > edit (and is willing to lose the fraction past 2 decimal places when > editing). > > Is there a way to control that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sat Jan 7 10:11:30 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 7 Jan 2012 11:11:30 -0500 Subject: [AccessD] Text Box Format In-Reply-To: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> Message-ID: Rocky, A simple way to do this is to use this as the input mask: 99:00;0;_ However, this does not actually mean hundredths of a minute; rather, it means minutes and seconds. For that reason, you can't enter more than 60 seconds. The best approach i to forget about the date/time field type, in my opinion. Change the field type to either numeric or text. Either way, you can use the input mask above. HTH, Arthur On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin wrote: > Dear List: > > I have a text box which is bound to a field which stores elapsed time so > there's usually a string of decimals in the table. > > The user wants to see the time to the nearest hundredth of a minutes. No > problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > But when he goes to edit the field it displays 1.23456 making editing > difficult. He wants to still see 1.23 in the field when he clicks in to > edit (and is willing to lose the fraction past 2 decimal places when > editing). > > Is there a way to control that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com > www.e-z-mrp.com > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From rockysmolin at bchacc.com Sat Jan 7 10:42:44 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 7 Jan 2012 08:42:44 -0800 Subject: [AccessD] Text Box Format In-Reply-To: <4F086A00.8962.7FBE76B@stuart.lexacorp.com.pg> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> <4F086A00.8962.7FBE76B@stuart.lexacorp.com.pg> Message-ID: That's a problem because the user wants the whole fraction stored untruncated. Otherwise when they restart the timer which show hours:minutes:seconds it jumps to a different time. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, January 07, 2012 7:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format My first idea would be to truncate the value in the Before Update event so that you never store the extra places. -- Stuart On 7 Jan 2012 at 7:41, Rocky Smolin wrote: > Dear List: > > I have a text box which is bound to a field which stores elapsed time > so there's usually a string of decimals in the table. > > The user wants to see the time to the nearest hundredth of a minutes. > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > But when he goes to edit the field it displays 1.23456 making editing > difficult. He wants to still see 1.23 in the field when he clicks in > to edit (and is willing to lose the fraction past 2 decimal places > when editing). > > Is there a way to control that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Sat Jan 7 10:52:13 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 7 Jan 2012 08:52:13 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> <4F086A00.8962.7FBE76B@stuart.lexacorp.com.pg> Message-ID: That doesn't make sense, Rocky. If he wants it stored untruncated, he can't edit a shorter version of it. Charlotte Foust On Sat, Jan 7, 2012 at 8:42 AM, Rocky Smolin wrote: > That's a problem because the user wants the whole fraction stored > untruncated. Otherwise when they restart the timer which show > hours:minutes:seconds it jumps to a different time. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Saturday, January 07, 2012 7:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > My first idea would be to truncate the value in the Before Update event so > that you never store the extra places. > > -- > Stuart > > On 7 Jan 2012 at 7:41, Rocky Smolin wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed time > > so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making editing > > difficult. He wants to still see 1.23 in the field when he clicks in > > to edit (and is willing to lose the fraction past 2 decimal places > > when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From marklbreen at gmail.com Sat Jan 7 12:32:21 2012 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 7 Jan 2012 18:32:21 +0000 Subject: [AccessD] Another database from hell Message-ID: Hello AccessD Friends, I have a new client and my task is to replace an aging Access database with a DotNetNuke based system. Because the Access db is due for early retirement, neither I nor the client wish to invest any time or effort in re-programming. I am prepared to perform some minor improvements, but on the basis that it is working as is for a number of years, I do not want to do too much work on it. The reason I am seeking help from AccessD is that the Access App is loosing connection with the network a few times per day. The message the users get is *"Your network access was interrupted. To continue, close the database and then open it again. You cannot save the record at this time"* Now the scary bit, 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. 2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times. 4) It does not help if I configure a BE and an FE or simply include all tables in the one mdb file. 5) They do not currently operate with an FE on the local machine (I am considering moving FE's locally to test that). 6) All PCs are slow and old 7) Error handling and best practices are absolutely non-existent 8) Some PCs run Access 2007 and some run 2003. The db files are stored on a Windows 2008 R2 Server, but the users think they had better performance when it was hosted on Windows XP machines, I am not sure if that is correct but can check. Any suggestions ?? My advice to someone in my position would be to simply not touch the Access App and focus on the new app, but if I could think of a quick win, I would try it to simply prevent the error mentioned above. Thanks for any advice and I will understand if you have non at all :) Mark From eric.starkenburg at home.nl Sat Jan 7 13:51:49 2012 From: eric.starkenburg at home.nl (Eric Starkenburg) Date: Sat, 7 Jan 2012 20:51:49 +0100 Subject: [AccessD] Another database from hell In-Reply-To: References: Message-ID: Hi Mark, could it be that the network itself is the problem? You mention win2008r2 and better experience earlier with XP. Sounds to me like they have upgraded servers and now the network isn't as stable as before. Did they get this error when hosted on XP machines? Regards, Eric Starkenburg -----Oorspronkelijk bericht----- From: Mark Breen Sent: Saturday, January 07, 2012 7:32 PM To: Access Developers discussion and problem solving ; Discussion of Hardware and Software issues Subject: [AccessD] Another database from hell Hello AccessD Friends, I have a new client and my task is to replace an aging Access database with a DotNetNuke based system. Because the Access db is due for early retirement, neither I nor the client wish to invest any time or effort in re-programming. I am prepared to perform some minor improvements, but on the basis that it is working as is for a number of years, I do not want to do too much work on it. The reason I am seeking help from AccessD is that the Access App is loosing connection with the network a few times per day. The message the users get is *"Your network access was interrupted. To continue, close the database and then open it again. You cannot save the record at this time"* Now the scary bit, 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. 2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times. 4) It does not help if I configure a BE and an FE or simply include all tables in the one mdb file. 5) They do not currently operate with an FE on the local machine (I am considering moving FE's locally to test that). 6) All PCs are slow and old 7) Error handling and best practices are absolutely non-existent 8) Some PCs run Access 2007 and some run 2003. The db files are stored on a Windows 2008 R2 Server, but the users think they had better performance when it was hosted on Windows XP machines, I am not sure if that is correct but can check. Any suggestions ?? My advice to someone in my position would be to simply not touch the Access App and focus on the new app, but if I could think of a quick win, I would try it to simply prevent the error mentioned above. Thanks for any advice and I will understand if you have non at all :) Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Jan 7 14:20:44 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 07 Jan 2012 15:20:44 -0500 Subject: [AccessD] Another database from hell In-Reply-To: References: Message-ID: <0D43023ABD934CCF8A331CD8CFD161E5@XPS> Mark, <<8) Some PCs run Access 2007 and some run 2003.>> App should be split and each user should have their own FE. <> Quite possible and I'm with Eric; it's probably a network issue. Microsoft had problems with SMB 2.0 (a network protocol that was supposed to speed things up, but in some cases does not). However splitting and giving each user their own FE may take care of the issue just be reducing overall network and server load. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Saturday, January 07, 2012 01:32 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] Another database from hell Hello AccessD Friends, I have a new client and my task is to replace an aging Access database with a DotNetNuke based system. Because the Access db is due for early retirement, neither I nor the client wish to invest any time or effort in re-programming. I am prepared to perform some minor improvements, but on the basis that it is working as is for a number of years, I do not want to do too much work on it. The reason I am seeking help from AccessD is that the Access App is loosing connection with the network a few times per day. The message the users get is *"Your network access was interrupted. To continue, close the database and then open it again. You cannot save the record at this time"* Now the scary bit, 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. 2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times. 4) It does not help if I configure a BE and an FE or simply include all tables in the one mdb file. 5) They do not currently operate with an FE on the local machine (I am considering moving FE's locally to test that). 6) All PCs are slow and old 7) Error handling and best practices are absolutely non-existent 8) Some PCs run Access 2007 and some run 2003. The db files are stored on a Windows 2008 R2 Server, but the users think they had better performance when it was hosted on Windows XP machines, I am not sure if that is correct but can check. Any suggestions ?? My advice to someone in my position would be to simply not touch the Access App and focus on the new app, but if I could think of a quick win, I would try it to simply prevent the error mentioned above. Thanks for any advice and I will understand if you have non at all :) Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Sat Jan 7 14:24:26 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 07 Jan 2012 15:24:26 -0500 Subject: [AccessD] FW: Another database from hell Message-ID: BTW, when you split, make sure you open a connection to the BE at app startup(i.e. a hidden form that is bound to a BE table) and close that at shutdown. <<2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times.>> So as far as JET is concerned, that is actually 24 to 30 users. Know you don't want to touch the programming, but allowing them to have multiple forms open at one time would cut the number of connections in half. Jim. -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Saturday, January 07, 2012 03:21 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Another database from hell Mark, <<8) Some PCs run Access 2007 and some run 2003.>> App should be split and each user should have their own FE. <> Quite possible and I'm with Eric; it's probably a network issue. Microsoft had problems with SMB 2.0 (a network protocol that was supposed to speed things up, but in some cases does not). However splitting and giving each user their own FE may take care of the issue just be reducing overall network and server load. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Saturday, January 07, 2012 01:32 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] Another database from hell Hello AccessD Friends, I have a new client and my task is to replace an aging Access database with a DotNetNuke based system. Because the Access db is due for early retirement, neither I nor the client wish to invest any time or effort in re-programming. I am prepared to perform some minor improvements, but on the basis that it is working as is for a number of years, I do not want to do too much work on it. The reason I am seeking help from AccessD is that the Access App is loosing connection with the network a few times per day. The message the users get is *"Your network access was interrupted. To continue, close the database and then open it again. You cannot save the record at this time"* Now the scary bit, 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. 2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times. 4) It does not help if I configure a BE and an FE or simply include all tables in the one mdb file. 5) They do not currently operate with an FE on the local machine (I am considering moving FE's locally to test that). 6) All PCs are slow and old 7) Error handling and best practices are absolutely non-existent 8) Some PCs run Access 2007 and some run 2003. The db files are stored on a Windows 2008 R2 Server, but the users think they had better performance when it was hosted on Windows XP machines, I am not sure if that is correct but can check. Any suggestions ?? My advice to someone in my position would be to simply not touch the Access App and focus on the new app, but if I could think of a quick win, I would try it to simply prevent the error mentioned above. Thanks for any advice and I will understand if you have non at all :) Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Jan 7 14:42:04 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 7 Jan 2012 12:42:04 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007><4F086A00.8962.7FBE76B@stuart.lexacorp.com.pg> Message-ID: Yes and no. Yes it doesn't make sense. And No he can edit it if he wants to. Users...gotta love 'em. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Saturday, January 07, 2012 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format That doesn't make sense, Rocky. If he wants it stored untruncated, he can't edit a shorter version of it. Charlotte Foust On Sat, Jan 7, 2012 at 8:42 AM, Rocky Smolin wrote: > That's a problem because the user wants the whole fraction stored > untruncated. Otherwise when they restart the timer which show > hours:minutes:seconds it jumps to a different time. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Saturday, January 07, 2012 7:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > My first idea would be to truncate the value in the Before Update > event so that you never store the extra places. > > -- > Stuart > > On 7 Jan 2012 at 7:41, Rocky Smolin wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed > > time so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making > > editing difficult. He wants to still see 1.23 in the field when he > > clicks in to edit (and is willing to lose the fraction past 2 > > decimal places when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Sat Jan 7 15:06:53 2012 From: df.waters at comcast.net (Dan Waters) Date: Sat, 7 Jan 2012 15:06:53 -0600 Subject: [AccessD] Another database from hell In-Reply-To: References: Message-ID: <001b01cccd80$488649d0$d992dd70$@comcast.net> Mark, A standard technique to improve performance is to set a database variable in the FE to the BE file on opening (Dim dbsOpening As DAO.Database). Let the database variable close when the FE closes. Go to www.everythingaccess.com to look at vbWatchdog. You pay once (use forever) for a set of classes that will record all errors in a database without typing error handling code in every procedure. They have a free trial. The Enterprise edition VariablesInspector feature is quite helpful. I've used this for a couple of years now and it's never been the cause of any problems. This might give you good info on what's going wrong. Also, I've made a utility to quickly export all the objects to text and then import them back (except tables). This can help eliminate issues with p-code or find a corrupted object. Let me know if you'd like to try it. Good Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Saturday, January 07, 2012 12:32 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] Another database from hell Hello AccessD Friends, I have a new client and my task is to replace an aging Access database with a DotNetNuke based system. Because the Access db is due for early retirement, neither I nor the client wish to invest any time or effort in re-programming. I am prepared to perform some minor improvements, but on the basis that it is working as is for a number of years, I do not want to do too much work on it. The reason I am seeking help from AccessD is that the Access App is loosing connection with the network a few times per day. The message the users get is *"Your network access was interrupted. To continue, close the database and then open it again. You cannot save the record at this time"* Now the scary bit, 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. 2) There are 12 to 15 simultaneous users. 3) Each user always opens two instances of MS Access so that they can keep two different screens open at all times. 4) It does not help if I configure a BE and an FE or simply include all tables in the one mdb file. 5) They do not currently operate with an FE on the local machine (I am considering moving FE's locally to test that). 6) All PCs are slow and old 7) Error handling and best practices are absolutely non-existent 8) Some PCs run Access 2007 and some run 2003. The db files are stored on a Windows 2008 R2 Server, but the users think they had better performance when it was hosted on Windows XP machines, I am not sure if that is correct but can check. Any suggestions ?? My advice to someone in my position would be to simply not touch the Access App and focus on the new app, but if I could think of a quick win, I would try it to simply prevent the error mentioned above. Thanks for any advice and I will understand if you have non at all :) Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwilliams_78704 at yahoo.com Sat Jan 7 19:10:32 2012 From: dwilliams_78704 at yahoo.com (dwilliams_78704 at yahoo.com) Date: Sat, 07 Jan 2012 19:10:32 Subject: [AccessD] accessd@databaseadvisors.com Message-ID: a6a05465d7e1159ab43c194b5aa3b04f@[192.168.1.1] Hey there accessd at databaseadvisors.com what's new? i decided to better myself if you get the chance check this out http://tinyurl.com/7q5hyxw From tinanfields at torchlake.com Sun Jan 8 05:27:27 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sun, 08 Jan 2012 06:27:27 -0500 Subject: [AccessD] accessd@databaseadvisors.com In-Reply-To: References: Message-ID: <4F097D9F.3010504@torchlake.com> HEY, MODERATORS!!!!! Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/7/2012 7:10 PM, dwilliams_78704 at yahoo.com wrote: > Hey there accessd at databaseadvisors.com what's new? i decided to better myself if you get the chance check this out http://tinyurl.com/7q5hyxw From jwcolby at colbyconsulting.com Sun Jan 8 06:58:21 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 08 Jan 2012 07:58:21 -0500 Subject: [AccessD] Another database from hell In-Reply-To: References: Message-ID: <4F0992ED.4010502@colbyconsulting.com> I absolutely would suggest splitting the system into FE_BE. I absolutely would suggest copying the FE to the local machine. Is everyone getting this error or just a few users? If it is just a few users then you probably have a few systems with cable / nic / driver issues. If everyone then it is probably at the server end. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/7/2012 1:32 PM, Mark Breen wrote: > Hello AccessD Friends, > > I have a new client and my task is to replace an aging Access database with > a DotNetNuke based system. > > Because the Access db is due for early retirement, neither I nor the client > wish to invest any time or effort in re-programming. I am prepared to > perform some minor improvements, but on the basis that it is working as is > for a number of years, I do not want to do too much work on it. > > The reason I am seeking help from AccessD is that the Access App is loosing > connection with the network a few times per day. The message the users get > is > > *"Your network access was interrupted. To continue, close the database and > then open it again. You cannot save the record at this time"* > > Now the scary bit, > 1) the db is 120 MB when fully compacted but quickly grows back to 300MB. > 2) There are 12 to 15 simultaneous users. > 3) Each user always opens two instances of MS Access so that they can keep > two different screens open at all times. > 4) It does not help if I configure a BE and an FE or simply include all > tables in the one mdb file. > 5) They do not currently operate with an FE on the local machine (I am > considering moving FE's locally to test that). > 6) All PCs are slow and old > 7) Error handling and best practices are absolutely non-existent > 8) Some PCs run Access 2007 and some run 2003. > > The db files are stored on a Windows 2008 R2 Server, but the users think > they had better performance when it was hosted on Windows XP machines, I am > not sure if that is correct but can check. > > Any suggestions ?? > > My advice to someone in my position would be to simply not touch the Access > App and focus on the new app, but if I could think of a quick win, I would > try it to simply prevent the error mentioned above. > > Thanks for any advice and I will understand if you have non at all :) > > Mark From garykjos at gmail.com Sun Jan 8 07:28:39 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 8 Jan 2012 07:28:39 -0600 Subject: [AccessD] accessd@databaseadvisors.com In-Reply-To: <4F097D9F.3010504@torchlake.com> References: <4F097D9F.3010504@torchlake.com> Message-ID: I've asked Bryan and John B to have a look at it. On Sun, Jan 8, 2012 at 5:27 AM, Tina Norris Fields wrote: > HEY, MODERATORS!!!!! > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 > > > > On 1/7/2012 7:10 PM, dwilliams_78704 at yahoo.com wrote: >> >> Hey there accessd at databaseadvisors.com what's new? i decided to better >> myself if you get the chance check this out http://tinyurl.com/7q5hyxw > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From carbonnb at gmail.com Mon Jan 9 08:12:58 2012 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 9 Jan 2012 09:12:58 -0500 Subject: [AccessD] accessd@databaseadvisors.com In-Reply-To: References: <4F097D9F.3010504@torchlake.com> Message-ID: This email appears to be from a legit subscriber to AccessD and it also appears to come from Yahoo's servers. >From what I can tell...the account has bee either hijacked or spoofed REALLY well. I have put the sender on moderation for now. Bryan On Sun, Jan 8, 2012 at 8:28 AM, Gary Kjos wrote: > I've asked Bryan and John B to have a look at it. > > On Sun, Jan 8, 2012 at 5:27 AM, Tina Norris Fields > wrote: >> HEY, MODERATORS!!!!! >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> >> On 1/7/2012 7:10 PM, dwilliams_78704 at yahoo.com wrote: >>> >>> Hey there accessd at databaseadvisors.com what's new? i decided to better >>> myself if you get the chance check this out http://tinyurl.com/7q5hyxw >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From john at winhaven.net Mon Jan 9 10:09:37 2012 From: john at winhaven.net (John Bartow) Date: Mon, 9 Jan 2012 10:09:37 -0600 Subject: [AccessD] accessd@databaseadvisors.com In-Reply-To: References: <4F097D9F.3010504@torchlake.com> Message-ID: <017701cccee9$15f98e40$41ecaac0$@winhaven.net> Thanks Bryan. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, January 09, 2012 8:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] accessd at databaseadvisors.com This email appears to be from a legit subscriber to AccessD and it also appears to come from Yahoo's servers. >From what I can tell...the account has bee either hijacked or spoofed REALLY well. I have put the sender on moderation for now. Bryan On Sun, Jan 8, 2012 at 8:28 AM, Gary Kjos wrote: > I've asked Bryan and John B to have a look at it. > > On Sun, Jan 8, 2012 at 5:27 AM, Tina Norris Fields > wrote: >> HEY, MODERATORS!!!!! >> >> Tina Norris Fields >> tinanfields at torchlake.com >> 231-322-2787 >> >> >> >> On 1/7/2012 7:10 PM, dwilliams_78704 at yahoo.com wrote: >>> >>> Hey there accessd at databaseadvisors.com what's new? i decided to >>> better myself if you get the chance check this out >>> http://tinyurl.com/7q5hyxw >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Jan 9 12:11:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 13:11:00 -0500 Subject: [AccessD] Chrome nuked my email shortcuts Message-ID: <4F0B2DB4.2030001@colbyconsulting.com> Suddenly I was unable to click on email hotlinks and get my browser to open. I searched for several hours over the last few weeks trying to find out why. Today I found someone saying that Chrome was the culpret. I uninstalled Chrome and rebooted and voila, I can click on hotlinks in my email again. And yes I know how to tell good from bad and yes, I have several layers of "can't install jack" protection. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Mon Jan 9 12:24:51 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 13:24:51 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email Message-ID: <4F0B30F3.6070702@colbyconsulting.com> I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. So... is there a way to prevent picking up email in outlook, but allow it to still send? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Mon Jan 9 12:25:43 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 13:25:43 -0500 Subject: [AccessD] accessd@databaseadvisors.com In-Reply-To: <017701cccee9$15f98e40$41ecaac0$@winhaven.net> References: <4F097D9F.3010504@torchlake.com> <017701cccee9$15f98e40$41ecaac0$@winhaven.net> Message-ID: <4F0B3127.8040002@colbyconsulting.com> It appears that TinyURL punished him for us. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/9/2012 11:09 AM, John Bartow wrote: > Thanks Bryan. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Monday, January 09, 2012 8:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] accessd at databaseadvisors.com > > This email appears to be from a legit subscriber to AccessD and it also > appears to come from Yahoo's servers. > >> From what I can tell...the account has bee either hijacked or spoofed > REALLY well. > > I have put the sender on moderation for now. > > Bryan > > > > On Sun, Jan 8, 2012 at 8:28 AM, Gary Kjos wrote: >> I've asked Bryan and John B to have a look at it. >> >> On Sun, Jan 8, 2012 at 5:27 AM, Tina Norris Fields >> wrote: >>> HEY, MODERATORS!!!!! >>> >>> Tina Norris Fields >>> tinanfields at torchlake.com >>> 231-322-2787 >>> >>> >>> >>> On 1/7/2012 7:10 PM, dwilliams_78704 at yahoo.com wrote: >>>> >>>> Hey there accessd at databaseadvisors.com what's new? i decided to >>>> better myself if you get the chance check this out >>>> http://tinyurl.com/7q5hyxw >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well preserved > body, but rather to skid in sideways, totally worn out, shouting "What a > great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Mon Jan 9 12:35:50 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 9 Jan 2012 13:35:50 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0B30F3.6070702@colbyconsulting.com> References: <4F0B30F3.6070702@colbyconsulting.com> Message-ID: Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 09, 2012 1:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Prevent outlook from receiving email I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. So... is there a way to prevent picking up email in outlook, but allow it to still send? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 9 12:45:07 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 9 Jan 2012 10:45:07 -0800 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: <4F0B30F3.6070702@colbyconsulting.com> Message-ID: In Outlook there's a list box under Send/Receive and one of the options is Send All. Won't do any receiving. Also, in my Outlook if I send an email it won't do receive but I have it set not to retrieve automatically. When I want my email I send for it. I found that automatically receiving was too intrusive - interrupted my too much. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, January 09, 2012 10:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Prevent outlook from receiving email Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 09, 2012 1:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Prevent outlook from receiving email I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. So... is there a way to prevent picking up email in outlook, but allow it to still send? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 chartisinsurance.com Mon Jan 9 12:49:25 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Mon, 9 Jan 2012 13:49:25 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: <4F0B30F3.6070702@colbyconsulting.com> Message-ID: Further digging around... Tools|Options|Mail Setup Tab Then click Send/Receive button. Select the account and click the 'Edit' button. The resulting Send/Receive Settings dialog has a check box labeled "Receive mail items". Clearing that should do the trick. Now as to where that option might be hidden in in Outlook 2010, I'll leave that to you to discover. :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, January 09, 2012 1:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Prevent outlook from receiving email Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 09, 2012 1:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Prevent outlook from receiving email I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. So... is there a way to prevent picking up email in outlook, but allow it to still send? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Jan 9 14:19:37 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 09 Jan 2012 15:19:37 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0B30F3.6070702@colbyconsulting.com> References: <4F0B30F3.6070702@colbyconsulting.com> Message-ID: <41BF9721757A4FF180C31263E65A3B1A@XPS> John, <> Yes. If you look in the send/receiving (Tools, sending/receiving), you'll see a groups option. The default is all accounts. You can create another group of modify that one. For each group, you can specify the accounts to use, if e-mail should be received or sent, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 09, 2012 01:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Prevent outlook from receiving email I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. So... is there a way to prevent picking up email in outlook, but allow it to still send? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Jan 9 14:46:50 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 15:46:50 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: <4F0B30F3.6070702@colbyconsulting.com> Message-ID: <4F0B523A.1040402@colbyconsulting.com> Cool guys! Thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/9/2012 1:49 PM, Heenan, Lambert wrote: > Further digging around... > > Tools|Options|Mail Setup Tab > > Then click Send/Receive button. Select the account and click the 'Edit' button. The resulting Send/Receive Settings dialog has a check box labeled "Receive mail items". > > Clearing that should do the trick. > > Now as to where that option might be hidden in in Outlook 2010, I'll leave that to you to discover. :-) > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Monday, January 09, 2012 1:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 09, 2012 1:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Prevent outlook from receiving email > > I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. > > So... is there a way to prevent picking up email in outlook, but allow it to still send? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Mon Jan 9 14:48:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 15:48:28 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <41BF9721757A4FF180C31263E65A3B1A@XPS> References: <4F0B30F3.6070702@colbyconsulting.com> <41BF9721757A4FF180C31263E65A3B1A@XPS> Message-ID: <4F0B529C.4030504@colbyconsulting.com> Cool, thanks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/9/2012 3:19 PM, Jim Dettman wrote: > John, > > < to still send?>> > > Yes. If you look in the send/receiving (Tools, sending/receiving), you'll > see a groups option. The default is all accounts. You can create another > group of modify that one. > > For each group, you can specify the accounts to use, if e-mail should be > received or sent, etc. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 09, 2012 01:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Prevent outlook from receiving email > > I want to send only, never receive email from my outlook client. I use > Thunderbird but cannot > automate that for the send. I automate Outlook send (and have forever) and > just don't need it to > receive all my email even though I will never read it in Outlook and will > just (from time to time) > delete it all from there. > > So... is there a way to prevent picking up email in outlook, but allow it to > still send? > From stuart at lexacorp.com.pg Mon Jan 9 15:46:47 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 10 Jan 2012 07:46:47 +1000 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: <4F0B30F3.6070702@colbyconsulting.com>, Message-ID: <4F0B6047.29066.3F04D0B@stuart.lexacorp.com.pg> Or put an incorrect server name in the Incoming Mail setup. On 9 Jan 2012 at 13:35, Heenan, Lambert wrote: > Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 09, 2012 1:25 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Prevent outlook from receiving email > > I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. > > So... is there a way to prevent picking up email in outlook, but allow it to still send? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Mon Jan 9 16:19:50 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 17:19:50 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0B6047.29066.3F04D0B@stuart.lexacorp.com.pg> References: <4F0B30F3.6070702@colbyconsulting.com>, <4F0B6047.29066.3F04D0B@stuart.lexacorp.com.pg> Message-ID: <4F0B6806.4070501@colbyconsulting.com> I thought about that but figured it would just complain eny time it did a send/receive. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/9/2012 4:46 PM, Stuart McLachlan wrote: > Or put an incorrect server name in the Incoming Mail setup. > > On 9 Jan 2012 at 13:35, Heenan, Lambert wrote: > >> Not sure if you can do that John, but you could just set up a rule in Outlook telling it to delete all incoming mail. >> >> Lambert >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, January 09, 2012 1:25 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] OT: Prevent outlook from receiving email >> >> I want to send only, never receive email from my outlook client. I use Thunderbird but cannot automate that for the send. I automate Outlook send (and have forever) and just don't need it to receive all my email even though I will never read it in Outlook and will just (from time to time) delete it all from there. >> >> So... is there a way to prevent picking up email in outlook, but allow it to still send? >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Jan 9 19:29:58 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 9 Jan 2012 17:29:58 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> Message-ID: <3E386C925F37455C8342841638118F73@HAL9007> Arthur: The box has to show hours to two decimal places and has to be edited showing two decimal places. But is stored as a Double - still hours and decimal fractions. Changing the field type from numeric/double is not practical. The input mask of 000.00 doesn't seem to work when editing. Any other ideas? Tks. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, January 07, 2012 8:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format Rocky, A simple way to do this is to use this as the input mask: 99:00;0;_ However, this does not actually mean hundredths of a minute; rather, it means minutes and seconds. For that reason, you can't enter more than 60 seconds. The best approach i to forget about the date/time field type, in my opinion. Change the field type to either numeric or text. Either way, you can use the input mask above. HTH, Arthur On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin wrote: > Dear List: > > I have a text box which is bound to a field which stores elapsed time > so there's usually a string of decimals in the table. > > The user wants to see the time to the nearest hundredth of a minutes. > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > But when he goes to edit the field it displays 1.23456 making editing > difficult. He wants to still see 1.23 in the field when he clicks in > to edit (and is willing to lose the fraction past 2 decimal places > when editing). > > Is there a way to control that? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Jan 9 19:52:55 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 9 Jan 2012 17:52:55 -0800 Subject: [AccessD] Text Box Format In-Reply-To: <3E386C925F37455C8342841638118F73@HAL9007> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> <3E386C925F37455C8342841638118F73@HAL9007> Message-ID: So your client wants to store the value as a double but go back and overwrite the decimal fractions with whatever he types in? Or is he going back to edit the integer? One way would be to display the value in an unbound textbox, maybe on top of the actual value, and then store the result of the editing he does using code. Charlotte Foust On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin wrote: > Arthur: > > The box has to show hours to two decimal places and has to be edited > showing > two decimal places. But is stored as a Double - still hours and decimal > fractions. Changing the field type from numeric/double is not practical. > > The input mask of 000.00 doesn't seem to work when editing. > > Any other ideas? > > Tks. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, January 07, 2012 8:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > Rocky, > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > However, this does not actually mean hundredths of a minute; rather, it > means minutes and seconds. For that reason, you can't enter more than 60 > seconds. The best approach i to forget about the date/time field type, in > my > opinion. Change the field type to either numeric or text. Either way, you > can use the input mask above. > > HTH, > Arthur > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin >wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed time > > so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making editing > > difficult. He wants to still see 1.23 in the field when he clicks in > > to edit (and is willing to lose the fraction past 2 decimal places > > when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Jan 9 22:29:25 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 9 Jan 2012 20:29:25 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007><3E386C925F37455C8342841638118F73@HAL9007> Message-ID: <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> The value is stored as a double. It is displayed in a bound text box with two decimals (format - fixed, decimals - 2) So a number that might be stored as 1.357982 will display as 1.36. But that value might have to be changed. When he clicks into the bound text box to edit the value it displays 1.357982, which he says will be confusing to the user. He wants it to display 1.36. I thought of the 'overlay' trick - clicks the bound text box - overlay becomes visible with 1.36. After Update, the overlay box becomes invisible and the value in the overlay updates the record. But that always seems so kludgey. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 09, 2012 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format So your client wants to store the value as a double but go back and overwrite the decimal fractions with whatever he types in? Or is he going back to edit the integer? One way would be to display the value in an unbound textbox, maybe on top of the actual value, and then store the result of the editing he does using code. Charlotte Foust On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin wrote: > Arthur: > > The box has to show hours to two decimal places and has to be edited > showing two decimal places. But is stored as a Double - still hours > and decimal fractions. Changing the field type from numeric/double is > not practical. > > The input mask of 000.00 doesn't seem to work when editing. > > Any other ideas? > > Tks. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Saturday, January 07, 2012 8:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > Rocky, > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > However, this does not actually mean hundredths of a minute; rather, > it means minutes and seconds. For that reason, you can't enter more > than 60 seconds. The best approach i to forget about the date/time > field type, in my opinion. Change the field type to either numeric or > text. Either way, you can use the input mask above. > > HTH, > Arthur > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin >wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed > > time so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making > > editing difficult. He wants to still see 1.23 in the field when he > > clicks in to edit (and is willing to lose the fraction past 2 > > decimal places when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 9 23:16:17 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 9 Jan 2012 21:16:17 -0800 Subject: [AccessD] Text Box Format In-Reply-To: <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> <3E386C925F37455C8342841638118F73@HAL9007> <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> Message-ID: >>But that always seems so kludgey. This for a client who wants to edit a number that doesn't actually exist in the format he wants to see it??? Charlotte Foust On Mon, Jan 9, 2012 at 8:29 PM, Rocky Smolin wrote: > The value is stored as a double. It is displayed in a bound text box with > two decimals (format - fixed, decimals - 2) > > So a number that might be stored as 1.357982 will display as 1.36. But > that > value might have to be changed. When he clicks into the bound text box to > edit the value it displays 1.357982, which he says will be confusing to the > user. He wants it to display 1.36. > > I thought of the 'overlay' trick - clicks the bound text box - overlay > becomes visible with 1.36. After Update, the overlay box becomes invisible > and the value in the overlay updates the record. > > But that always seems so kludgey. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, January 09, 2012 5:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > So your client wants to store the value as a double but go back and > overwrite the decimal fractions with whatever he types in? Or is he going > back to edit the integer? One way would be to display the value in an > unbound textbox, maybe on top of the actual value, and then store the > result > of the editing he does using code. > > Charlotte Foust > > On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin > wrote: > > > Arthur: > > > > The box has to show hours to two decimal places and has to be edited > > showing two decimal places. But is stored as a Double - still hours > > and decimal fractions. Changing the field type from numeric/double is > > not practical. > > > > The input mask of 000.00 doesn't seem to work when editing. > > > > Any other ideas? > > > > Tks. > > > > R > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > > Fuller > > Sent: Saturday, January 07, 2012 8:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Text Box Format > > > > Rocky, > > > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > > > However, this does not actually mean hundredths of a minute; rather, > > it means minutes and seconds. For that reason, you can't enter more > > than 60 seconds. The best approach i to forget about the date/time > > field type, in my opinion. Change the field type to either numeric or > > text. Either way, you can use the input mask above. > > > > HTH, > > Arthur > > > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin > >wrote: > > > > > Dear List: > > > > > > I have a text box which is bound to a field which stores elapsed > > > time so there's usually a string of decimals in the table. > > > > > > The user wants to see the time to the nearest hundredth of a minutes. > > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > > > But when he goes to edit the field it displays 1.23456 making > > > editing difficult. He wants to still see 1.23 in the field when he > > > clicks in to edit (and is willing to lose the fraction past 2 > > > decimal places when editing). > > > > > > Is there a way to control that? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > 858-259-4334 > > > www.bchacc.com > > > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > > > > > > > > > Skype: rocky.smolin > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Werner Heisenberg > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 9 23:17:31 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 9 Jan 2012 21:17:31 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007> <3E386C925F37455C8342841638118F73@HAL9007> <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> Message-ID: Actually, I've dealt with this situation in VB.Net, but I'm not sure it's possible in Access since not all the textbox events are exposed. Charlotte Foust On Mon, Jan 9, 2012 at 9:16 PM, Charlotte Foust wrote: > >>But that always seems so kludgey. > > This for a client who wants to edit a number that doesn't actually exist > in the format he wants to see it??? > > Charlotte Foust > On Mon, Jan 9, 2012 at 8:29 PM, Rocky Smolin wrote: > >> The value is stored as a double. It is displayed in a bound text box with >> two decimals (format - fixed, decimals - 2) >> >> So a number that might be stored as 1.357982 will display as 1.36. But >> that >> value might have to be changed. When he clicks into the bound text box to >> edit the value it displays 1.357982, which he says will be confusing to >> the >> user. He wants it to display 1.36. >> >> I thought of the 'overlay' trick - clicks the bound text box - overlay >> becomes visible with 1.36. After Update, the overlay box becomes >> invisible >> and the value in the overlay updates the record. >> >> But that always seems so kludgey. >> >> Rocky >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Monday, January 09, 2012 5:53 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Text Box Format >> >> So your client wants to store the value as a double but go back and >> overwrite the decimal fractions with whatever he types in? Or is he going >> back to edit the integer? One way would be to display the value in an >> unbound textbox, maybe on top of the actual value, and then store the >> result >> of the editing he does using code. >> >> Charlotte Foust >> >> On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin >> wrote: >> >> > Arthur: >> > >> > The box has to show hours to two decimal places and has to be edited >> > showing two decimal places. But is stored as a Double - still hours >> > and decimal fractions. Changing the field type from numeric/double is >> > not practical. >> > >> > The input mask of 000.00 doesn't seem to work when editing. >> > >> > Any other ideas? >> > >> > Tks. >> > >> > R >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur >> > Fuller >> > Sent: Saturday, January 07, 2012 8:12 AM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] Text Box Format >> > >> > Rocky, >> > >> > A simple way to do this is to use this as the input mask: 99:00;0;_ >> > >> > However, this does not actually mean hundredths of a minute; rather, >> > it means minutes and seconds. For that reason, you can't enter more >> > than 60 seconds. The best approach i to forget about the date/time >> > field type, in my opinion. Change the field type to either numeric or >> > text. Either way, you can use the input mask above. >> > >> > HTH, >> > Arthur >> > >> > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin > > >wrote: >> > >> > > Dear List: >> > > >> > > I have a text box which is bound to a field which stores elapsed >> > > time so there's usually a string of decimals in the table. >> > > >> > > The user wants to see the time to the nearest hundredth of a minutes. >> > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. >> > > >> > > But when he goes to edit the field it displays 1.23456 making >> > > editing difficult. He wants to still see 1.23 in the field when he >> > > clicks in to edit (and is willing to lose the fraction past 2 >> > > decimal places when editing). >> > > >> > > Is there a way to control that? >> > > >> > > MTIA >> > > >> > > Rocky Smolin >> > > Beach Access Software >> > > 858-259-4334 >> > > www.bchacc.com >> >> >> >> > >> > > >> >> >> > >> > > www.e-z-mrp.com >> >> >> >> > >> > >> > > > >> >> >> > >> > > >> > > Skype: rocky.smolin >> > > >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> >> > >> > >> > > Website: http://www.databaseadvisors.com >> >> >> >> > >> > >> > > >> > >> > >> > >> > -- >> > Cell: 647.710.1314 >> > >> > Prediction is difficult, especially of the future. >> > -- Werner Heisenberg >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Mon Jan 9 23:27:13 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 10 Jan 2012 05:27:13 +0000 Subject: [AccessD] Text Box Format In-Reply-To: <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007><3E386C925F37455C8342841638118F73@HAL9007> <0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B5616394@SINPRD0402MB099.apcprd04.prod.outlook.com> Are you able to pass a rounded value to an unbound text box for the user to edit, and then write the edited value back into the table upon accept/close. Of course this would mean you only get back the value to 2 decimal places after editing, which may not be what you want at all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 10 January 2012 3:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Text Box Format The value is stored as a double. It is displayed in a bound text box with two decimals (format - fixed, decimals - 2) So a number that might be stored as 1.357982 will display as 1.36. But that value might have to be changed. When he clicks into the bound text box to edit the value it displays 1.357982, which he says will be confusing to the user. He wants it to display 1.36. I thought of the 'overlay' trick - clicks the bound text box - overlay becomes visible with 1.36. After Update, the overlay box becomes invisible and the value in the overlay updates the record. But that always seems so kludgey. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 09, 2012 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format So your client wants to store the value as a double but go back and overwrite the decimal fractions with whatever he types in? Or is he going back to edit the integer? One way would be to display the value in an unbound textbox, maybe on top of the actual value, and then store the result of the editing he does using code. Charlotte Foust On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin wrote: > Arthur: > > The box has to show hours to two decimal places and has to be edited > showing two decimal places. But is stored as a Double - still hours > and decimal fractions. Changing the field type from numeric/double is > not practical. > > The input mask of 000.00 doesn't seem to work when editing. > > Any other ideas? > > Tks. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Saturday, January 07, 2012 8:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > Rocky, > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > However, this does not actually mean hundredths of a minute; rather, > it means minutes and seconds. For that reason, you can't enter more > than 60 seconds. The best approach i to forget about the date/time > field type, in my opinion. Change the field type to either numeric or > text. Either way, you can use the input mask above. > > HTH, > Arthur > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin >wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed > > time so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making > > editing difficult. He wants to still see 1.23 in the field when he > > clicks in to edit (and is willing to lose the fraction past 2 > > decimal places when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Jan 9 23:31:30 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 9 Jan 2012 21:31:30 -0800 Subject: [AccessD] Text Box Format In-Reply-To: References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007><3E386C925F37455C8342841638118F73@HAL9007><0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> Message-ID: Well...yeah. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 09, 2012 9:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format >>But that always seems so kludgey. This for a client who wants to edit a number that doesn't actually exist in the format he wants to see it??? Charlotte Foust On Mon, Jan 9, 2012 at 8:29 PM, Rocky Smolin wrote: > The value is stored as a double. It is displayed in a bound text box > with two decimals (format - fixed, decimals - 2) > > So a number that might be stored as 1.357982 will display as 1.36. > But that value might have to be changed. When he clicks into the > bound text box to edit the value it displays 1.357982, which he says > will be confusing to the user. He wants it to display 1.36. > > I thought of the 'overlay' trick - clicks the bound text box - overlay > becomes visible with 1.36. After Update, the overlay box becomes > invisible and the value in the overlay updates the record. > > But that always seems so kludgey. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, January 09, 2012 5:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > So your client wants to store the value as a double but go back and > overwrite the decimal fractions with whatever he types in? Or is he > going back to edit the integer? One way would be to display the value > in an unbound textbox, maybe on top of the actual value, and then > store the result of the editing he does using code. > > Charlotte Foust > > On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin > wrote: > > > Arthur: > > > > The box has to show hours to two decimal places and has to be edited > > showing two decimal places. But is stored as a Double - still hours > > and decimal fractions. Changing the field type from numeric/double > > is not practical. > > > > The input mask of 000.00 doesn't seem to work when editing. > > > > Any other ideas? > > > > Tks. > > > > R > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > > Fuller > > Sent: Saturday, January 07, 2012 8:12 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Text Box Format > > > > Rocky, > > > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > > > However, this does not actually mean hundredths of a minute; rather, > > it means minutes and seconds. For that reason, you can't enter more > > than 60 seconds. The best approach i to forget about the date/time > > field type, in my opinion. Change the field type to either numeric > > or text. Either way, you can use the input mask above. > > > > HTH, > > Arthur > > > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin > > > >wrote: > > > > > Dear List: > > > > > > I have a text box which is bound to a field which stores elapsed > > > time so there's usually a string of decimals in the table. > > > > > > The user wants to see the time to the nearest hundredth of a minutes. > > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > > > But when he goes to edit the field it displays 1.23456 making > > > editing difficult. He wants to still see 1.23 in the field when > > > he clicks in to edit (and is willing to lose the fraction past 2 > > > decimal places when editing). > > > > > > Is there a way to control that? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > 858-259-4334 > > > www.bchacc.com > > > > > > > > > > > > www.e-z-mrp.com > > > > > > > > > > > > > > > > > > Skype: rocky.smolin > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Werner Heisenberg > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 Tue Jan 10 00:05:59 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 9 Jan 2012 22:05:59 -0800 Subject: [AccessD] Text Box Format In-Reply-To: <56653D383CB80341995245C537A9E7B5616394@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <958FD169A30D49FEB5C2EA4AE97B9A96@HAL9007><3E386C925F37455C8342841638118F73@HAL9007><0B8C16EBED004D15A06A8C0C5177CD95@HAL9007> <56653D383CB80341995245C537A9E7B5616394@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I think that may be the only solution. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, January 09, 2012 9:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format Are you able to pass a rounded value to an unbound text box for the user to edit, and then write the edited value back into the table upon accept/close. Of course this would mean you only get back the value to 2 decimal places after editing, which may not be what you want at all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, 10 January 2012 3:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Text Box Format The value is stored as a double. It is displayed in a bound text box with two decimals (format - fixed, decimals - 2) So a number that might be stored as 1.357982 will display as 1.36. But that value might have to be changed. When he clicks into the bound text box to edit the value it displays 1.357982, which he says will be confusing to the user. He wants it to display 1.36. I thought of the 'overlay' trick - clicks the bound text box - overlay becomes visible with 1.36. After Update, the overlay box becomes invisible and the value in the overlay updates the record. But that always seems so kludgey. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 09, 2012 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Text Box Format So your client wants to store the value as a double but go back and overwrite the decimal fractions with whatever he types in? Or is he going back to edit the integer? One way would be to display the value in an unbound textbox, maybe on top of the actual value, and then store the result of the editing he does using code. Charlotte Foust On Mon, Jan 9, 2012 at 5:29 PM, Rocky Smolin wrote: > Arthur: > > The box has to show hours to two decimal places and has to be edited > showing two decimal places. But is stored as a Double - still hours > and decimal fractions. Changing the field type from numeric/double is > not practical. > > The input mask of 000.00 doesn't seem to work when editing. > > Any other ideas? > > Tks. > > R > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur > Fuller > Sent: Saturday, January 07, 2012 8:12 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Text Box Format > > Rocky, > > A simple way to do this is to use this as the input mask: 99:00;0;_ > > However, this does not actually mean hundredths of a minute; rather, > it means minutes and seconds. For that reason, you can't enter more > than 60 seconds. The best approach i to forget about the date/time > field type, in my opinion. Change the field type to either numeric or > text. Either way, you can use the input mask above. > > HTH, > Arthur > > On Sat, Jan 7, 2012 at 10:41 AM, Rocky Smolin >wrote: > > > Dear List: > > > > I have a text box which is bound to a field which stores elapsed > > time so there's usually a string of decimals in the table. > > > > The user wants to see the time to the nearest hundredth of a minutes. > > No problem Format Fixed, decimal places 2, 1.23456 displays as 1.23. > > > > But when he goes to edit the field it displays 1.23456 making > > editing difficult. He wants to still see 1.23 in the field when he > > clicks in to edit (and is willing to lose the fraction past 2 > > decimal places when editing). > > > > Is there a way to control that? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.bchacc.com > > > > www.e-z-mrp.com > > > > > > > > Skype: rocky.smolin > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Jan 10 02:13:28 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 10 Jan 2012 09:13:28 +0100 Subject: [AccessD] OT: Prevent outlook from receiving email Message-ID: Hi Rocky Ha ha, for us serviced by corporate e-mail where e-mails just pop in all day (and night) long, this sounds as near the stone age. /gustav >>> rockysmolin at bchacc.com 09-01-2012 19:45 >>> In Outlook there's a list box under Send/Receive and one of the options is Send All. Won't do any receiving. Also, in my Outlook if I send an email it won't do receive but I have it set not to retrieve automatically. When I want my email I send for it. I found that automatically receiving was too intrusive - interrupted my too much. Rocky From rockysmolin at bchacc.com Tue Jan 10 07:16:19 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 10 Jan 2012 05:16:19 -0800 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: Message-ID: OT warning: Well I haven't had a W-2 job since 1978 when I started my own company. But it seems to me that having emails pushed in your face all day long is intrusive and disruptive to your concentration and efficiency. I guess it's the culture. I've had people call me and ask if I didn't get the email they sent five minutes ago. They expected an immediate response regardless of what I was doing at that moment. Sometimes I actually close Outlook - if I'm doing something that requires my absolute attention. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, January 10, 2012 12:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Prevent outlook from receiving email Hi Rocky Ha ha, for us serviced by corporate e-mail where e-mails just pop in all day (and night) long, this sounds as near the stone age. /gustav >>> rockysmolin at bchacc.com 09-01-2012 19:45 >>> In Outlook there's a list box under Send/Receive and one of the options is Send All. Won't do any receiving. Also, in my Outlook if I send an email it won't do receive but I have it set not to retrieve automatically. When I want my email I send for it. I found that automatically receiving was too intrusive - interrupted my too much. Rocky -- 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 Jan 10 08:02:51 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 10 Jan 2012 09:02:51 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: Message-ID: At least email is less intrusive than the phone. As for Outlook, I switched away from it years ago. A few years back, I wrote an app for a client who wanted to send emails but didn't use Outlook. It was pretty simple to switch the code to use her email app rather than Outlook. Arthur On Tue, Jan 10, 2012 at 8:16 AM, Rocky Smolin wrote: > OT warning: > > Well I haven't had a W-2 job since 1978 when I started my own company. But > it seems to me that having emails pushed in your face all day long is > intrusive and disruptive to your concentration and efficiency. > > I guess it's the culture. I've had people call me and ask if I didn't get > the email they sent five minutes ago. They expected an immediate response > regardless of what I was doing at that moment. > > Sometimes I actually close Outlook - if I'm doing something that requires > my > absolute attention. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, January 10, 2012 12:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > Hi Rocky > > Ha ha, for us serviced by corporate e-mail where e-mails just pop in all > day > (and night) long, this sounds as near the stone age. > > /gustav > > > >>> rockysmolin at bchacc.com 09-01-2012 19:45 >>> > In Outlook there's a list box under Send/Receive and one of the options is > Send All. Won't do any receiving. > > Also, in my Outlook if I send an email it won't do receive but I have it > set > not to retrieve automatically. When I want my email I send for it. I found > that automatically receiving was too intrusive - interrupted my too much. > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From jwcolby at colbyconsulting.com Tue Jan 10 08:17:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 09:17:12 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: Message-ID: <4F0C4868.2050205@colbyconsulting.com> > Well I haven't had a W-2 job since 1978 when I started my own company. But it seems to me that having emails pushed in your face all day long is intrusive and disruptive to your concentration and efficiency. Yep, yep and yep. One of the suggestions for being more efficient is turn off all electronic distractions such as email, social (twitter etc), IM and so forth. http://www.askmen.com/money/professional_150/192_productive-people.html John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 8:16 AM, Rocky Smolin wrote: > OT warning: > > Well I haven't had a W-2 job since 1978 when I started my own company. But > it seems to me that having emails pushed in your face all day long is > intrusive and disruptive to your concentration and efficiency. > > I guess it's the culture. I've had people call me and ask if I didn't get > the email they sent five minutes ago. They expected an immediate response > regardless of what I was doing at that moment. > > Sometimes I actually close Outlook - if I'm doing something that requires my > absolute attention. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, January 10, 2012 12:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > Hi Rocky > > Ha ha, for us serviced by corporate e-mail where e-mails just pop in all day > (and night) long, this sounds as near the stone age. > > /gustav > > >>>> rockysmolin at bchacc.com 09-01-2012 19:45>>> > In Outlook there's a list box under Send/Receive and one of the options is > Send All. Won't do any receiving. > > Also, in my Outlook if I send an email it won't do receive but I have it set > not to retrieve automatically. When I want my email I send for it. I found > that automatically receiving was too intrusive - interrupted my too much. > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Tue Jan 10 08:40:12 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 10 Jan 2012 06:40:12 -0800 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0C4868.2050205@colbyconsulting.com> References: <4F0C4868.2050205@colbyconsulting.com> Message-ID: and http://articles.cnn.com/2005-04-22/world/text.iq_1_mails-iq-messages?_s=PM:W ORLD Workers distracted by phone calls, e-mails and text messages suffer a greater loss of IQ than a person smoking marijuana, a British study shows. The constant interruptions reduce productivity and leave people feeling tired and lethargic, according to a survey carried out by TNS Research and commissioned by Hewlett Packard. The survey of 1,100 Britons showed: Almost two out three people check their electronic messages out of office hours and when on holiday. Half of all workers respond to an e-mail within 60 minutes of receiving one. One in five will break off from a business or social engagement to respond to a message. Nine out of 10 people thought colleagues who answered messages during face-to-face meetings were rude, while three out of 10 believed it was not only acceptable, but a sign of diligence and efficiency. (That's 12 out of ten people who have a strong feeling about the question?) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 10, 2012 6:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Prevent outlook from receiving email > Well I haven't had a W-2 job since 1978 when I started my own company. But it seems to me that having emails pushed in your face all day long is intrusive and disruptive to your concentration and efficiency. Yep, yep and yep. One of the suggestions for being more efficient is turn off all electronic distractions such as email, social (twitter etc), IM and so forth. http://www.askmen.com/money/professional_150/192_productive-people.html John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 8:16 AM, Rocky Smolin wrote: > OT warning: > > Well I haven't had a W-2 job since 1978 when I started my own company. > But it seems to me that having emails pushed in your face all day long > is intrusive and disruptive to your concentration and efficiency. > > I guess it's the culture. I've had people call me and ask if I didn't > get the email they sent five minutes ago. They expected an immediate > response regardless of what I was doing at that moment. > > Sometimes I actually close Outlook - if I'm doing something that > requires my absolute attention. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Tuesday, January 10, 2012 12:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > Hi Rocky > > Ha ha, for us serviced by corporate e-mail where e-mails just pop in > all day (and night) long, this sounds as near the stone age. > > /gustav > > >>>> rockysmolin at bchacc.com 09-01-2012 19:45>>> > In Outlook there's a list box under Send/Receive and one of the > options is Send All. Won't do any receiving. > > Also, in my Outlook if I send an email it won't do receive but I have > it set not to retrieve automatically. When I want my email I send for > it. I found that automatically receiving was too intrusive - interrupted my too much. > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Jan 10 08:46:10 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 10 Jan 2012 09:46:10 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0C4868.2050205@colbyconsulting.com> References: <4F0C4868.2050205@colbyconsulting.com> Message-ID: The only one I haven't turned off is email. I don't have a land line, and only occasionally receive calls on my cell phone, so it isn't much of a distraction. On Tue, Jan 10, 2012 at 9:17 AM, jwcolby wrote: > > Well I haven't had a W-2 job since 1978 when I started my own company. > But it seems to me that having emails pushed in your face all day long is > intrusive and disruptive to your concentration and efficiency. > > Yep, yep and yep. One of the suggestions for being more efficient is turn > off all electronic distractions such as email, social (twitter etc), IM and > so forth. > > http://www.askmen.com/money/**professional_150/192_** > productive-people.html > > > From marksimms at verizon.net Tue Jan 10 08:56:27 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 10 Jan 2012 09:56:27 -0500 Subject: [AccessD] OT: IM usage in large corps In-Reply-To: <4F0C4868.2050205@colbyconsulting.com> References: <4F0C4868.2050205@colbyconsulting.com> Message-ID: <009f01cccfa8$07e05720$17a10560$@net> At large corps, IM is used for gossiping, rumor mongering, personal bashing of co-workers, sexual innuendo, etc..... All to keep the boredom in check. From ssharkins at gmail.com Tue Jan 10 08:33:28 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 10 Jan 2012 09:33:28 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email References: Message-ID: <9AFCD8FF8DED49B3B5D5891407E0C51E@SusanHarkins> I'm the same way -- I retrieve it when I want it. I receive hundreds every day -- most go unread. I'd be stark raving mad... Susan H. > OT warning: > > Well I haven't had a W-2 job since 1978 when I started my own company. > But > it seems to me that having emails pushed in your face all day long is > intrusive and disruptive to your concentration and efficiency. > > I guess it's the culture. I've had people call me and ask if I didn't get > the email they sent five minutes ago. They expected an immediate response > regardless of what I was doing at that moment. > > Sometimes I actually close Outlook - if I'm doing something that requires > my > absolute attention. > From ssharkins at gmail.com Tue Jan 10 09:15:08 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 10 Jan 2012 10:15:08 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email References: <4F0C4868.2050205@colbyconsulting.com> Message-ID: I agree with the guy, especially in regards to multi-tasking -- it's a myth. Susan H. > > Well I haven't had a W-2 job since 1978 when I started my own company. > > But it seems to me that > having emails pushed in your face all day long is intrusive and disruptive > to your concentration and efficiency. > > Yep, yep and yep. One of the suggestions for being more efficient is turn > off all electronic distractions such as email, social (twitter etc), IM > and so forth. > > http://www.askmen.com/money/professional_150/192_productive-people.html > From accessd at shaw.ca Tue Jan 10 09:24:30 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 10 Jan 2012 07:24:30 -0800 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: References: <4F0C4868.2050205@colbyconsulting.com> Message-ID: Excellent article Susan. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 10, 2012 7:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Prevent outlook from receiving email I agree with the guy, especially in regards to multi-tasking -- it's a myth. Susan H. > > Well I haven't had a W-2 job since 1978 when I started my own company. > > But it seems to me that > having emails pushed in your face all day long is intrusive and disruptive > to your concentration and efficiency. > > Yep, yep and yep. One of the suggestions for being more efficient is turn > off all electronic distractions such as email, social (twitter etc), IM > and so forth. > > http://www.askmen.com/money/professional_150/192_productive-people.html > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 10 10:41:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 11:41:47 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <9AFCD8FF8DED49B3B5D5891407E0C51E@SusanHarkins> References: <9AFCD8FF8DED49B3B5D5891407E0C51E@SusanHarkins> Message-ID: <4F0C6A4B.40009@colbyconsulting.com> A few years ago I spent a week unsubbing from email lists. I was getting "hundreds" of valid "I asked for it" kinds of things, literally about every 30 seconds all day. I decided I wasn't reading it so it was going to go. I now attempt to discover if the "junk" I receive is "valid" (as opposed to garden variety spam) and unsub. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 9:33 AM, Susan Harkins wrote: > I'm the same way -- I retrieve it when I want it. I receive hundreds every day -- most go unread. > I'd be stark raving mad... > > Susan H. > > >> OT warning: >> >> Well I haven't had a W-2 job since 1978 when I started my own company. But >> it seems to me that having emails pushed in your face all day long is >> intrusive and disruptive to your concentration and efficiency. >> >> I guess it's the culture. I've had people call me and ask if I didn't get >> the email they sent five minutes ago. They expected an immediate response >> regardless of what I was doing at that moment. >> >> Sometimes I actually close Outlook - if I'm doing something that requires my >> absolute attention. >> > From ssharkins at gmail.com Tue Jan 10 12:36:24 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 10 Jan 2012 13:36:24 -0500 Subject: [AccessD] Ace versus Jet SQL Message-ID: How do we correctly refer to the Access-dialect of SQL for ribbon versions? Do we now have Jet SQL and Ace SQL or is it just Jet SQL for everything? Susan H. From jimdettman at verizon.net Tue Jan 10 12:39:49 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 10 Jan 2012 13:39:49 -0500 Subject: [AccessD] Ace versus Jet SQL In-Reply-To: References: Message-ID: Good question! I've never seen anything other then "JET SQL" anywhere (even MSKBs). ACE really is nothing more then JET with a couple of tweaks and the SQL at this point is the same as far as I know. But at some point, they might become different. I'd say break new ground and be the first. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 10, 2012 01:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ace versus Jet SQL How do we correctly refer to the Access-dialect of SQL for ribbon versions? Do we now have Jet SQL and Ace SQL or is it just Jet SQL for everything? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Jan 10 12:58:27 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 10 Jan 2012 13:58:27 -0500 Subject: [AccessD] Ace versus Jet SQL References: Message-ID: <14EFECA53A9D4E37B7C868614E96F27B@SusanHarkins> I've seen a few refer to Ace Jet and it just makes sense to me. I can't find a definitive answer though, even at microsoft.com. Susan H. > > Good question! I've never seen anything other then "JET SQL" anywhere > (even MSKBs). ACE really is nothing more then JET with a couple of tweaks > and the SQL at this point is the same as far as I know. > > But at some point, they might become different. > > I'd say break new ground and be the first. > > Jim. > > > How do we correctly refer to the Access-dialect of SQL for ribbon > versions? > Do we now have Jet SQL and Ace SQL or is it just Jet SQL for everything? > > Susan H. From mwp.reid at qub.ac.uk Tue Jan 10 13:04:06 2012 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 10 Jan 2012 19:04:06 +0000 Subject: [AccessD] Ace versus Jet SQL Message-ID: <631CF83223105545BF43EFB52CB082957BB2D58EA1@EX2K7-VIRT-2.ads.qub.ac.uk> http://msdn.microsoft.com/en-us/library/ff965871.aspx Looks at ace End of day its a database engine which uses SQL. martin Sent from my Windows Phone ________________________________ From: Susan Harkins Sent: 10/01/2012 18:55 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ace versus Jet SQL I've seen a few refer to Ace Jet and it just makes sense to me. I can't find a definitive answer though, even at microsoft.com. Susan H. > > Good question! I've never seen anything other then "JET SQL" anywhere > (even MSKBs). ACE really is nothing more then JET with a couple of tweaks > and the SQL at this point is the same as far as I know. > > But at some point, they might become different. > > I'd say break new ground and be the first. > > Jim. > > > How do we correctly refer to the Access-dialect of SQL for ribbon > versions? > Do we now have Jet SQL and Ace SQL or is it just Jet SQL for everything? > > Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Jan 10 13:19:13 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 10 Jan 2012 14:19:13 -0500 Subject: [AccessD] Ace versus Jet SQL References: <631CF83223105545BF43EFB52CB082957BB2D58EA1@EX2K7-VIRT-2.ads.qub.ac.uk> Message-ID: Yeah, I read that this morning. :) I considered changing my syntax a bit, but we've been referring to Jet SQL for years... MS needs to take a stand on this. :) Susan H. > http://msdn.microsoft.com/en-us/library/ff965871.aspx > > Looks at ace > > End of day its a database engine which uses SQL. > > martin > From darryl at whittleconsulting.com.au Tue Jan 10 16:23:08 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 10 Jan 2012 22:23:08 +0000 Subject: [AccessD] OT: IM usage in large corps In-Reply-To: <009f01cccfa8$07e05720$17a10560$@net> References: <4F0C4868.2050205@colbyconsulting.com> <009f01cccfa8$07e05720$17a10560$@net> Message-ID: <56653D383CB80341995245C537A9E7B56164C5@SINPRD0402MB099.apcprd04.prod.outlook.com> Yes, in my experience in large corporates there is little advantage to using IM. In smaller places it has been a much more useful app, probably because it is not locked down as tightly and the people all know each other better (?) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, 11 January 2012 1:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: IM usage in large corps At large corps, IM is used for gossiping, rumor mongering, personal bashing of co-workers, sexual innuendo, etc..... All to keep the boredom in check. -- 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 Jan 10 16:31:59 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 11 Jan 2012 08:31:59 +1000 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0C4868.2050205@colbyconsulting.com> References: , , <4F0C4868.2050205@colbyconsulting.com> Message-ID: <4F0CBC5F.17607.438B292@stuart.lexacorp.com.pg> The solution is NOT to turn of email. The solution is to use an email client that sits in the background and does it's job of downloading your mail and holding it until you want to see it - not one that throws a notification in your face every time something comes in. I happily keep Pegasus Mail running minimized 24/7. When I want to check my mail, a click on the taskbar pops it up and I can see immediately what is new. It doesn't distract me at all - and I don't have to wait for it to download all my waiting mail every time I decide to check it. I do however get highly p*ssed off when I am working on a client's computer and that bl**dy Outlook notification keeps appearing when I am trying to do something.. -- Stuart On 10 Jan 2012 at 9:17, jwcolby wrote: > > Well I haven't had a W-2 job since 1978 when I started my own company. But it seems to me that > having emails pushed in your face all day long is intrusive and disruptive to your concentration and > efficiency. > > Yep, yep and yep. One of the suggestions for being more efficient is turn off all electronic > distractions such as email, social (twitter etc), IM and so forth. > > http://www.askmen.com/money/professional_150/192_productive-people.html > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/10/2012 8:16 AM, Rocky Smolin wrote: > > OT warning: > > > > Well I haven't had a W-2 job since 1978 when I started my own company. But > > it seems to me that having emails pushed in your face all day long is > > intrusive and disruptive to your concentration and efficiency. > > > > I guess it's the culture. I've had people call me and ask if I didn't get > > the email they sent five minutes ago. They expected an immediate response > > regardless of what I was doing at that moment. > > > > Sometimes I actually close Outlook - if I'm doing something that requires my > > absolute attention. > > > > R > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > Sent: Tuesday, January 10, 2012 12:13 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > > > Hi Rocky > > > > Ha ha, for us serviced by corporate e-mail where e-mails just pop in all day > > (and night) long, this sounds as near the stone age. > > > > /gustav > > > > > >>>> rockysmolin at bchacc.com 09-01-2012 19:45>>> > > In Outlook there's a list box under Send/Receive and one of the options is > > Send All. Won't do any receiving. > > > > Also, in my Outlook if I send an email it won't do receive but I have it set > > not to retrieve automatically. When I want my email I send for it. I found > > that automatically receiving was too intrusive - interrupted my too much. > > > > Rocky > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Tue Jan 10 16:40:09 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 10 Jan 2012 17:40:09 -0500 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0CBC5F.17607.438B292@stuart.lexacorp.com.pg> References: <4F0C4868.2050205@colbyconsulting.com> <4F0CBC5F.17607.438B292@stuart.lexacorp.com.pg> Message-ID: Come to think of it, that's the email app that I wrote the Access interface code for. Worked like a charm. A. On Tue, Jan 10, 2012 at 5:31 PM, Stuart McLachlan wrote: > The solution is NOT to turn of email. The solution is to use an email > client that sits in the > background and does it's job of downloading your mail and holding it until > you want to see it - > not one that throws a notification in your face every time something comes > in. > > I happily keep Pegasus Mail running minimized 24/7. When I want to check > my mail, a click > on the taskbar pops it up and I can see immediately what is new. > > It doesn't distract me at all - and I don't have to wait for it to > download all my waiting mail > every time I decide to check it. I do however get highly p*ssed off > when I am working on a > client's computer and that bl**dy Outlook notification keeps appearing > when I am trying to do > something.. > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From darryl at whittleconsulting.com.au Tue Jan 10 16:47:22 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 10 Jan 2012 22:47:22 +0000 Subject: [AccessD] OT: Prevent outlook from receiving email In-Reply-To: <4F0CBC5F.17607.438B292@stuart.lexacorp.com.pg> References: , , <4F0C4868.2050205@colbyconsulting.com> <4F0CBC5F.17607.438B292@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B561651B@SINPRD0402MB099.apcprd04.prod.outlook.com> Whilst I don't disagree, in fairness to Outlook you can easily change the notification status to suit your own requirements, including turning it off altogether. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 11 January 2012 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Prevent outlook from receiving email The solution is NOT to turn of email. The solution is to use an email client that sits in the background and does it's job of downloading your mail and holding it until you want to see it - not one that throws a notification in your face every time something comes in. I happily keep Pegasus Mail running minimized 24/7. When I want to check my mail, a click on the taskbar pops it up and I can see immediately what is new. It doesn't distract me at all - and I don't have to wait for it to download all my waiting mail every time I decide to check it. I do however get highly p*ssed off when I am working on a client's computer and that bl**dy Outlook notification keeps appearing when I am trying to do something.. -- Stuart On 10 Jan 2012 at 9:17, jwcolby wrote: > > Well I haven't had a W-2 job since 1978 when I started my own company. But it seems to me that > having emails pushed in your face all day long is intrusive and disruptive to your concentration and > efficiency. > > Yep, yep and yep. One of the suggestions for being more efficient is turn off all electronic > distractions such as email, social (twitter etc), IM and so forth. > > http://www.askmen.com/money/professional_150/192_productive-people.html > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/10/2012 8:16 AM, Rocky Smolin wrote: > > OT warning: > > > > Well I haven't had a W-2 job since 1978 when I started my own company. But > > it seems to me that having emails pushed in your face all day long is > > intrusive and disruptive to your concentration and efficiency. > > > > I guess it's the culture. I've had people call me and ask if I didn't get > > the email they sent five minutes ago. They expected an immediate response > > regardless of what I was doing at that moment. > > > > Sometimes I actually close Outlook - if I'm doing something that requires my > > absolute attention. > > > > R > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > Sent: Tuesday, January 10, 2012 12:13 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] OT: Prevent outlook from receiving email > > > > Hi Rocky > > > > Ha ha, for us serviced by corporate e-mail where e-mails just pop in all day > > (and night) long, this sounds as near the stone age. > > > > /gustav > > > > > >>>> rockysmolin at bchacc.com 09-01-2012 19:45>>> > > In Outlook there's a list box under Send/Receive and one of the options is > > Send All. Won't do any receiving. > > > > Also, in my Outlook if I send an email it won't do receive but I have it set > > not to retrieve automatically. When I want my email I send for it. I found > > that automatically receiving was too intrusive - interrupted my too much. > > > > Rocky > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 10 16:49:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 17:49:12 -0500 Subject: [AccessD] Weird problem Message-ID: <4F0CC068.4020906@colbyconsulting.com> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. No idea why not. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From darryl at whittleconsulting.com.au Tue Jan 10 16:57:22 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 10 Jan 2012 22:57:22 +0000 Subject: [AccessD] Weird problem In-Reply-To: <4F0CC068.4020906@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B5616553@SINPRD0402MB099.apcprd04.prod.outlook.com> John, My first suspect would be primary keys. You need to 1: have a primary key linked to Access from SQL server 2: the key needs to be dimmed a specific type (BigInt?) - can't recall the exact type required - sorry. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 11 January 2012 9:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Weird problem I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. No idea why not. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Tue Jan 10 17:05:28 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Tue, 10 Jan 2012 17:05:28 -0600 Subject: [AccessD] Weird problem In-Reply-To: <4F0CC068.4020906@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A4E6@CPIEMAIL-EVS1.CPIQPC.NET> Something that I tend to foget until a weird issue shows up, is making sure any bit fields in my SQL table have a default value. When linking to an Access front end I get strange problems (like this) if any bit fields values are null. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 10, 2012 4:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Weird problem I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. No idea why not. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From jimdettman at verizon.net Tue Jan 10 17:07:52 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 10 Jan 2012 18:07:52 -0500 Subject: [AccessD] Weird problem In-Reply-To: <4F0CC068.4020906@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> Message-ID: <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> Make sure there is a times tamp field in the table, no bit fields, then relink after changes Jim Sent from my iPhone On Jan 10, 2012, at 5:49 PM, jwcolby wrote: > I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. > > I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. > > No idea why not. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 10 17:20:05 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 18:20:05 -0500 Subject: [AccessD] Weird problem In-Reply-To: <56653D383CB80341995245C537A9E7B5616553@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <4F0CC068.4020906@colbyconsulting.com> <56653D383CB80341995245C537A9E7B5616553@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4F0CC7A5.1040700@colbyconsulting.com> Yep, I have done this many times. I always use an int (which is a long in in SQL Server) autoincrement and it is marked as a PK. AFAICT that's not the problem. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 5:57 PM, Darryl Collins wrote: > John, > > My first suspect would be primary keys. You need to > > 1: have a primary key linked to Access from SQL server > 2: the key needs to be dimmed a specific type (BigInt?) - can't recall the exact type required - sorry. > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, 11 January 2012 9:49 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Weird problem > > I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. > > I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. > > No idea why not. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Tue Jan 10 17:55:05 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 10 Jan 2012 15:55:05 -0800 Subject: [AccessD] Weird problem In-Reply-To: <4F0CC068.4020906@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> Message-ID: Are you committing the record on the main form and recovering the PK from it? I seem to recall needing to refresh the view and look up the PK before I could use it in a child record, since an autonumber isn't actually assigned until you save the record in SS. Charlotte Foust On Tue, Jan 10, 2012 at 2:49 PM, jwcolby wrote: > I have a FE recently moved to SQL Server. Bound main form, bound child > form. I entered a record in the main form, entered a record in the child > form. Tried to modify the record in the main form and it gives an error > "the data has changed" and refuses to allow me to change the data. I can > change it directly in the tables in SQL Server. I cannot modify the record > directly in the (linked) table in the FE. > > I could create the record, but not modify the record. I can modify any > other record in the table, just not the one I created. > > No idea why not. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From marksimms at verizon.net Tue Jan 10 19:47:36 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 10 Jan 2012 20:47:36 -0500 Subject: [AccessD] Weird problem In-Reply-To: <4F0CC7A5.1040700@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> <56653D383CB80341995245C537A9E7B5616553@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F0CC7A5.1040700@colbyconsulting.com> Message-ID: <002001ccd002$ff154dc0$fd3fe940$@net> http://blogs.msdn.com/b/ssma/archive/2011/03/06/access-to-sql-server-migrati on-understanding-data-type-conversions.aspx John - there is no Long in SQL Server...see the above mapping. Access Longs map to Int, Integer to SmallInt, Byte to TinyInt Identifier columns are Int in SQL Server or Longs in Access. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, January 10, 2012 6:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weird problem > > Yep, I have done this many times. I always use an int (which is a long > in in SQL Server) > autoincrement and it is marked as a PK. AFAICT that's not the problem. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/10/2012 5:57 PM, Darryl Collins wrote: > > John, > > > > My first suspect would be primary keys. You need to > > > > 1: have a primary key linked to Access from SQL server > > 2: the key needs to be dimmed a specific type (BigInt?) - can't > recall the exact type required - sorry. > > > > Cheers > > Darryl. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Wednesday, 11 January 2012 9:49 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Weird problem > > > > I have a FE recently moved to SQL Server. Bound main form, bound > child form. I entered a record in the main form, entered a record in > the child form. Tried to modify the record in the main form and it > gives an error "the data has changed" and refuses to allow me to change > the data. I can change it directly in the tables in SQL Server. I > cannot modify the record directly in the (linked) table in the FE. > > > > I could create the record, but not modify the record. I can modify > any other record in the table, just not the one I created. > > > > No idea why not. > > > > -- > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Tue Jan 10 21:02:29 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 22:02:29 -0500 Subject: [AccessD] Weird problem In-Reply-To: <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> Message-ID: <4F0CFBC5.7020800@colbyconsulting.com> I did have bit fields. I just changed those to int and updated the values to -1 from 1 for those fields that needed it. Relinked. No Joy. Just that one record has an issue. I closed / reopened Access etc. No joy. This is truly strange. I can edit the record from SQL Server but not from (my workstation) using Access. I have been doing this for many many months using other databases / FEs and have never run into this issue. I am wondering if this is truly another user on another workstation or something. The error says "This record has been changed by another user *since you started editing it*." I know that is not true. I don't have time stamp fields. I'll try that next. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 6:07 PM, Jim Dettman wrote: > Make sure there is a times tamp field in the table, no bit fields, then relink after changes > > Jim > > Sent from my iPhone > > On Jan 10, 2012, at 5:49 PM, jwcolby wrote: > >> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. >> >> I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. >> >> No idea why not. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Jan 10 21:31:36 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 10 Jan 2012 22:31:36 -0500 Subject: [AccessD] Weird problem In-Reply-To: <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> Message-ID: <4F0D0298.3070002@colbyconsulting.com> Adding the timestamp field fixed the problem. Thanks Jim. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/10/2012 6:07 PM, Jim Dettman wrote: > Make sure there is a times tamp field in the table, no bit fields, then relink after changes > > Jim > > Sent from my iPhone > > On Jan 10, 2012, at 5:49 PM, jwcolby wrote: > >> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. >> >> I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. >> >> No idea why not. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Tue Jan 10 21:53:47 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 10 Jan 2012 22:53:47 -0500 Subject: [AccessD] Weird problem In-Reply-To: <4F0D0298.3070002@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> <4F0D0298.3070002@colbyconsulting.com> Message-ID: <31F4C7FC-C869-4CBB-8DAE-5AD4B082D436@verizon.net> Glad it worked. A time stamp field isn't really a time stamp BTW, but activates row versioning in SQL. JET will use that if it exists to determine if a record has changed or not since it last visited it. Adding one is always a good idea. There is no real downside to it and it usually takes care of any record set issues. I've made it a habit to always stick one in every table. Jim Sent from my iPhone On Jan 10, 2012, at 10:31 PM, jwcolby wrote: > Adding the timestamp field fixed the problem. > > Thanks Jim. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/10/2012 6:07 PM, Jim Dettman wrote: >> Make sure there is a times tamp field in the table, no bit fields, then relink after changes >> >> Jim >> >> Sent from my iPhone >> >> On Jan 10, 2012, at 5:49 PM, jwcolby wrote: >> >>> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. >>> >>> I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. >>> >>> No idea why not. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Tue Jan 10 23:20:59 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 10 Jan 2012 21:20:59 -0800 Subject: [AccessD] Weird problem In-Reply-To: <31F4C7FC-C869-4CBB-8DAE-5AD4B082D436@verizon.net> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> <4F0D0298.3070002@colbyconsulting.com> <31F4C7FC-C869-4CBB-8DAE-5AD4B082D436@verizon.net> Message-ID: If you want to edit a SQL Server table from Access, my former employer learned the hard way that you always need a time stamp field, so we always added them automatically too. Charlotte Foust On Tue, Jan 10, 2012 at 7:53 PM, Jim Dettman wrote: > Glad it worked. A time stamp field isn't really a time stamp BTW, but > activates row versioning in SQL. JET will use that if it exists to > determine if a record has changed or not since it last visited it. Adding > one is always a good idea. There is no real downside to it and it usually > takes care of any record set issues. > > I've made it a habit to always stick one in every table. > > Jim > > Sent from my iPhone > > On Jan 10, 2012, at 10:31 PM, jwcolby wrote: > > > Adding the timestamp field fixed the problem. > > > > Thanks Jim. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/10/2012 6:07 PM, Jim Dettman wrote: > >> Make sure there is a times tamp field in the table, no bit fields, then > relink after changes > >> > >> Jim > >> > >> Sent from my iPhone > >> > >> On Jan 10, 2012, at 5:49 PM, jwcolby > wrote: > >> > >>> I have a FE recently moved to SQL Server. Bound main form, bound > child form. I entered a record in the main form, entered a record in the > child form. Tried to modify the record in the main form and it gives an > error "the data has changed" and refuses to allow me to change the data. I > can change it directly in the tables in SQL Server. I cannot modify the > record directly in the (linked) table in the FE. > >>> > >>> I could create the record, but not modify the record. I can modify > any other record in the table, just not the one I created. > >>> > >>> No idea why not. > >>> > >>> -- > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/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 tinanfields at torchlake.com Wed Jan 11 06:59:19 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 11 Jan 2012 07:59:19 -0500 Subject: [AccessD] Weird problem In-Reply-To: <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> Message-ID: <4F0D87A7.9030701@torchlake.com> Jumping in here, not because I have much to offer, but because I have much to learn. Please discuss the time stamp field. How should one be made? How should one be used? Thank you for sharing your knowledge. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/10/2012 6:07 PM, Jim Dettman wrote: > Make sure there is a times tamp field in the table, no bit fields, then relink after changes > > Jim > > Sent from my iPhone > > On Jan 10, 2012, at 5:49 PM, jwcolby wrote: > >> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. >> >> I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. >> >> No idea why not. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com From jimdettman at verizon.net Wed Jan 11 07:48:38 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 11 Jan 2012 08:48:38 -0500 Subject: [AccessD] Weird problem In-Reply-To: <4F0D87A7.9030701@torchlake.com> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> <4F0D87A7.9030701@torchlake.com> Message-ID: <677E8389EFC747B185DE3CAFE8D09F06@XPS> Tina, It's just a data type in SQL. You do nothing with the field other then add it to the table. There are a couple of MSKB articles that fill in the detail: Optimizing Microsoft Office Access Applications Linked to SQL Server http://msdn.microsoft.com/en-us/library/bb188204(v=SQL.90).aspx Look in the section "Understanding and Addressing Updatability Issues" and then "Supporting Concurrency Checks" within that. This one goes a little bit into the keyset model that JET uses to maintain record sets and why issues arise with ODBC data sources: PRB: Explaining "Record is deleted" error accessing ODBC table http://support.microsoft.com/kb/172339 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, January 11, 2012 07:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Weird problem Jumping in here, not because I have much to offer, but because I have much to learn. Please discuss the time stamp field. How should one be made? How should one be used? Thank you for sharing your knowledge. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/10/2012 6:07 PM, Jim Dettman wrote: > Make sure there is a times tamp field in the table, no bit fields, then relink after changes > > Jim > > Sent from my iPhone > > On Jan 10, 2012, at 5:49 PM, jwcolby wrote: > >> I have a FE recently moved to SQL Server. Bound main form, bound child form. I entered a record in the main form, entered a record in the child form. Tried to modify the record in the main form and it gives an error "the data has changed" and refuses to allow me to change the data. I can change it directly in the tables in SQL Server. I cannot modify the record directly in the (linked) table in the FE. >> >> I could create the record, but not modify the record. I can modify any other record in the table, just not the one I created. >> >> No idea why not. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Jan 11 08:34:59 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 11 Jan 2012 06:34:59 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable Message-ID: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin From jwcolby at colbyconsulting.com Wed Jan 11 08:52:34 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 11 Jan 2012 09:52:34 -0500 Subject: [AccessD] Weird problem In-Reply-To: <677E8389EFC747B185DE3CAFE8D09F06@XPS> References: <4F0CC068.4020906@colbyconsulting.com> <1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net> <4F0D87A7.9030701@torchlake.com> <677E8389EFC747B185DE3CAFE8D09F06@XPS> Message-ID: <4F0DA232.5090802@colbyconsulting.com> Tina, All I did was create a field which I called TimeStamp and make it a data type timestamp. AFAIK you can call the field anything you want but calling it TimeStamp seemed useful to me. If I go into my table and view data, that field just shows 'binary', i.e. you cannot see the actual value at least doing it the way I am doing it. I did not have to go backfill or anything. And my problem with that one record was instantly gone. I went back to my access app, relinked and tried to edit the problem record, in the table and in the form, and there was no problem any more. As everybody says, it is not actually a time stamp and it is not in fact even a date / time data type, it is binary apparently. AFAICT the sole purpose is to allow clients to get the "timestamp" when they are trying to modify the record. When it is time to actually do the save they can compare the "timestamp" they got against what is currently in the record and if they are different then the record has been modified since they pulled the data. According to this: http://msdn.microsoft.com/en-us/library/ms182776.aspx Timestamp is being deprecated in favor of RowVersion however in my version of SQL Server RowVersion is not a data type whereas timestamp is. I dunno... John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/11/2012 8:48 AM, Jim Dettman wrote: > Tina, > > It's just a data type in SQL. You do nothing with the field other then > add it to the table. > > There are a couple of MSKB articles that fill in the detail: > > Optimizing Microsoft Office Access Applications Linked to SQL Server > http://msdn.microsoft.com/en-us/library/bb188204(v=SQL.90).aspx > > Look in the section "Understanding and Addressing Updatability Issues" and > then "Supporting Concurrency Checks" within that. > > This one goes a little bit into the keyset model that JET uses to maintain > record sets and why issues arise with ODBC data sources: > > PRB: Explaining "Record is deleted" error accessing ODBC table > http://support.microsoft.com/kb/172339 > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Wednesday, January 11, 2012 07:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Weird problem > > Jumping in here, not because I have much to offer, but because I have > much to learn. Please discuss the time stamp field. How should one be > made? How should one be used? Thank you for sharing your knowledge. > T > > Tina Norris Fields > tinanfields at torchlake.com > 231-322-2787 From rockysmolin at bchacc.com Wed Jan 11 08:55:15 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 11 Jan 2012 06:55:15 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> Message-ID: <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Wed Jan 11 09:43:36 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 11 Jan 2012 10:43:36 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> Message-ID: Sounds like the table LotControl has become corrupted. Have you tried running a make table query to create a copy of LotControl? After that make sure the copy still has a PK setting for the LotID field in the copy, then rename the two tables so the new one winds up being called "LotControl". Might work. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 9:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Jan 11 09:54:59 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 11 Jan 2012 07:54:59 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007> Message-ID: <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Lambert: Did work! Or appears to anyway. But why? Or do I need to know? :) Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Sounds like the table LotControl has become corrupted. Have you tried running a make table query to create a copy of LotControl? After that make sure the copy still has a PK setting for the LotID field in the copy, then rename the two tables so the new one winds up being called "LotControl". Might work. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 9:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Wed Jan 11 10:13:59 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 11 Jan 2012 11:13:59 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Message-ID: Not even Redmond knows! :-) You might want to confirm that the PK values in the new table all match the PK in the corrupted table. If there is any other (reasonably) unique field in the table then you could do an unmatched query joining on both the PK and the other field to see that everything matches. That will assure you that the related records in LotDetail. Like this... SELECT LotControl.PK, LotControl.Other_Unique_Field FROM LotControl LEFT JOIN LotControl_Original ON (LotControl.Other_Unique_Field = LotControl_Original.Other_Unique_Field) AND (LotControl.PK = LotControl_Original.PK) WHERE (((LotControl_Original.PK) Is Null)); Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 10:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable Lambert: Did work! Or appears to anyway. But why? Or do I need to know? :) Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Sounds like the table LotControl has become corrupted. Have you tried running a make table query to create a copy of LotControl? After that make sure the copy still has a PK setting for the LotID field in the copy, then rename the two tables so the new one winds up being called "LotControl". Might work. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 9:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Wed Jan 11 10:18:25 2012 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 11 Jan 2012 08:18:25 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Message-ID: I can't tell you why, but every once in a while I have the problem where a corrupted row in a table changes the table definition, removing the primary key designation of an autonumber field. At the same time the autonumber value sequence has gone bad, and the database tries to create duplicate autonumber values. I have had to rebuild the table, as Lambert suggests. Doug On Wed, Jan 11, 2012 at 7:54 AM, Rocky Smolin wrote: > Lambert: > > Did work! Or appears to anyway. But why? Or do I need to know? :) > > Thanks > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, January 11, 2012 7:44 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sleuthing - query has become non-updateable > > Sounds like the table LotControl has become corrupted. Have you tried > running a make table query to create a copy of LotControl? After that make > sure the copy still has a PK setting for the LotID field in the copy, then > rename the two tables so the new one winds up being called "LotControl". > > Might work. > > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, January 11, 2012 9:55 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Sleuthing - query has become non-updateable > > More info: > > In the References diagram there is no join between the PK LotID of the > LotControl table and the FK LotID of the LotDetail table. > > When I try to create one with referential integrity enforced I get a > message > No unique index found for the referenced field of the primary table. > > However, LotID in the primary table - LotControl - is a PK and autonumber. > A quick summation query with count of LotID shows each LotID only occurs > once. > > Any clues there? > > TIA > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Wednesday, January 11, 2012 6:35 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Sleuthing - query has become non-updateable > > Dear List: > > Yesterday a client sent me a back end that had become corrupted - front end > would not start because the record source for the opening form referenced a > corrupted table. > > In one of the tables I found a record with #Deleted in all of the fields. > The autonumber ID seemed to indicate that there was another record missing > - > the record before the #Deleted record was 2 less than the record after. > But > I deleted that record and all seemed well. > > However, a query for another another sub-form now does not allow a record > to > be added or edited - there's no empty line at the end of the query and the > >* is grayed out. And an attempt to change any record gives me that > annoying ding. > > I ran this query in an older copy of the back end and it works. So I know > there's some data problem in the current back end that I'm trying to > repair. > > There are three tables in the query and each in table view allows adding > and > editing of records. But if I structure a query of just two of them - a > LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) > the query is not updateable with any of the three join types. > > I haven't a clue as to where to look next but I suspect, of course, that > the > LotID is hosed in one or the other table. But inspecting the LotID > visually > shows nothing out of the ordinary. > > Any ideas on where to look next to identify the offending record(s)? > > MTIA > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.bchacc.com www.e-z-mrp.com > > Skype: rocky.smolin > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Wed Jan 11 10:20:32 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 11 Jan 2012 11:20:32 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Message-ID: Hi Rocky, Missed a bit from my last post. "That will assure you that the related records in LotDetail"... are still linked to the correct parent records. If there is no other unique field in the table you may have to try building one based on the concatenation of the PK field (which we know is unique) and some other field in the tables. The resulting calculated field will be unique too. So do that in two queries, on for each copy of the table, and then use those tables as the source for the unmatched query. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 11:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Not even Redmond knows! :-) You might want to confirm that the PK values in the new table all match the PK in the corrupted table. If there is any other (reasonably) unique field in the table then you could do an unmatched query joining on both the PK and the other field to see that everything matches. That will assure you that the related records in LotDetail. Like this... SELECT LotControl.PK, LotControl.Other_Unique_Field FROM LotControl LEFT JOIN LotControl_Original ON (LotControl.Other_Unique_Field = LotControl_Original.Other_Unique_Field) AND (LotControl.PK = LotControl_Original.PK) WHERE (((LotControl_Original.PK) Is Null)); Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 10:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable Lambert: Did work! Or appears to anyway. But why? Or do I need to know? :) Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Sounds like the table LotControl has become corrupted. Have you tried running a make table query to create a copy of LotControl? After that make sure the copy still has a PK setting for the LotID field in the copy, then rename the two tables so the new one winds up being called "LotControl". Might work. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 9:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rls at WeBeDb.com Wed Jan 11 10:22:43 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Wed, 11 Jan 2012 10:22:43 -0600 Subject: [AccessD] Weird problem In-Reply-To: References: Message-ID: <62A72517-1BB7-43E3-BEEB-2C74D0685B27@holly.arvixe.com> Check and see if there are decimal values that MS Access is rounding due to the ODBC driver. Also, BIT data types have to be set to NOT NULL and given a default value. I have seen both cause problems. At 09:55 AM 1/11/2012, you wrote: >Message: 12 >Date: Tue, 10 Jan 2012 22:02:29 -0500 >From: jwcolby >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Weird problem >Message-ID: <4F0CFBC5.7020800 at colbyconsulting.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >I did have bit fields. I just changed those to int and updated the >values to -1 from 1 for those >fields that needed it. Relinked. No Joy. Just that one record has >an issue. I closed / reopened >Access etc. No joy. This is truly strange. I can edit the record >from SQL Server but not from (my >workstation) using Access. > >I have been doing this for many many months using other databases / >FEs and have never run into this >issue. I am wondering if this is truly another user on another >workstation or something. > >The error says "This record has been changed by another user *since >you started editing it*." I >know that is not true. > >I don't have time stamp fields. I'll try that next. > >John W. Colby >Colby Consulting Robert L. Stewart www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From rockysmolin at bchacc.com Wed Jan 11 10:25:27 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 11 Jan 2012 08:25:27 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007><6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Message-ID: The PKs of the old table and new table match up. I'm going to send this back end to the client and have them check it out. But it looks good at this point. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Hi Rocky, Missed a bit from my last post. "That will assure you that the related records in LotDetail"... are still linked to the correct parent records. If there is no other unique field in the table you may have to try building one based on the concatenation of the PK field (which we know is unique) and some other field in the tables. The resulting calculated field will be unique too. So do that in two queries, on for each copy of the table, and then use those tables as the source for the unmatched query. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 11:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Not even Redmond knows! :-) You might want to confirm that the PK values in the new table all match the PK in the corrupted table. If there is any other (reasonably) unique field in the table then you could do an unmatched query joining on both the PK and the other field to see that everything matches. That will assure you that the related records in LotDetail. Like this... SELECT LotControl.PK, LotControl.Other_Unique_Field FROM LotControl LEFT JOIN LotControl_Original ON (LotControl.Other_Unique_Field = LotControl_Original.Other_Unique_Field) AND (LotControl.PK = LotControl_Original.PK) WHERE (((LotControl_Original.PK) Is Null)); Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 10:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable Lambert: Did work! Or appears to anyway. But why? Or do I need to know? :) Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, January 11, 2012 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Sounds like the table LotControl has become corrupted. Have you tried running a make table query to create a copy of LotControl? After that make sure the copy still has a PK setting for the LotID field in the copy, then rename the two tables so the new one winds up being called "LotControl". Might work. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 9:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sleuthing - query has become non-updateable More info: In the References diagram there is no join between the PK LotID of the LotControl table and the FK LotID of the LotDetail table. When I try to create one with referential integrity enforced I get a message No unique index found for the referenced field of the primary table. However, LotID in the primary table - LotControl - is a PK and autonumber. A quick summation query with count of LotID shows each LotID only occurs once. Any clues there? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Wednesday, January 11, 2012 6:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sleuthing - query has become non-updateable Dear List: Yesterday a client sent me a back end that had become corrupted - front end would not start because the record source for the opening form referenced a corrupted table. In one of the tables I found a record with #Deleted in all of the fields. The autonumber ID seemed to indicate that there was another record missing - the record before the #Deleted record was 2 less than the record after. But I deleted that record and all seemed well. However, a query for another another sub-form now does not allow a record to be added or edited - there's no empty line at the end of the query and the >* is grayed out. And an attempt to change any record gives me that annoying ding. I ran this query in an older copy of the back end and it works. So I know there's some data problem in the current back end that I'm trying to repair. There are three tables in the query and each in table view allows adding and editing of records. But if I structure a query of just two of them - a LotControl table (LotID is PK) and a LotControlDetail table (LotID is FK) the query is not updateable with any of the three join types. I haven't a clue as to where to look next but I suspect, of course, that the LotID is hosed in one or the other table. But inspecting the LotID visually shows nothing out of the ordinary. Any ideas on where to look next to identify the offending record(s)? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com www.e-z-mrp.com Skype: rocky.smolin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 rls at WeBeDb.com Wed Jan 11 10:26:14 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Wed, 11 Jan 2012 10:26:14 -0600 Subject: [AccessD] Weird problem In-Reply-To: References: Message-ID: <3CD5E26C-5ADC-4D60-A816-F01386051FAC@holly.arvixe.com> The timestamp field help with the rounding that the ODBC drive does on decimal fields from SQL Server to MS Access. It will show the two systems that there was really no change in the data. At 09:55 AM 1/11/2012, you wrote: >Message: 19 >Date: Wed, 11 Jan 2012 09:52:34 -0500 >From: jwcolby >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Weird problem >Message-ID: <4F0DA232.5090802 at colbyconsulting.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Tina, > >All I did was create a field which I called TimeStamp and make it a >data type timestamp. AFAIK you >can call the field anything you want but calling it TimeStamp seemed >useful to me. > >If I go into my table and view data, that field just shows 'binary', >i.e. you cannot see the actual >value at least doing it the way I am doing it. > >I did not have to go backfill or anything. And my problem with that >one record was instantly gone. > I went back to my access app, relinked and tried to edit the > problem record, in the table and in >the form, and there was no problem any more. > >As everybody says, it is not actually a time stamp and it is not in >fact even a date / time data >type, it is binary apparently. AFAICT the sole purpose is to allow >clients to get the "timestamp" >when they are trying to modify the record. When it is time to >actually do the save they can compare >the "timestamp" they got against what is currently in the record and >if they are different then the >record has been modified since they pulled the data. > >According to this: > >http://msdn.microsoft.com/en-us/library/ms182776.aspx > >Timestamp is being deprecated in favor of RowVersion however in my >version of SQL Server RowVersion >is not a data type whereas timestamp is. > >I dunno... > >John W. Colby >Colby Consulting Robert L. Stewart www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From Gustav at cactus.dk Wed Jan 11 10:55:15 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 11 Jan 2012 17:55:15 +0100 Subject: [AccessD] Sleuthing - query has become non-updateable Message-ID: Hi Doug .. every once in a while I have the problem where a corrupted row in a table changes the table definition, removing the primary key designation of an autonumber field. Is that really so? I've never seen that. /gustav >>> dbdoug at gmail.com 11-01-2012 17:18 >>> I can't tell you why, but every once in a while I have the problem where a corrupted row in a table changes the table definition, removing the primary key designation of an autonumber field. At the same time the autonumber value sequence has gone bad, and the database tries to create duplicate autonumber values. I have had to rebuild the table, as Lambert suggests. Doug From Lambert.Heenan at chartisinsurance.com Wed Jan 11 11:07:59 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Wed, 11 Jan 2012 12:07:59 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: Message-ID: Me neither. I've certainly seen examples where the PK seed gets corrupted and then Access tries to assign an existing PK value to a new record, at which point access complains of a duplicate value. So that would indicate that the PK status has stayed in place. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, January 11, 2012 11:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Sleuthing - query has become non-updateable Hi Doug .. every once in a while I have the problem where a corrupted row in a table changes the table definition, removing the primary key designation of an autonumber field. Is that really so? I've never seen that. /gustav >>> dbdoug at gmail.com 11-01-2012 17:18 >>> I can't tell you why, but every once in a while I have the problem where a corrupted row in a table changes the table definition, removing the primary key designation of an autonumber field. At the same time the autonumber value sequence has gone bad, and the database tries to create duplicate autonumber values. I have had to rebuild the table, as Lambert suggests. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Wed Jan 11 11:27:01 2012 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 11 Jan 2012 09:27:01 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: Message-ID: Yes, the table definition change has happened to me at least three times (in the last 5 years), on two different client databases. I know this for sure - I had the worst day ever in my programming career the first time it happened. My client had about 10 employees sitting on their hands, he was frantic, and I was working on a laptop away from my office. It took me nearly a full day to figure out what had happened, as, of course, I never thought of checking the actual table definition. No table related to the corrupt table would update, as the relationships had disappeared. I just assumed I had a bizarre multi table corruption issue. Once I saw what the problem was, I was able to remove the bad duplicate key records, force the autonumber back into sequence, restore the bad records, make the field a key again and restore the relationships. I didn't have to fully rebuild the table, fortunately. Doug On Wed, Jan 11, 2012 at 9:07 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Me neither. I've certainly seen examples where the PK seed gets corrupted > and then Access tries to assign an existing PK value to a new record, at > which point access complains of a duplicate value. So that would indicate > that the PK status has stayed in place. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, January 11, 2012 11:55 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Sleuthing - query has become non-updateable > > Hi Doug > > .. every once in a while I have the problem where a corrupted row in a > table changes the table definition, removing the primary key designation of > an autonumber field. > > Is that really so? I've never seen that. > > /gustav > > > >>> dbdoug at gmail.com 11-01-2012 17:18 >>> > I can't tell you why, but every once in a while I have the problem where a > corrupted row in a table changes the table definition, removing the primary > key designation of an autonumber field. At the same time the autonumber > value sequence has gone bad, and the database tries to create duplicate > autonumber values. I have had to rebuild the table, as Lambert suggests. > > Doug > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Jan 11 11:38:37 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Wed, 11 Jan 2012 09:38:37 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: Message-ID: No backup, I suppose? R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, January 11, 2012 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Yes, the table definition change has happened to me at least three times (in the last 5 years), on two different client databases. I know this for sure - I had the worst day ever in my programming career the first time it happened. My client had about 10 employees sitting on their hands, he was frantic, and I was working on a laptop away from my office. It took me nearly a full day to figure out what had happened, as, of course, I never thought of checking the actual table definition. No table related to the corrupt table would update, as the relationships had disappeared. I just assumed I had a bizarre multi table corruption issue. Once I saw what the problem was, I was able to remove the bad duplicate key records, force the autonumber back into sequence, restore the bad records, make the field a key again and restore the relationships. I didn't have to fully rebuild the table, fortunately. Doug On Wed, Jan 11, 2012 at 9:07 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Me neither. I've certainly seen examples where the PK seed gets > corrupted and then Access tries to assign an existing PK value to a > new record, at which point access complains of a duplicate value. So > that would indicate that the PK status has stayed in place. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, January 11, 2012 11:55 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Sleuthing - query has become non-updateable > > Hi Doug > > .. every once in a while I have the problem where a corrupted row in a > table changes the table definition, removing the primary key > designation of an autonumber field. > > Is that really so? I've never seen that. > > /gustav > > > >>> dbdoug at gmail.com 11-01-2012 17:18 >>> > I can't tell you why, but every once in a while I have the problem > where a corrupted row in a table changes the table definition, > removing the primary key designation of an autonumber field. At the > same time the autonumber value sequence has gone bad, and the database > tries to create duplicate autonumber values. I have had to rebuild the table, as Lambert suggests. > > Doug > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Wed Jan 11 11:48:29 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 11 Jan 2012 09:48:29 -0800 Subject: [AccessD] Jet Service Pack 8 Message-ID: I have to do some work on an app I wrote about 5 years ago. To keep free of conflicts with Office 2007, I installed another Windows 7 and then installed Office XP there. Now when I try to run the app, it's telling me that I need Jet Service Pack 8. I Googled that and found a page listing various versions of that file. Perhaps not surprisingly, Windows 7 was not included in the list of versions. Can I get away with installing the XP version? (Actually, I tried creating an XP boot but wrote down the serial number incorrectly, and what I wrote down is not valid, so I'm beat on that approach; hence the additional Windows 7 boot (Home Premium; the earlier one is Ultimate 64-bit.) TIA, Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From marksimms at verizon.net Wed Jan 11 12:02:33 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 11 Jan 2012 13:02:33 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> Message-ID: <007f01ccd08b$31bddde0$953999a0$@net> In the start-up form, this should be fairly trivial to check for this problem via VBA, correct ? Does it also happen in the case where the primary key is NOT autonumber ? > I can't tell you why, but every once in a while I have the problem > where a corrupted row in a table changes the table definition, removing the > primary key designation of an autonumber field. At the same time the > autonumber value sequence has gone bad, and the database tries to create duplicate > autonumber values. I have had to rebuild the table, as Lambert > suggests. > > Doug From tinanfields at torchlake.com Wed Jan 11 12:14:59 2012 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 11 Jan 2012 13:14:59 -0500 Subject: [AccessD] Weird problem In-Reply-To: <4F0DA232.5090802@colbyconsulting.com> References: <4F0CC068.4020906@colbyconsulting.com><1E183410-ACC8-470D-87EB-3F9438E338BA@verizon.net><4F0D87A7.9030701@torchlake.c om><677E8389EFC747B185DE3CAFE8D09F06@XPS> <4F0DA232.5090802@colbyconsulting.com> Message-ID: <4F0DD1A3.3030709@torchlake.com> Thank you to both Jim and John. I was unaware of the SQL data-type timestamp. Add this to my little pile of knowledge. T Tina Norris Fields tinanfields at torchlake.com 231-322-2787 On 1/11/2012 9:52 AM, jwcolby wrote: > Tina, > > All I did was create a field which I called TimeStamp and make it a > data type timestamp. AFAIK you can call the field anything you want > but calling it TimeStamp seemed useful to me. > > If I go into my table and view data, that field just shows 'binary', > i.e. you cannot see the actual value at least doing it the way I am > doing it. > > I did not have to go backfill or anything. And my problem with that > one record was instantly gone. I went back to my access app, relinked > and tried to edit the problem record, in the table and in the form, > and there was no problem any more. > > As everybody says, it is not actually a time stamp and it is not in > fact even a date / time data type, it is binary apparently. AFAICT > the sole purpose is to allow clients to get the "timestamp" when they > are trying to modify the record. When it is time to actually do the > save they can compare the "timestamp" they got against what is > currently in the record and if they are different then the record has > been modified since they pulled the data. > > According to this: > > http://msdn.microsoft.com/en-us/library/ms182776.aspx > > Timestamp is being deprecated in favor of RowVersion however in my > version of SQL Server RowVersion is not a data type whereas timestamp is. > > I dunno... > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/11/2012 8:48 AM, Jim Dettman wrote: >> Tina, >> >> It's just a data type in SQL. You do nothing with the field other >> then >> add it to the table. >> >> There are a couple of MSKB articles that fill in the detail: >> >> Optimizing Microsoft Office Access Applications Linked to SQL Server >> http://msdn.microsoft.com/en-us/library/bb188204(v=SQL.90).aspx >> >> Look in the section "Understanding and Addressing Updatability >> Issues" and >> then "Supporting Concurrency Checks" within that. >> >> This one goes a little bit into the keyset model that JET uses to >> maintain >> record sets and why issues arise with ODBC data sources: >> >> PRB: Explaining "Record is deleted" error accessing ODBC table >> http://support.microsoft.com/kb/172339 >> >> Jim. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Wednesday, January 11, 2012 07:59 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Weird problem >> >> Jumping in here, not because I have much to offer, but because I have >> much to learn. Please discuss the time stamp field. How should one be >> made? How should one be used? Thank you for sharing your knowledge. >> T > From stuart at lexacorp.com.pg Wed Jan 11 16:12:08 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 12 Jan 2012 08:12:08 +1000 Subject: [AccessD] Jet Service Pack 8 In-Reply-To: References: Message-ID: <4F0E0938.32687.34C9EBF@stuart.lexacorp.com.pg> Not an answer to you problem, but: Do you mean you did a real installation? i.e. made your PC multi-boot? Or are you using VirtualBox or similar? The second option is much easier that messing around with multi-boot solutions and new OS instals. Just create one clean image and then you can clone it and instal different software on each clone. (Or one clean image with each desired combination of OS/Office and clone as necessary from them). You don't need to worry about about serial keys/re-validation every time you want to hose an installation and start again. On 11 Jan 2012 at 9:48, Arthur Fuller wrote: > I have to do some work on an app I wrote about 5 years ago. To keep free of > conflicts with Office 2007, I installed another Windows 7 and then > installed Office XP there. Now when I try to run the app, it's telling me > that I need Jet Service Pack 8. I Googled that and found a page listing > various versions of that file. Perhaps not surprisingly, Windows 7 was not > included in the list of versions. Can I get away with installing the XP > version? (Actually, I tried creating an XP boot but wrote down the serial > number incorrectly, and what I wrote down is not valid, so I'm beat on that > approach; hence the additional Windows 7 boot (Home Premium; the earlier > one is Ultimate 64-bit.) > > TIA, > Arthur > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rbgajewski at roadrunner.com Wed Jan 11 23:08:23 2012 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Thu, 12 Jan 2012 00:08:23 -0500 Subject: [AccessD] Jet Service Pack 8 In-Reply-To: References: Message-ID: <9AED21D082744CC3A2C6CA20B91A7EBD@7B440585K> Arthur If you have the WinXP installed anywhere, run Belarc Advisor ... It will include the serial key in the report. Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, January 11, 2012 12:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] Jet Service Pack 8 I have to do some work on an app I wrote about 5 years ago. To keep free of conflicts with Office 2007, I installed another Windows 7 and then installed Office XP there. Now when I try to run the app, it's telling me that I need Jet Service Pack 8. I Googled that and found a page listing various versions of that file. Perhaps not surprisingly, Windows 7 was not included in the list of versions. Can I get away with installing the XP version? (Actually, I tried creating an XP boot but wrote down the serial number incorrectly, and what I wrote down is not valid, so I'm beat on that approach; hence the additional Windows 7 boot (Home Premium; the earlier one is Ultimate 64-bit.) TIA, Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Jan 12 06:47:55 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 12 Jan 2012 04:47:55 -0800 Subject: [AccessD] Jet Service Pack 8 In-Reply-To: <9AED21D082744CC3A2C6CA20B91A7EBD@7B440585K> References: <9AED21D082744CC3A2C6CA20B91A7EBD@7B440585K> Message-ID: I ended up setting XP up in an Oracle VM and retrieved my key from Belarc. Once that was done, it was easy to upgrade JET. Thanks to all. A. On Wed, Jan 11, 2012 at 9:08 PM, Bob Gajewski wrote: > Arthur > > If you have the WinXP installed anywhere, run Belarc Advisor ... It will > include the serial key in the report. > > Bob Gajewski > > From dbdoug at gmail.com Wed Jan 11 16:32:40 2012 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 11 Jan 2012 14:32:40 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <007f01ccd08b$31bddde0$953999a0$@net> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> <007f01ccd08b$31bddde0$953999a0$@net> Message-ID: Backups: As far as I can remember we did have a backup, but it was at least 24 hours old and the client was reluctant to take the chance of losing a day's work. And I had I initially assured him it would just take a few minutes to fix....The other two times it happened, I figured it out pretty quickly. Autonumber: The situation has only occurred in tables with autonumber primary keys. Doug On Wed, Jan 11, 2012 at 10:02 AM, Mark Simms wrote: > In the start-up form, this should be fairly trivial to check for this > problem via VBA, correct ? > > Does it also happen in the case where the primary key is NOT autonumber ? > > > I can't tell you why, but every once in a while I have the problem > > where a corrupted row in a table changes the table definition, removing > the > > primary key designation of an autonumber field. At the same time the > > autonumber value sequence has gone bad, and the database tries to create > duplicate > > autonumber values. I have had to rebuild the table, as Lambert > > suggests. > > > > Doug > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Jan 12 12:23:45 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 12 Jan 2012 10:23:45 -0800 Subject: [AccessD] FW: My keyboard Message-ID: <0EC823CD95A248E090B5945FF3132189@HAL9007> From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF From garykjos at gmail.com Thu Jan 12 12:40:13 2012 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 12 Jan 2012 12:40:13 -0600 Subject: [AccessD] FW: My keyboard In-Reply-To: <0EC823CD95A248E090B5945FF3132189@HAL9007> References: <0EC823CD95A248E090B5945FF3132189@HAL9007> Message-ID: Reboot is the first thought. Does the keyboard have an F-Lock key perhaps? http://jtsang.mvps.org/flock.html GK On Thu, Jan 12, 2012 at 12:23 PM, Rocky Smolin wrote: > ?From a client. ?Any idea what's going on there? ?I'll bet his DOS program > has hijacked the F4 key for its own purposes. > > TIA > > Rocky > > > ?_____ > > From: > Sent: Thursday, January 12, 2012 10:20 AM > To: Rocky Smolin > Subject: My keyboard > > > > I am getting funny results from my function keys when I use an old DOS > program. then I noticed that when I am in MS Access something strange is > happening. > > Most likely I need a new keyboard but tell me if you have heard of this from > other people. > > In access, unless you change the commands, F4 (function key) when you are in > a combo box causes the list to drop down. Now it is popping my out of the > program (that is the specific mdb closes and I am left looking at the Access > basic screen that offers opening one of the recently use programs or a new > data base, etc. > > Waltz, Tango, Foxtrot. that's WTF > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Thu Jan 12 12:49:21 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 12 Jan 2012 10:49:21 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <0EC823CD95A248E090B5945FF3132189@HAL9007> Message-ID: <131A5A1D49734A02A6A62F0A9BD27A36@HAL9007> I'll check. I'm sure re-boot will work but he doesn?t want to have to re-boot every time he uses the DOS program. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, January 12, 2012 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Reboot is the first thought. Does the keyboard have an F-Lock key perhaps? http://jtsang.mvps.org/flock.html GK On Thu, Jan 12, 2012 at 12:23 PM, Rocky Smolin wrote: > ?From a client. ?Any idea what's going on there? ?I'll bet his DOS > program has hijacked the F4 key for its own purposes. > > TIA > > Rocky > > > ?_____ > > From: > Sent: Thursday, January 12, 2012 10:20 AM > To: Rocky Smolin > Subject: My keyboard > > > > I am getting funny results from my function keys when I use an old DOS > program. then I noticed that when I am in MS Access something strange > is happening. > > Most likely I need a new keyboard but tell me if you have heard of > this from other people. > > In access, unless you change the commands, F4 (function key) when you > are in a combo box causes the list to drop down. Now it is popping my > out of the program (that is the specific mdb closes and I am left > looking at the Access basic screen that offers opening one of the > recently use programs or a new data base, etc. > > Waltz, Tango, Foxtrot. that's WTF > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcGillivray at ctc.ca.gov Thu Jan 12 12:55:46 2012 From: DMcGillivray at ctc.ca.gov (McGillivray, Don) Date: Thu, 12 Jan 2012 10:55:46 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: <0EC823CD95A248E090B5945FF3132189@HAL9007> References: <0EC823CD95A248E090B5945FF3132189@HAL9007> Message-ID: Ever have that thing happen where the system thinks that the CTRL or ALT key or whatever is being held down? It's not, but the system behaves as if it is. The behavior described is what happens in Access when you press F4 with the CTRL key engaged. There may be some keyboard trick to "reset" the state of the special keys when they get "stuck" like that. If so, I never really found it. I think sometimes I luck into it and get the thing to release, but maybe somebody knows a special combination of keys and/or body positioning to make it happen consistently. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, January 12, 2012 10:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: My keyboard From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeo at appoli.com Thu Jan 12 13:41:54 2012 From: joeo at appoli.com (Joe O'Connell) Date: Thu, 12 Jan 2012 14:41:54 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007><6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007><007f01ccd08b$31bddde0$953999a0$@net> Message-ID: <1CF20DB644BE124083B31638E5D5C023C987F0@exch2.Onappsad.net> Doug, An application that runs at a client site has a table with an auto number primary key. Occasionally Access loses track of the next value for the auto number field and attempts to reuse a number that already exists. We have never been able to figure out why this happens, but the solution is to reseed the next value with this subroutine: Public Sub FixEmpID() Dim lngSeed As Long Dim rs As DAO.Recordset Dim strSQL As String strSQL = "SELECT Max(tblEmployee.atnEmpID) AS MaxOfatnEmpID FROM tblEmployee;" Set rs = CurrentDb.OpenRecordset(strSQL) lngSeed = rs("MaxOfatnEmpID") + 1 strSQL = "ALTER TABLE tblEmployee ALTER COLUMN atnEmpID COUNTER(1," & lngSeed & ")" CurrentDb.Execute strSQL rs.Close Set rs = Nothing strSQL = "" End Sub Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, January 11, 2012 5:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sleuthing - query has become non-updateable Backups: As far as I can remember we did have a backup, but it was at least 24 hours old and the client was reluctant to take the chance of losing a day's work. And I had I initially assured him it would just take a few minutes to fix....The other two times it happened, I figured it out pretty quickly. Autonumber: The situation has only occurred in tables with autonumber primary keys. Doug On Wed, Jan 11, 2012 at 10:02 AM, Mark Simms wrote: > In the start-up form, this should be fairly trivial to check for this > problem via VBA, correct ? > > Does it also happen in the case where the primary key is NOT autonumber ? > > > I can't tell you why, but every once in a while I have the problem > > where a corrupted row in a table changes the table definition, > > removing > the > > primary key designation of an autonumber field. At the same time > > the autonumber value sequence has gone bad, and the database tries > > to create > duplicate > > autonumber values. I have had to rebuild the table, as Lambert > > suggests. > > > > Doug > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Thu Jan 12 14:18:49 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 12 Jan 2012 14:18:49 -0600 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page) - Never Fired??? References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007><8A69A57B2DAF44C189E56547A12F13BD@HAL9007><6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007><007f01ccd08b$31bddde0$953999a0$@net> <1CF20DB644BE124083B31638E5D5C023C987F0@exch2.Onappsad.net> Message-ID: I have a very simple test Form with 2 Tabs (Page1 and Page2). In the Property Sheet for both Page1 and Page2, I see an "On Click" event. However, when I add a MSGBOX to the Event Procedure, it appears that the event is never fired. I must be missing something. Thanks, Brad From stuart at lexacorp.com.pg Thu Jan 12 14:39:56 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jan 2012 06:39:56 +1000 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page) - Never Fired??? In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007>, Message-ID: <4F0F451C.27617.81E9537@stuart.lexacorp.com.pg> It works for me. Click anywhere in the page which is not covered by a control and the message box pops up. Note - responds to clicks only if you click on the background of the tab "page", not on the "tab" itself. -- Stuart On 12 Jan 2012 at 14:18, Brad Marks wrote: > I have a very simple test Form with 2 Tabs (Page1 and Page2). > > In the Property Sheet for both Page1 and Page2, I see an "On Click" > event. > > However, when I add a MSGBOX to the Event Procedure, it appears that the > event is never fired. > > I must be missing something. > > 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 Thu Jan 12 14:53:20 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 12 Jan 2012 14:53:20 -0600 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007>, <4F0F451C.27617.81E9537@stuart.lexacorp.com.pg> Message-ID: Stuart, Thanks for the help. You are right, the event is fired if one clicks on the background of the tab Page and not on the Tab itself. The catch is that I would like to be able to fire the event when the Tab itself is selected. Here is what I am trying to accomplish... I have a "Real" (non test) Form that has 10 tabs. Nine of the tabs each has numerous buttons that initiate various reports. One "odd-ball" Tab only has one button and will never have more than 1. Instead of selecting the Tab and then pushing the single button inside this Tab, I would like to eliminate the single button and fire up the event when the Tab is selected. I thought that I could do this with the "On Click" event, but it appears that this approach will not work. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? It works for me. Click anywhere in the page which is not covered by a control and the message box pops up. Note - responds to clicks only if you click on the background of the tab "page", not on the "tab" itself. -- Stuart On 12 Jan 2012 at 14:18, Brad Marks wrote: > I have a very simple test Form with 2 Tabs (Page1 and Page2). > > In the Property Sheet for both Page1 and Page2, I see an "On Click" > event. > > However, when I add a MSGBOX to the Event Procedure, it appears that the > event is never fired. > > I must be missing something. > > 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From Lambert.Heenan at chartisinsurance.com Thu Jan 12 15:10:16 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 12 Jan 2012 16:10:16 -0500 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007>, <4F0F451C.27617.81E9537@stuart.lexacorp.com.pg> Message-ID: That's a common problem. Just a case of MS making a weird decision way back in the past. You'd *think* that the tab control click event is the one you need, but in fact it is the Change event that you need to use. Like this: assuming you tab control is called "MenuTab" this code will check the name the tab (the text that appears on the tab itself) that became active after the click and respond as needed. Select Case MenuTab.Pages(MenuTab.Value).Name Case "Odd-Ball" Me.SomeButton_Click ' call the button click event Case Else ' do nothing End Select HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, January 12, 2012 3:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? Stuart, Thanks for the help. You are right, the event is fired if one clicks on the background of the tab Page and not on the Tab itself. The catch is that I would like to be able to fire the event when the Tab itself is selected. Here is what I am trying to accomplish... I have a "Real" (non test) Form that has 10 tabs. Nine of the tabs each has numerous buttons that initiate various reports. One "odd-ball" Tab only has one button and will never have more than 1. Instead of selecting the Tab and then pushing the single button inside this Tab, I would like to eliminate the single button and fire up the event when the Tab is selected. I thought that I could do this with the "On Click" event, but it appears that this approach will not work. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? It works for me. Click anywhere in the page which is not covered by a control and the message box pops up. Note - responds to clicks only if you click on the background of the tab "page", not on the "tab" itself. -- Stuart On 12 Jan 2012 at 14:18, Brad Marks wrote: > I have a very simple test Form with 2 Tabs (Page1 and Page2). > > In the Property Sheet for both Page1 and Page2, I see an "On Click" > event. > > However, when I add a MSGBOX to the Event Procedure, it appears that the > event is never fired. > > I must be missing something. > > 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Thu Jan 12 15:24:20 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Thu, 12 Jan 2012 15:24:20 -0600 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page)- Never Fired??? Thanks! References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007>, <4F0F451C.27617.81E9537@stuart.lexacorp.com.pg> Message-ID: Lambert, Thanks for the explanation and the sample code. It works nicely. I appreciate the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, January 12, 2012 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page)- NeverFired??? That's a common problem. Just a case of MS making a weird decision way back in the past. You'd *think* that the tab control click event is the one you need, but in fact it is the Change event that you need to use. Like this: assuming you tab control is called "MenuTab" this code will check the name the tab (the text that appears on the tab itself) that became active after the click and respond as needed. Select Case MenuTab.Pages(MenuTab.Value).Name Case "Odd-Ball" Me.SomeButton_Click ' call the button click event Case Else ' do nothing End Select HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, January 12, 2012 3:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? Stuart, Thanks for the help. You are right, the event is fired if one clicks on the background of the tab Page and not on the Tab itself. The catch is that I would like to be able to fire the event when the Tab itself is selected. Here is what I am trying to accomplish... I have a "Real" (non test) Form that has 10 tabs. Nine of the tabs each has numerous buttons that initiate various reports. One "odd-ball" Tab only has one button and will never have more than 1. Instead of selecting the Tab and then pushing the single button inside this Tab, I would like to eliminate the single button and fire up the event when the Tab is selected. I thought that I could do this with the "On Click" event, but it appears that this approach will not work. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? It works for me. Click anywhere in the page which is not covered by a control and the message box pops up. Note - responds to clicks only if you click on the background of the tab "page", not on the "tab" itself. -- Stuart On 12 Jan 2012 at 14:18, Brad Marks wrote: > I have a very simple test Form with 2 Tabs (Page1 and Page2). > > In the Property Sheet for both Page1 and Page2, I see an "On Click" > event. > > However, when I add a MSGBOX to the Event Procedure, it appears that the > event is never fired. > > I must be missing something. > > 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From Lambert.Heenan at chartisinsurance.com Thu Jan 12 16:09:02 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Thu, 12 Jan 2012 17:09:02 -0500 Subject: [AccessD] Access 2007 "On Click" Event on Tab (Page)- Never Fired??? Thanks! In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007>, <4F0F451C.27617.81E9537@stuart.lexacorp.com.pg> Message-ID: You are most welcome. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, January 12, 2012 4:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page)- Never Fired??? Thanks! Lambert, Thanks for the explanation and the sample code. It works nicely. I appreciate the help. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, January 12, 2012 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page)- NeverFired??? That's a common problem. Just a case of MS making a weird decision way back in the past. You'd *think* that the tab control click event is the one you need, but in fact it is the Change event that you need to use. Like this: assuming you tab control is called "MenuTab" this code will check the name the tab (the text that appears on the tab itself) that became active after the click and respond as needed. Select Case MenuTab.Pages(MenuTab.Value).Name Case "Odd-Ball" Me.SomeButton_Click ' call the button click event Case Else ' do nothing End Select HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Thursday, January 12, 2012 3:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? Stuart, Thanks for the help. You are right, the event is fired if one clicks on the background of the tab Page and not on the Tab itself. The catch is that I would like to be able to fire the event when the Tab itself is selected. Here is what I am trying to accomplish... I have a "Real" (non test) Form that has 10 tabs. Nine of the tabs each has numerous buttons that initiate various reports. One "odd-ball" Tab only has one button and will never have more than 1. Instead of selecting the Tab and then pushing the single button inside this Tab, I would like to eliminate the single button and fire up the event when the Tab is selected. I thought that I could do this with the "On Click" event, but it appears that this approach will not work. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2007 "On Click" Event on Tab (Page) - NeverFired??? It works for me. Click anywhere in the page which is not covered by a control and the message box pops up. Note - responds to clicks only if you click on the background of the tab "page", not on the "tab" itself. -- Stuart On 12 Jan 2012 at 14:18, Brad Marks wrote: > I have a very simple test Form with 2 Tabs (Page1 and Page2). > > In the Property Sheet for both Page1 and Page2, I see an "On Click" > event. > > However, when I add a MSGBOX to the Event Procedure, it appears that the > event is never fired. > > I must be missing something. > > 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Jan 12 16:30:10 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Thu, 12 Jan 2012 22:30:10 +0000 Subject: [AccessD] FW: My keyboard In-Reply-To: <0EC823CD95A248E090B5945FF3132189@HAL9007> References: <0EC823CD95A248E090B5945FF3132189@HAL9007> Message-ID: <56653D383CB80341995245C537A9E7B5618FF5@SINPRD0402MB099.apcprd04.prod.outlook.com> I would check if F lock or F Mode is incorrectly selected. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 13 January 2012 5:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: My keyboard From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Jan 12 17:32:26 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Thu, 12 Jan 2012 15:32:26 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: <56653D383CB80341995245C537A9E7B5618FF5@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <0EC823CD95A248E090B5945FF3132189@HAL9007> <56653D383CB80341995245C537A9E7B5618FF5@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: The F-Lock key was it - Gary beat you to it. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, January 12, 2012 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard I would check if F lock or F Mode is incorrectly selected. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 13 January 2012 5:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: My keyboard From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Jan 12 18:16:33 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 13 Jan 2012 00:16:33 +0000 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <0EC823CD95A248E090B5945FF3132189@HAL9007> <56653D383CB80341995245C537A9E7B5618FF5@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B561A0A1@SINPRD0402MB099.apcprd04.prod.outlook.com> Haha, Well he is smarter and faster than me, so not surprised! Credit where it is due, I should read the darn replies first before responding!! ;) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 13 January 2012 10:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: My keyboard The F-Lock key was it - Gary beat you to it. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, January 12, 2012 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard I would check if F lock or F Mode is incorrectly selected. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 13 January 2012 5:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: My keyboard From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Benson at ge.com Thu Jan 12 19:03:15 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 01:03:15 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" Message-ID: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. TIA for any suggestions. From garykjos at gmail.com Thu Jan 12 19:13:06 2012 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 12 Jan 2012 19:13:06 -0600 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> Message-ID: Weather? Sports scores such as golf or football? Stock prices? Combinations of all of those? GK On Thu, Jan 12, 2012 at 7:03 PM, Benson, William (GE Global Research, consultant) wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From stuart at lexacorp.com.pg Thu Jan 12 19:35:53 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jan 2012 11:35:53 +1000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> Message-ID: <4F0F8A79.16157.92D8A44@stuart.lexacorp.com.pg> Geodata? Countries/States/Cities/Airports - Cities: http://www.webresourcesdepot.com/free-geographical-database-of-all-countries-over-8-millio n-places-geonames/ Airports: http://www.partow.net/miscellaneous/airportdatabase/ or http://openflights.org/data.html which includes airlines and routes databases. -- Stuart On 13 Jan 2012 at 1:03, Benson, William (GE Global Re wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Benson at ge.com Thu Jan 12 20:09:11 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 02:09:11 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF37010361@cinmldgcna02.e2k.ad.ge.com> Any sources? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, January 12, 2012 8:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Weather? Sports scores such as golf or football? Stock prices? Combinations of all of those? GK On Thu, Jan 12, 2012 at 7:03 PM, Benson, William (GE Global Research, consultant) wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Thu Jan 12 20:36:35 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 02:36:35 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37010361@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> <93D10F008B998B4A83BCA855A33EEF37010361@cinmldgcna02.e2k.ad.ge.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF3701039F@cinmldgcna02.e2k.ad.ge.com> Other than pausing certain scenes while "MoneyBall" is playing on my DVD player. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, January 12, 2012 9:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Any sources? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, January 12, 2012 8:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Weather? Sports scores such as golf or football? Stock prices? Combinations of all of those? GK On Thu, Jan 12, 2012 at 7:03 PM, Benson, William (GE Global Research, consultant) wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Benson at ge.com Thu Jan 12 20:49:18 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 02:49:18 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <4F0F8A79.16157.92D8A44@stuart.lexacorp.com.pg> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> <4F0F8A79.16157.92D8A44@stuart.lexacorp.com.pg> Message-ID: <93D10F008B998B4A83BCA855A33EEF370103E4@cinmldgcna02.e2k.ad.ge.com> Thanks Stuart. Any others want to volunteer some sources? I appreciate it, I am checking out every lead. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 8:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Geodata? Countries/States/Cities/Airports - Cities: http://www.webresourcesdepot.com/free-geographical-database-of-all-countries-over-8-million-places-geonames/ Airports: http://www.partow.net/miscellaneous/airportdatabase/ or http://openflights.org/data.html which includes airlines and routes databases. -- Stuart On 13 Jan 2012 at 1:03, Benson, William (GE Global Re wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Benson at ge.com Thu Jan 12 21:03:13 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 03:03:13 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <4F0F8A79.16157.92D8A44@stuart.lexacorp.com.pg> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> <4F0F8A79.16157.92D8A44@stuart.lexacorp.com.pg> Message-ID: <93D10F008B998B4A83BCA855A33EEF37010407@cinmldgcna02.e2k.ad.ge.com> I am pulling in the GEOdata file now into a table I created for it in Access... Wow, the AllCountries.txt is a GB just as a tab delimited text file, I have doubts Access will get it all in.... will report back when it dies or succeeds. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, January 12, 2012 8:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Geodata? Countries/States/Cities/Airports - Cities: http://www.webresourcesdepot.com/free-geographical-database-of-all-countries-over-8-million-places-geonames/ Airports: http://www.partow.net/miscellaneous/airportdatabase/ or http://openflights.org/data.html which includes airlines and routes databases. -- Stuart On 13 Jan 2012 at 1:03, Benson, William (GE Global Re wrote: > > Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. > > I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). > > The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). > > I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. > > I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. > > TIA for any suggestions. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Benson at ge.com Thu Jan 12 21:08:49 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 03:08:49 +0000 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <0EC823CD95A248E090B5945FF3132189@HAL9007> <56653D383CB80341995245C537A9E7B5618FF5@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF3701041C@cinmldgcna02.e2k.ad.ge.com> I have to laugh at what we come up with "first" >> Most likely I need a new keyboard but ... So like me, I love it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, January 12, 2012 6:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: My keyboard The F-Lock key was it - Gary beat you to it. :) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Thursday, January 12, 2012 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard I would check if F lock or F Mode is incorrectly selected. Cheers d -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, 13 January 2012 5:24 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: My keyboard From a client. Any idea what's going on there? I'll bet his DOS program has hijacked the F4 key for its own purposes. TIA Rocky _____ From: Sent: Thursday, January 12, 2012 10:20 AM To: Rocky Smolin Subject: My keyboard I am getting funny results from my function keys when I use an old DOS program. then I noticed that when I am in MS Access something strange is happening. Most likely I need a new keyboard but tell me if you have heard of this from other people. In access, unless you change the commands, F4 (function key) when you are in a combo box causes the list to drop down. Now it is popping my out of the program (that is the specific mdb closes and I am left looking at the Access basic screen that offers opening one of the recently use programs or a new data base, etc. Waltz, Tango, Foxtrot. that's WTF -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Benson at ge.com Thu Jan 12 21:18:00 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 03:18:00 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> Message-ID: <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com> Darn, it dies with a message Cannot open database "". It may not be a database that your application recognizes, or the file may be corrupt. I lost a coupla hours on this baby. Boo hoo. Any recommendations, or shall I scrap the idea? Sounds like too much data anyway. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, January 12, 2012 8:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Northwinds Isn't "cutting it" Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. TIA for any suggestions. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darryl at whittleconsulting.com.au Thu Jan 12 21:26:49 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Fri, 13 Jan 2012 03:26:49 +0000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com> <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com> Message-ID: <56653D383CB80341995245C537A9E7B561A265@SINPRD0402MB099.apcprd04.prod.outlook.com> Are you hitting the 2GB limit upon load?. If you are, can you able to strip down the data in size before loading, or maybe load into SQL Server express which has a 10GB limit instead - then pull a subset from there into Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Friday, 13 January 2012 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Northwinds Isn't "cutting it" Darn, it dies with a message Cannot open database "". It may not be a database that your application recognizes, or the file may be corrupt. I lost a coupla hours on this baby. Boo hoo. Any recommendations, or shall I scrap the idea? Sounds like too much data anyway. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Benson, William (GE Global Research, consultant) Sent: Thursday, January 12, 2012 8:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] Northwinds Isn't "cutting it" Hi I am looking for some interesting (non-proprietary) data to demonstrate an add-in I built, which is designed to reorder / rename / Reduce data columns, as well as filter data. I am trying to prepare some demos, but I do not have any interesting source data. Most of the data I do have, belongs to a client (I am not going there!). The demo should inspire an audience to want to tackle their own data sets with gusto - but if the data is boring, I feel my tool will be guilty of being boring (by association). I suppose it is hard to think what would satisfy a large audience. Customers / Orders = boring (IMHO). Box Office Data might be more interesting. Music Hit Parade data going back to antiquity could interest some audiophiles, but not many other types. I wish my brain were not in lock-down, but I can't think of interesting data themes which one can find relatively cheaply. TIA for any suggestions. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Jan 12 21:39:38 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jan 2012 13:39:38 +1000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com>, <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com> Message-ID: <4F0FA77A.26565.99ED70F@stuart.lexacorp.com.pg> The data comes in tab-delimited + utf-8 formatted text files and can be downloaded as a whole or per country. Just grab the US database instead of the whole world? On 13 Jan 2012 at 3:18, Benson, William (GE Global Research, consuRe: [AccessD] Northwinds Isn't "cutting it" wrote: > Darn, it dies with a message > > Cannot open database "". It may not be a database that your application recognizes, or the file may be corrupt. > > I lost a coupla hours on this baby. Boo hoo. > > Any recommendations, or shall I scrap the idea? Sounds like too much data anyway. > From stuart at lexacorp.com.pg Thu Jan 12 21:49:45 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 13 Jan 2012 13:49:45 +1000 Subject: [AccessD] Northwinds Isn't "cutting it" In-Reply-To: <4F0FA77A.26565.99ED70F@stuart.lexacorp.com.pg> References: <93D10F008B998B4A83BCA855A33EEF37010230@cinmldgcna02.e2k.ad.ge.com>, <93D10F008B998B4A83BCA855A33EEF3701043C@cinmldgcna02.e2k.ad.ge.com>, <4F0FA77A.26565.99ED70F@stuart.lexacorp.com.pg> Message-ID: <4F0FA9D9.30572.9A81C0A@stuart.lexacorp.com.pg> Or probably better, one of the citiesxxx.csv databases. (I just pulled down the pg.csv and had a look - a lot of it is named geographicl features like rivers, harbours, mountains, swamps etc.) On 13 Jan 2012 at 13:39, Stuart McLachlan wrote: > The data comes in tab-delimited + utf-8 formatted text files and can be downloaded > as a whole or per country. > > Just grab the US database instead of the whole world? > > > On 13 Jan 2012 at 3:18, Benson, William (GE Global Research, consuRe: [AccessD] > Northwinds Isn't "cutting it" wrote: > > > Darn, it dies with a message > > > > Cannot open database "". It may not be a database that your application recognizes, or the file may be corrupt. > > > > I lost a coupla hours on this baby. Boo hoo. > > > > Any recommendations, or shall I scrap the idea? Sounds like too much data anyway. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Jan 13 02:12:37 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 13 Jan 2012 09:12:37 +0100 Subject: [AccessD] FW: My keyboard Message-ID: Hi Rocky Such questions are always a surprise for me. Why doesn't he change the keyboard to see if the problem persists? That would have taken less time than writing to you or at least ruled out one possible error source. /gustav >>> rockysmolin at bchacc.com 12-01-2012 19:23 >>> Most likely I need a new keyboard but tell me if you have heard of this from other people. From dbdoug at gmail.com Thu Jan 12 15:06:39 2012 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 12 Jan 2012 13:06:39 -0800 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: <1CF20DB644BE124083B31638E5D5C023C987F0@exch2.Onappsad.net> References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> <007f01ccd08b$31bddde0$953999a0$@net> <1CF20DB644BE124083B31638E5D5C023C987F0@exch2.Onappsad.net> Message-ID: Thanks! I do this, but always by manually building a query. I've never seen ALTER COLUMN/COUNTER before. I'm going to take your code and modify it so I can pass in the table name and field name, then put it in my standard toolkit module. Doug On Thu, Jan 12, 2012 at 11:41 AM, Joe O'Connell wrote: > Doug, > > An application that runs at a client site has a table with an auto > number primary key. Occasionally Access loses track of the next value > for the auto number field and attempts to reuse a number that already > exists. We have never been able to figure out why this happens, but the > solution is to reseed the next value with this subroutine: > > Public Sub FixEmpID() > Dim lngSeed As Long > Dim rs As DAO.Recordset > Dim strSQL As String > strSQL = "SELECT Max(tblEmployee.atnEmpID) AS MaxOfatnEmpID FROM > tblEmployee;" > Set rs = CurrentDb.OpenRecordset(strSQL) > lngSeed = rs("MaxOfatnEmpID") + 1 > strSQL = "ALTER TABLE tblEmployee ALTER COLUMN atnEmpID COUNTER(1," > & lngSeed & ")" > CurrentDb.Execute strSQL > rs.Close > Set rs = Nothing > strSQL = "" > End Sub > > Joe O'Connell > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, January 11, 2012 5:33 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sleuthing - query has become non-updateable > > Backups: As far as I can remember we did have a backup, but it was at > least 24 hours old and the client was reluctant to take the chance of > losing a day's work. And I had I initially assured him it would just > take a few minutes to fix....The other two times it happened, I figured > it out pretty quickly. > > Autonumber: The situation has only occurred in tables with autonumber > primary keys. > > Doug > > On Wed, Jan 11, 2012 at 10:02 AM, Mark Simms > wrote: > > > In the start-up form, this should be fairly trivial to check for this > > problem via VBA, correct ? > > > > Does it also happen in the case where the primary key is NOT > autonumber ? > > > > > I can't tell you why, but every once in a while I have the problem > > > where a corrupted row in a table changes the table definition, > > > removing > > the > > > primary key designation of an autonumber field. At the same time > > > the autonumber value sequence has gone bad, and the database tries > > > to create > > duplicate > > > autonumber values. I have had to rebuild the table, as Lambert > > > suggests. > > > > > > Doug > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Fri Jan 13 07:02:51 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 13 Jan 2012 08:02:51 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: References: Message-ID: Rocky, Another approach completely, but possibly useful. You could use the OnEnter event to automatically drop the combo down. It's dead simple: .DropDown A while ago a client asked for that behaviour on a form that had about a dozen combo boxes on it. After I had added that code to each combo, I rather liked all the activity. You could press Tab several times and move from control to control, each opening on Enter and closing on the next Tab press. Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From rockysmolin at bchacc.com Fri Jan 13 07:56:57 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 13 Jan 2012 05:56:57 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: References: Message-ID: "would have taken less time" well, actually, no. Asking to me always takes less of his time :) Don't mind actually - he's a good egg - funny guy. We always have a laugh when we talk. And he thinks I walk on water. :))))) (when it's actually you guys that do) R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, January 13, 2012 12:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: My keyboard Hi Rocky Such questions are always a surprise for me. Why doesn't he change the keyboard to see if the problem persists? That would have taken less time than writing to you or at least ruled out one possible error source. /gustav >>> rockysmolin at bchacc.com 12-01-2012 19:23 >>> Most likely I need a new keyboard but tell me if you have heard of this from other people. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Jan 13 08:06:33 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 13 Jan 2012 06:06:33 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: References: Message-ID: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> I've done that as well and users really like that. But the F-Lock key was the answer and he was happy as a pig in dirt with that. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, January 13, 2012 5:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Rocky, Another approach completely, but possibly useful. You could use the OnEnter event to automatically drop the combo down. It's dead simple: .DropDown A while ago a client asked for that behaviour on a form that had about a dozen combo boxes on it. After I had added that code to each combo, I rather liked all the activity. You could press Tab several times and move from control to control, each opening on Enter and closing on the next Tab press. Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Jan 13 08:47:28 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 13 Jan 2012 09:47:28 -0500 Subject: [AccessD] Sleuthing - query has become non-updateable In-Reply-To: References: <3801A435CBBF4B9FB29DA30C49A765E1@HAL9007> <8A69A57B2DAF44C189E56547A12F13BD@HAL9007> <6B49BCB92AF240ADB0BB5A5AC15B15D9@HAL9007> <007f01ccd08b$31bddde0$953999a0$@net> <1CF20DB644BE124083B31638E5D5C023C987F0@exch2.Onappsad.net> Message-ID: Joe, I suppose your use of the word "occasionally" means that you have no idea why or when it occurs. I''m going to follow Doug's lead and generalize your code and stick it in my toolbox, although in almost 20 years of Access development I've never seen this happen. But always best to be prepared, say I. Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From Benson at ge.com Fri Jan 13 10:33:58 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 13 Jan 2012 16:33:58 +0000 Subject: [AccessD] FW: My keyboard In-Reply-To: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> Message-ID: <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> I think the expression is Happy as a Pig in a Shirt. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, January 13, 2012 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: My keyboard I've done that as well and users really like that. But the F-Lock key was the answer and he was happy as a pig in dirt with that. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, January 13, 2012 5:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Rocky, Another approach completely, but possibly useful. You could use the OnEnter event to automatically drop the combo down. It's dead simple: .DropDown A while ago a client asked for that behaviour on a form that had about a dozen combo boxes on it. After I had added that code to each combo, I rather liked all the activity. You could press Tab several times and move from control to control, each opening on Enter and closing on the next Tab press. Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Jan 13 10:39:49 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 13 Jan 2012 11:39:49 -0500 Subject: [AccessD] FW: My keyboard References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> Message-ID: <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Happy as a pig in sh*t. What do I win? :) Now, the expression I like the most, I learned from my dad -- you can't kick sh*t without getting some on your shoes. Words to live by. :) Susan H. >I think the expression is Happy as a Pig in a Shirt. > > > I've done that as well and users really like that. But the F-Lock key was > the answer and he was happy as a pig in dirt with that. > > R From vbacreations at gmail.com Fri Jan 13 10:42:34 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 13 Jan 2012 11:42:34 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Message-ID: If you put a star there then the characters can be anything. If you insist on being crass but hiding behind a wildcard you must write Pig in sh?t My dear Susan... ;) On Jan 13, 2012 11:39 AM, "Susan Harkins" wrote: > Happy as a pig in sh*t. > > What do I win? :) > > Now, the expression I like the most, I learned from my dad -- you can't > kick sh*t without getting some on your shoes. Words to live by. :) > > Susan H. > > > I think the expression is Happy as a Pig in a Shirt. >> >> >> I've done that as well and users really like that. But the F-Lock key >> was the answer and he was happy as a pig in dirt with that. >> >> 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 Jan 13 10:55:01 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 13 Jan 2012 08:55:01 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007><93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Message-ID: <174C472E21454E73B8098FC680DE9669@HAL9007> I was trying to spare the refined sensibilities of the list. F***ing lot of good that did. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, January 13, 2012 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Happy as a pig in sh*t. What do I win? :) Now, the expression I like the most, I learned from my dad -- you can't kick sh*t without getting some on your shoes. Words to live by. :) Susan H. >I think the expression is Happy as a Pig in a Shirt. > > > I've done that as well and users really like that. But the F-Lock key > was the answer and he was happy as a pig in dirt with that. > > R -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Fri Jan 13 11:10:13 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 13 Jan 2012 12:10:13 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Message-ID: The expression 'Happy as a pig in a shirt' is completely meaningless. Just a way of avoiding the fact that real old Anglo Saxon words are out there (well Middle English / Middle Dutch / Old High German, take your pick. Also, who made up the rule that using an asterisk in written English is supposed to be interpreted as a late 20th century / early 21st computer operating system wild card? The 'Happy as a pig in sh*t' sentiment is thoroughly well documented. Try this for one... http://tinyurl.com/7zjojxd Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 13, 2012 11:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard If you put a star there then the characters can be anything. If you insist on being crass but hiding behind a wildcard you must write Pig in sh?t My dear Susan... ;) On Jan 13, 2012 11:39 AM, "Susan Harkins" wrote: > Happy as a pig in sh*t. > > What do I win? :) > > Now, the expression I like the most, I learned from my dad -- you > can't kick sh*t without getting some on your shoes. Words to live by. > :) > > Susan H. > > > I think the expression is Happy as a Pig in a Shirt. >> >> >> I've done that as well and users really like that. But the F-Lock >> key was the answer and he was happy as a pig in dirt with that. >> >> R >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd advisors.com/mailman/listinfo/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 chartisinsurance.com Fri Jan 13 11:12:09 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 13 Jan 2012 12:12:09 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: <174C472E21454E73B8098FC680DE9669@HAL9007> References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007><93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> <174C472E21454E73B8098FC680DE9669@HAL9007> Message-ID: Another old Anglo Saxon term. Rumored to be an acronym describing why a parish might punished a parishioner: For Unauthorized Carnal Knowledge. Lambert :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, January 13, 2012 11:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] FW: My keyboard I was trying to spare the refined sensibilities of the list. F***ing lot of good that did. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, January 13, 2012 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Happy as a pig in sh*t. What do I win? :) Now, the expression I like the most, I learned from my dad -- you can't kick sh*t without getting some on your shoes. Words to live by. :) Susan H. >I think the expression is Happy as a Pig in a Shirt. > > > I've done that as well and users really like that. But the F-Lock key > was the answer and he was happy as a pig in dirt with that. > > 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 charlotte.foust at gmail.com Fri Jan 13 11:57:00 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 13 Jan 2012 09:57:00 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> <174C472E21454E73B8098FC680DE9669@HAL9007> Message-ID: Hmmn, it must be Friday! ;-) Charlotte Foust On Fri, Jan 13, 2012 at 9:12 AM, Heenan, Lambert < Lambert.Heenan at chartisinsurance.com> wrote: > Another old Anglo Saxon term. Rumored to be an acronym describing why a > parish might punished a parishioner: For Unauthorized Carnal Knowledge. > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, January 13, 2012 11:55 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] FW: My keyboard > > I was trying to spare the refined sensibilities of the list. F***ing lot > of good that did. > > R > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Friday, January 13, 2012 8:40 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: My keyboard > > Happy as a pig in sh*t. > > What do I win? :) > > Now, the expression I like the most, I learned from my dad -- you can't > kick sh*t without getting some on your shoes. Words to live by. :) > > Susan H. > > > >I think the expression is Happy as a Pig in a Shirt. > > > > > > I've done that as well and users really like that. But the F-Lock key > > was the answer and he was happy as a pig in dirt with that. > > > > 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 davidmcafee at gmail.com Fri Jan 13 14:05:59 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 13 Jan 2012 12:05:59 -0800 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> <174C472E21454E73B8098FC680DE9669@HAL9007> Message-ID: It relly pisses me off that keyboard manufaturers (Logitech was the first, I believe then MS) default the original Function keys OFF and the newer "New, Open, close, undo..." buttons to be defaulted on. IMO, those functions should require the F lock to be on as they are newer functions added to the keys. D On Fri, Jan 13, 2012 at 9:57 AM, Charlotte Foust wrote: > Hmmn, it must be Friday! ;-) > > Charlotte Foust > > On Fri, Jan 13, 2012 at 9:12 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Another old Anglo Saxon term. Rumored to be an acronym describing why a > > parish might punished a parishioner: For Unauthorized Carnal Knowledge. > > > > Lambert :-) > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > > Sent: Friday, January 13, 2012 11:55 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] FW: My keyboard > > > > I was trying to spare the refined sensibilities of the list. F***ing lot > > of good that did. > > > > R > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > > Sent: Friday, January 13, 2012 8:40 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] FW: My keyboard > > > > Happy as a pig in sh*t. > > > > What do I win? :) > > > > Now, the expression I like the most, I learned from my dad -- you can't > > kick sh*t without getting some on your shoes. Words to live by. :) > > > > Susan H. > > > > > > >I think the expression is Happy as a Pig in a Shirt. > > > > > > > > > I've done that as well and users really like that. But the F-Lock key > > > was the answer and he was happy as a pig in dirt with that. > > > > > > 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 > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at chartisinsurance.com Fri Jan 13 14:39:33 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Fri, 13 Jan 2012 15:39:33 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> <174C472E21454E73B8098FC680DE9669@HAL9007> Message-ID: Too true. I have an MS Ergonomic Kb 4000 though, and it defaults to F-Lock On - i.e. the F1-F12 keys have their 'traditional' actions. Fine by me. I have no need at all for a key that does Undo/Redo/New/Open/Close etc. My software has all those function in the interface, thanks very much. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, January 13, 2012 3:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard It relly pisses me off that keyboard manufaturers (Logitech was the first, I believe then MS) default the original Function keys OFF and the newer "New, Open, close, undo..." buttons to be defaulted on. IMO, those functions should require the F lock to be on as they are newer functions added to the keys. D On Fri, Jan 13, 2012 at 9:57 AM, Charlotte Foust wrote: > Hmmn, it must be Friday! ;-) > > Charlotte Foust > > On Fri, Jan 13, 2012 at 9:12 AM, Heenan, Lambert < > Lambert.Heenan at chartisinsurance.com> wrote: > > > Another old Anglo Saxon term. Rumored to be an acronym describing > > why a parish might punished a parishioner: For Unauthorized Carnal Knowledge. > > > > Lambert :-) > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > > accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > > Sent: Friday, January 13, 2012 11:55 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] FW: My keyboard > > > > I was trying to spare the refined sensibilities of the list. > > F***ing lot of good that did. > > > > R > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > > Harkins > > Sent: Friday, January 13, 2012 8:40 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] FW: My keyboard > > > > Happy as a pig in sh*t. > > > > What do I win? :) > > > > Now, the expression I like the most, I learned from my dad -- you > > can't kick sh*t without getting some on your shoes. Words to live > > by. :) > > > > Susan H. > > > > > > >I think the expression is Happy as a Pig in a Shirt. > > > > > > > > > I've done that as well and users really like that. But the F-Lock > > > key was the answer and he was happy as a pig in dirt with that. > > > > > > 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 > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jan 13 15:24:36 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 14 Jan 2012 07:24:36 +1000 Subject: [AccessD] FW: My keyboard In-Reply-To: References: , , Message-ID: <4F10A114.7774.15C9DBC@stuart.lexacorp.com.pg> Disemvowelling? It has been around for longer than that. Not necessariy with an asterisk, but obfuscating key words by replacing letters with symbols in texts has been used to by groups such as the masons for a long time. Then there are grawlixs which have been around since the first half of the 20th Cetury #@$%*! Here's a good read on the asterisk: http://www.publishersweekly.com/pw/by-topic/columns-and-blogs/soapbox/article/49293-the- god-particle-of-literature.html -- Stuart On 13 Jan 2012 at 12:10, Heenan, Lambert wrote: > Also, who made up the rule that using an asterisk in written English > is supposed to be interpreted as a late 20th century / early 21st > computer operating system wild card? > From sturner at mseco.com Fri Jan 13 16:26:04 2012 From: sturner at mseco.com (Steve Turner) Date: Fri, 13 Jan 2012 16:26:04 -0600 Subject: [AccessD] query table Message-ID: List, I have a table that I pull employee records by date range. I have another table I need to check for employee number to see if the employee is not there. Using the simple query linking the tables to employee number on inner join that checks date range for all records only pulls records that match. How do I make only the records in the date range table show up if they are missing in the other table. I am using AK2010. Steve A. Turner Controller Mid-South Engineering Co. Inc P.O. Box 1399 Hot Springs, AR 71902 E-Mail: sturner at mseco.com and saturner at mseco.com Phone: (501)321-2276 Fax: (501)321-4750 Cell: (501)282-7751 From garykjos at gmail.com Fri Jan 13 16:39:18 2012 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 13 Jan 2012 16:39:18 -0600 Subject: [AccessD] query table In-Reply-To: References: Message-ID: You would create and outer join with the parameter saying you want ALL the records from the date range table regardless of if they have a match in the employee table. Then you put a criteria on the employee number to only include those that are NULL in the result set. GK On Fri, Jan 13, 2012 at 4:26 PM, Steve Turner wrote: > List, > > ?I have a table that I pull employee records by date range. I have > another table I need to check for employee number to see if the employee > is not there. > > Using the simple query linking the tables to employee number on inner > join that checks date range for all records only pulls records that > match. How do I make only the records in the date range table show up if > they are missing in the other table. I am using AK2010. > > Steve A. Turner > Controller > Mid-South Engineering Co. Inc > P.O. Box 1399 > Hot Springs, AR 71902 > E-Mail: sturner at mseco.com and saturner at mseco.com > Phone: (501)321-2276 > Fax: ? ? (501)321-4750 > Cell: ? ? (501)282-7751 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From dbdoug at gmail.com Fri Jan 13 18:45:26 2012 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 13 Jan 2012 16:45:26 -0800 Subject: [AccessD] Friday sort of OT Message-ID: I spent nearly two hours yesterday with a client discussing future changes to his database. The discussion went well, and I've probably got 20-30 hours of work set up for the next month or so. I asked him to prioritize the tasks we discussed, as he knows I have work to do for other clients. Here is an abbreviated version of the email he sent me, with numbered tasks and priorities: Task 1 'soon as possible' Task 2 'soon as possible' Task 3 'soon as possible' Task 4 'next Friday' Task 5 'soon as possible' Task 6 'next Tuesday' Aren't clients fun! From rockysmolin at bchacc.com Fri Jan 13 18:56:39 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 13 Jan 2012 16:56:39 -0800 Subject: [AccessD] Friday sort of OT In-Reply-To: References: Message-ID: Send him this: http://tumblr.thedailywh.at/post/12760859047/more-time-is-more-money-of-the- day-to-prove-to If that fails then the old chestnut: http://mikelynchcartoons.blogspot.com/2010/02/you-want-it-when-poster.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, January 13, 2012 4:45 PM To: Access Developers discussion and problem solving Subject: [AccessD] Friday sort of OT I spent nearly two hours yesterday with a client discussing future changes to his database. The discussion went well, and I've probably got 20-30 hours of work set up for the next month or so. I asked him to prioritize the tasks we discussed, as he knows I have work to do for other clients. Here is an abbreviated version of the email he sent me, with numbered tasks and priorities: Task 1 'soon as possible' Task 2 'soon as possible' Task 3 'soon as possible' Task 4 'next Friday' Task 5 'soon as possible' Task 6 'next Tuesday' Aren't clients fun! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Fri Jan 13 19:10:47 2012 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 13 Jan 2012 17:10:47 -0800 Subject: [AccessD] Friday sort of OT In-Reply-To: References: Message-ID: Love the video! On Fri, Jan 13, 2012 at 4:56 PM, Rocky Smolin wrote: > Send him this: > > > http://tumblr.thedailywh.at/post/12760859047/more-time-is-more-money-of-the- > day-to-prove-to > > If that fails then the old chestnut: > > http://mikelynchcartoons.blogspot.com/2010/02/you-want-it-when-poster.html > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Friday, January 13, 2012 4:45 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Friday sort of OT > > I spent nearly two hours yesterday with a client discussing future changes > to his database. The discussion went well, and I've probably got 20-30 > hours of work set up for the next month or so. I asked him to prioritize > the tasks we discussed, as he knows I have work to do for other clients. > Here is an abbreviated version of the email he sent me, with numbered > tasks > and priorities: > > Task 1 'soon as possible' > Task 2 'soon as possible' > Task 3 'soon as possible' > Task 4 'next Friday' > Task 5 'soon as possible' > Task 6 'next Tuesday' > > Aren't clients fun! > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From steve at datamanagementsolutions.biz Fri Jan 13 21:25:47 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Sat, 14 Jan 2012 16:25:47 +1300 Subject: [AccessD] Friday sort of OT In-Reply-To: References: Message-ID: <1ADE3291E8704DAF961EC782EFBC6846@stevelaptop> Yeah, thanks a million, Rocky. That video is so cool. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Saturday, January 14, 2012 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Friday sort of OT Send him this: http://tumblr.thedailywh.at/post/12760859047/more-time-is-more-money-of-the- day-to-prove-to If that fails then the old chestnut: http://mikelynchcartoons.blogspot.com/2010/02/you-want-it-when-poster.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, January 13, 2012 4:45 PM To: Access Developers discussion and problem solving Subject: [AccessD] Friday sort of OT I spent nearly two hours yesterday with a client discussing future changes to his database. The discussion went well, and I've probably got 20-30 hours of work set up for the next month or so. I asked him to prioritize the tasks we discussed, as he knows I have work to do for other clients. Here is an abbreviated version of the email he sent me, with numbered tasks and priorities: Task 1 'soon as possible' Task 2 'soon as possible' Task 3 'soon as possible' Task 4 'next Friday' Task 5 'soon as possible' Task 6 'next Tuesday' Aren't clients fun! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 vbacreations at gmail.com Fri Jan 13 22:40:21 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 13 Jan 2012 23:40:21 -0500 Subject: [AccessD] Friday sort of OT In-Reply-To: <1ADE3291E8704DAF961EC782EFBC6846@stevelaptop> References: <1ADE3291E8704DAF961EC782EFBC6846@stevelaptop> Message-ID: Scary thing is... I've been around "that client" so long, I have become him. On Jan 13, 2012 10:28 PM, "Steve Schapel" wrote: > Yeah, thanks a million, Rocky. That video is so cool. > > Regards > Steve > > -----Original Message----- From: Rocky Smolin > Sent: Saturday, January 14, 2012 1:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Friday sort of OT > > Send him this: > > http://tumblr.thedailywh.at/**post/12760859047/more-time-is-** > more-money-of-the- > day-to-prove-to > > If that fails then the old chestnut: > > http://mikelynchcartoons.**blogspot.com/2010/02/you-want-** > it-when-poster.html > > Rocky > > > -----Original Message----- > From: accessd-bounces@**databaseadvisors.com > [mailto:accessd-bounces@**databaseadvisors.com] > On Behalf Of Doug Steele > Sent: Friday, January 13, 2012 4:45 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Friday sort of OT > > I spent nearly two hours yesterday with a client discussing future changes > to his database. The discussion went well, and I've probably got 20-30 > hours of work set up for the next month or so. I asked him to prioritize > the tasks we discussed, as he knows I have work to do for other clients. > Here is an abbreviated version of the email he sent me, with numbered tasks > and priorities: > > Task 1 'soon as possible' > Task 2 'soon as possible' > Task 3 'soon as possible' > Task 4 'next Friday' > Task 5 'soon as possible' > Task 6 'next Tuesday' > > Aren't clients fun! > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 vbacreations at gmail.com Fri Jan 13 23:16:26 2012 From: vbacreations at gmail.com (William Benson) Date: Sat, 14 Jan 2012 00:16:26 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Message-ID: Are you that thick as to think I was that thick?? ;) On Jan 13, 2012 12:11 PM, "Heenan, Lambert" < Lambert.Heenan at chartisinsurance.com> wrote: > The expression 'Happy as a pig in a shirt' is completely meaningless. Just > a way of avoiding the fact that real old Anglo Saxon words are out there > (well Middle English / Middle Dutch / Old High German, take your pick. > > Also, who made up the rule that using an asterisk in written English is > supposed to be interpreted as a late 20th century / early 21st computer > operating system wild card? > > The 'Happy as a pig in sh*t' sentiment is thoroughly well documented. Try > this for one... > http://tinyurl.com/7zjojxd > > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Friday, January 13, 2012 11:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: My keyboard > > If you put a star there then the characters can be anything. > > If you insist on being crass but hiding behind a wildcard you must write > > Pig in sh?t > > My dear Susan... > > ;) > On Jan 13, 2012 11:39 AM, "Susan Harkins" wrote: > > > Happy as a pig in sh*t. > > > > What do I win? :) > > > > Now, the expression I like the most, I learned from my dad -- you > > can't kick sh*t without getting some on your shoes. Words to live by. > > :) > > > > Susan H. > > > > > > I think the expression is Happy as a Pig in a Shirt. > >> > >> > >> I've done that as well and users really like that. But the F-Lock > >> key was the answer and he was happy as a pig in dirt with that. > >> > >> R > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > advisors.com/mailman/listinfo/accessd> > > Website: > > http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sat Jan 14 03:55:13 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 14 Jan 2012 10:55:13 +0100 Subject: [AccessD] Friday sort of OT Message-ID: Hi all But you really have to ask yourself if the output will be worth 60 times the effort? If the client asks for "bells and whistles as to your finest abilities" it's fine, but what if he asked for a clean basic design or even didn't ask for anything other than an unspecified clock? What would you as project manager tell the new guy on the team that thought this was the time for a show off? /gustav >>> steve at datamanagementsolutions.biz 14-01-2012 04:25 >>> Yeah, thanks a million, Rocky. That video is so cool. Regards Steve -----Original Message----- From: Rocky Smolin Sent: Saturday, January 14, 2012 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Friday sort of OT Send him this: http://tumblr.thedailywh.at/post/12760859047/more-time-is-more-money-of-the-day-to-prove-to If that fails then the old chestnut: http://mikelynchcartoons.blogspot.com/2010/02/you-want-it-when-poster.html Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, January 13, 2012 4:45 PM To: Access Developers discussion and problem solving Subject: [AccessD] Friday sort of OT I spent nearly two hours yesterday with a client discussing future changes to his database. The discussion went well, and I've probably got 20-30 hours of work set up for the next month or so. I asked him to prioritize the tasks we discussed, as he knows I have work to do for other clients. Here is an abbreviated version of the email he sent me, with numbered tasks and priorities: Task 1 'soon as possible' Task 2 'soon as possible' Task 3 'soon as possible' Task 4 'next Friday' Task 5 'soon as possible' Task 6 'next Tuesday' Aren't clients fun! From hans.andersen at phulse.com Sat Jan 14 05:49:14 2012 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Sat, 14 Jan 2012 03:49:14 -0800 Subject: [AccessD] Friday sort of OT In-Reply-To: References: Message-ID: <669918C0-9C89-4FDE-85A6-E6918FEF757D@phulse.com> A similar problem is the issue of the "quick fix". For a given task or problem, if you present a number of options along with the pros and cons, the client will almost always pick the option that takes the least amount of time. Unfortunately, those almost invariably always are unstable or unmaintainable. So, the next time you come across some code or database that looks to be in very bad condition, consider that it might not necessarily be a reflection of their poor abilities, but that the project suffered from a constant pressure to produce a quick fix. - Hans On 14 Jan 2012, at 01:55, "Gustav Brock" wrote: > Hi all > > But you really have to ask yourself if the output will be worth 60 times the effort? > > If the client asks for "bells and whistles as to your finest abilities" it's fine, but what if he asked for a clean basic design or even didn't ask for anything other than an unspecified clock? What would you as project manager tell the new guy on the team that thought this was the time for a show off? > > /gustav > >>>> steve at datamanagementsolutions.biz 14-01-2012 04:25 >>> > Yeah, thanks a million, Rocky. That video is so cool. > > Regards > Steve > > -----Original Message----- > From: Rocky Smolin > Sent: Saturday, January 14, 2012 1:56 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Friday sort of OT > > Send him this: > > http://tumblr.thedailywh.at/post/12760859047/more-time-is-more-money-of-the-day-to-prove-to > > If that fails then the old chestnut: > > http://mikelynchcartoons.blogspot.com/2010/02/you-want-it-when-poster.html > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Friday, January 13, 2012 4:45 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Friday sort of OT > > I spent nearly two hours yesterday with a client discussing future changes > to his database. The discussion went well, and I've probably got 20-30 > hours of work set up for the next month or so. I asked him to prioritize > the tasks we discussed, as he knows I have work to do for other clients. > Here is an abbreviated version of the email he sent me, with numbered tasks > and priorities: > > Task 1 'soon as possible' > Task 2 'soon as possible' > Task 3 'soon as possible' > Task 4 'next Friday' > Task 5 'soon as possible' > Task 6 'next Tuesday' > > Aren't clients fun! > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Jan 14 06:13:59 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 14 Jan 2012 07:13:59 -0500 Subject: [AccessD] Friday sort of OT In-Reply-To: <669918C0-9C89-4FDE-85A6-E6918FEF757D@phulse.com> References: <669918C0-9C89-4FDE-85A6-E6918FEF757D@phulse.com> Message-ID: I'd suggest that you include that option in your own list, but drop it from the list you present to the client. A. Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg On Sat, Jan 14, 2012 at 6:49 AM, Hans-Christian Andersen < hans.andersen at phulse.com> wrote: > A similar problem is the issue of the "quick fix". For a given task or > problem, if you present a number of options along with the pros and cons, > the client will almost always pick the option that takes the least amount > of time. Unfortunately, those almost invariably always are unstable or > unmaintainable. > > So, the next time you come across some code or database that looks to be > in very bad condition, consider that it might not necessarily be a > reflection of their poor abilities, but that the project suffered from a > constant pressure to produce a quick fix. > > - Hans > > -- > From marksimms at verizon.net Sat Jan 14 08:32:23 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 14 Jan 2012 09:32:23 -0500 Subject: [AccessD] Friday sort of OT In-Reply-To: References: Message-ID: <003601ccd2c9$55183110$ff489330$@net> Well Doug, as we said many times on this forum, you gotta know when to fire them ! Right now luckily I have 2 clients..one very un-demanding, the other...well, let's just say they're "all political". The latter is one of the largest computer services company in the country...with many large government contracts (that'a a key !). They threw me into a software project they had managed where there was : -no requirements documents -no design documents -no technical documentation -no code review was ever performed Then BEFORE a code assessment was performed, they signed a fixed-price contract with the client with an fixed deadline. After I reviewed the code and found few comments or misleading comments, I told them this was a "total rewrite". They refused to accept that. As I mentioned before on this forum, this is likely my last "stinker". After 3 years of trying, I have been unable to get a long-term contract....takes no genius to determine the reason for that. > tasks and priorities: > > Task 1 'soon as possible' > Task 2 'soon as possible' > Task 3 'soon as possible' > Task 4 'next Friday' > Task 5 'soon as possible' > Task 6 'next Tuesday' > > Aren't clients fun! From stuart at lexacorp.com.pg Sat Jan 14 16:40:13 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 15 Jan 2012 08:40:13 +1000 Subject: [AccessD] Friday sort of OT In-Reply-To: References: , <669918C0-9C89-4FDE-85A6-E6918FEF757D@phulse.com>, Message-ID: <4F12044D.21524.6C83E0C@stuart.lexacorp.com.pg> That's been bugging me for a while. The saying is generally attributed to Neils Bohr, not Heisenberg (who was his student). On 14 Jan 2012 at 7:13, Arthur Fuller wrote: > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > > From fuller.artful at gmail.com Sat Jan 14 20:34:42 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 14 Jan 2012 21:34:42 -0500 Subject: [AccessD] New vs. Obsolete Products list Message-ID: A client wants to consolidate her list of products, reducing a rather ungainly list of slightly different variants to a much smaller selection. This occurs in the Transactions table, and the ProductID is presented there as a combobox. I added a field to the Products table, called Obsolete. There is no intention to backfill/correct the existing rows in Transactions, but rather to restrict new Transactions to the Products that are not obsolete. I have created two queries to present these two lists. While the user is browsing existing records, I want the complete list, but when inserting a new row, I want to change the RowSource to the query that hides all the Obsolete products and presents only the revised list. My question is this: on what event should I swap the RowSource? I'm not quite sure how to approach this. Once I decide on which event to use, the rest is simple, but which event is the right one? The code should kick in and swap the RowSource only on entering a new record. TIA, Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr From stuart at lexacorp.com.pg Sat Jan 14 20:50:01 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 15 Jan 2012 12:50:01 +1000 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: References: Message-ID: <4F123ED9.16697.7ACF31C@stuart.lexacorp.com.pg> Before_Insert? Triggered on the first keystroke of a new record. On 14 Jan 2012 at 21:34, Arthur Fuller wrote: > A client wants to consolidate her list of products, reducing a rather > ungainly list of slightly different variants to a much smaller selection. > This occurs in the Transactions table, and the ProductID is presented there > as a combobox. I added a field to the Products table, called Obsolete. > There is no intention to backfill/correct the existing rows in > Transactions, but rather to restrict new Transactions to the Products that > are not obsolete. I have created two queries to present these two lists. > While the user is browsing existing records, I want the complete list, but > when inserting a new row, I want to change the RowSource to the query that > hides all the Obsolete products and presents only the revised list. > > My question is this: on what event should I swap the RowSource? I'm not > quite sure how to approach this. Once I decide on which event to use, the > rest is simple, but which event is the right one? The code should kick in > and swap the RowSource only on entering a new record. > > TIA, > Arthur > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Neils Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sat Jan 14 21:35:51 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 14 Jan 2012 22:35:51 -0500 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: <4F123ED9.16697.7ACF31C@stuart.lexacorp.com.pg> References: <4F123ED9.16697.7ACF31C@stuart.lexacorp.com.pg> Message-ID: Perfect. I suspected that but wanted confirmation. The "first keystroke" part convinced me. Thanks. On Sat, Jan 14, 2012 at 9:50 PM, Stuart McLachlan wrote: > Before_Insert? Triggered on the first keystroke of a new record. > > > Prediction is difficult, especially of the future. > > -- Neils Bohr > > -- > From jwcolby at colbyconsulting.com Sat Jan 14 21:51:52 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 14 Jan 2012 22:51:52 -0500 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: References: Message-ID: <4F124D58.8080605@colbyconsulting.com> You need to have the full list the default and the filtered list set in the OnEnter. Swapping it back out is the tricky part because OnExit does not fire if the control is passed off to another form. For this reason LostFocus is used for swapping back in the full list. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/14/2012 9:34 PM, Arthur Fuller wrote: > A client wants to consolidate her list of products, reducing a rather > ungainly list of slightly different variants to a much smaller selection. > This occurs in the Transactions table, and the ProductID is presented there > as a combobox. I added a field to the Products table, called Obsolete. > There is no intention to backfill/correct the existing rows in > Transactions, but rather to restrict new Transactions to the Products that > are not obsolete. I have created two queries to present these two lists. > While the user is browsing existing records, I want the complete list, but > when inserting a new row, I want to change the RowSource to the query that > hides all the Obsolete products and presents only the revised list. > > My question is this: on what event should I swap the RowSource? I'm not > quite sure how to approach this. Once I decide on which event to use, the > rest is simple, but which event is the right one? The code should kick in > and swap the RowSource only on entering a new record. > > TIA, > Arthur > From fuller.artful at gmail.com Sun Jan 15 06:52:36 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 15 Jan 2012 07:52:36 -0500 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: <4F124D58.8080605@colbyconsulting.com> References: <4F124D58.8080605@colbyconsulting.com> Message-ID: Thanks, JC. On Sat, Jan 14, 2012 at 10:51 PM, jwcolby wrote: > You need to have the full list the default and the filtered list set in > the OnEnter. Swapping it back out is the tricky part because OnExit does > not fire if the control is passed off to another form. For this reason > LostFocus is used for swapping back in the full list. > > From df.waters at comcast.net Sun Jan 15 10:26:01 2012 From: df.waters at comcast.net (Dan Waters) Date: Sun, 15 Jan 2012 10:26:01 -0600 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: References: Message-ID: <000901ccd3a2$5f42ae70$1dc80b50$@comcast.net> Hi Arthur, Based on my experience with my users, I would take a slightly different path. I know that what you're setting up, while elegant, would cause questions about how it works too frequently. I would do something on-screen to clearly indicate what the list is showing. This could be two lists; Existing Orders, and Create New Order. Or it could be one list with a couple of buttons with similar labels to select what's going to be showing in the list. My users want me to make their screens simple and mistake proof. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, January 14, 2012 8:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] New vs. Obsolete Products list A client wants to consolidate her list of products, reducing a rather ungainly list of slightly different variants to a much smaller selection. This occurs in the Transactions table, and the ProductID is presented there as a combobox. I added a field to the Products table, called Obsolete. There is no intention to backfill/correct the existing rows in Transactions, but rather to restrict new Transactions to the Products that are not obsolete. I have created two queries to present these two lists. While the user is browsing existing records, I want the complete list, but when inserting a new row, I want to change the RowSource to the query that hides all the Obsolete products and presents only the revised list. My question is this: on what event should I swap the RowSource? I'm not quite sure how to approach this. Once I decide on which event to use, the rest is simple, but which event is the right one? The code should kick in and swap the RowSource only on entering a new record. TIA, Arthur -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr -- 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 Jan 15 11:24:37 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 15 Jan 2012 12:24:37 -0500 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: <000901ccd3a2$5f42ae70$1dc80b50$@comcast.net> References: <000901ccd3a2$5f42ae70$1dc80b50$@comcast.net> Message-ID: That's a good thought, and pretty easy to swap the text in a label at the same time as I swap the RowSource. Thanks for the tip. A. On Sun, Jan 15, 2012 at 11:26 AM, Dan Waters wrote: > Hi Arthur, > > Based on my experience with my users, I would take a slightly different > path. I know that what you're setting up, while elegant, would cause > questions about how it works too frequently. > > I would do something on-screen to clearly indicate what the list is > showing. > This could be two lists; Existing Orders, and Create New Order. Or it > could > be one list with a couple of buttons with similar labels to select what's > going to be showing in the list. > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr From df.waters at comcast.net Sun Jan 15 12:45:12 2012 From: df.waters at comcast.net (Dan Waters) Date: Sun, 15 Jan 2012 12:45:12 -0600 Subject: [AccessD] New vs. Obsolete Products list In-Reply-To: References: <000901ccd3a2$5f42ae70$1dc80b50$@comcast.net> Message-ID: <000d01ccd3b5$d05bf310$7113d930$@comcast.net> Even simpler! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, January 15, 2012 11:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New vs. Obsolete Products list That's a good thought, and pretty easy to swap the text in a label at the same time as I swap the RowSource. Thanks for the tip. A. On Sun, Jan 15, 2012 at 11:26 AM, Dan Waters wrote: > Hi Arthur, > > Based on my experience with my users, I would take a slightly > different path. I know that what you're setting up, while elegant, > would cause questions about how it works too frequently. > > I would do something on-screen to clearly indicate what the list is > showing. > This could be two lists; Existing Orders, and Create New Order. Or it > could be one list with a couple of buttons with similar labels to > select what's going to be showing in the list. > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ab-mi at post3.tele.dk Sun Jan 15 16:55:36 2012 From: ab-mi at post3.tele.dk (Asger Blond) Date: Sun, 15 Jan 2012 23:55:36 +0100 Subject: [AccessD] OT: Counting values In-Reply-To: <000d01ccd3b5$d05bf310$7113d930$@comcast.net> References: <000901ccd3a2$5f42ae70$1dc80b50$@comcast.net> <000d01ccd3b5$d05bf310$7113d930$@comcast.net> Message-ID: <60C0BCD8FB764DC9A170C9B4D4BD96CD@abpc> Arthur's joke about the three kinds of mathematicians (the ones who can count and the ones who can't) has found a new version in a Danish politician recently saying: "There are two kinds of value politics: the one that divides, and the one that unifies." And this politician certainly didn't intend to be witty... /Asger From jwcolby at colbyconsulting.com Mon Jan 16 11:08:38 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 12:08:38 -0500 Subject: [AccessD] True / false in SQL Server Message-ID: <4F145996.6080403@colbyconsulting.com> Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as the default value. These can be bound directly to a check box (for example). Because the default int is a 32 bit number I was just looking to see if I could use a smaller data type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. Is there a signed byte datatype that I am not seeing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Mon Jan 16 12:09:08 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 13:09:08 -0500 Subject: [AccessD] Intentional Denormalize? Message-ID: <4F1467C4.2010402@colbyconsulting.com> As I have discussed in the past, I have a set of about 8 tables (which I call AZData) containing name/address info. This table has just a PKID, FNAMe, LName, Addr, City, St, Zip5, Zip4. I have to maintain these records by sending them out every month for CASS / NCOA processing. I currently process about 350 million name/address records a month. The data always comes from bigger tables which contains demographics data, things like "owns a dog, owns a cat" ('Y'/'N' for each of these fields) or Child age 0-3, 4-7 etc (codes 1,2,or 3 indicating m/f/both). To this point I have always built a separate database to hold the original table with an autonumber PK, then I break the name/address out into the AZData table, linked back to the demographics table by an FK which is the PK in the demographics table. I then process that AZData table monthly. DogsAndCats contains about 11 million records, Kids contains 21 million records and so forth. I did it this way for a couple of reasons, an attempt to keep the physical size of the database down and to some extent simply history - that is the way I started doing this. Well, with 8 databases and 350 million records it is probably time to change. I am considering building a table with the name/addr fields and then a set of fields with an FK pointing back to each database where that name / address can be found. IOW the same name/addr may be in the kids and DogsAndCats table. So there would be a single name/addr record with an FK back to those two demographics tables. I would have a column for each demographics database's PK. This is denormalized, in the sense that as I add a new demographics table I have to add a new column to the name / address table to hold the PK linking records back to that demogr table. I normally consider any case where I have to add a field like this to be "denormalized" - kinda like Child1, Child2. The upside is that suddenly the demographics table link through a single M-M table (which happens to hold the name/addr info as well), which allows a very simple sql statement to determine whether a person with dogs also has kids etc. Any thoughts on the wisdom of denormalizing in this manner? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From bheid at sc.rr.com Mon Jan 16 13:59:37 2012 From: bheid at sc.rr.com (Bobby Heid) Date: Mon, 16 Jan 2012 14:59:37 -0500 Subject: [AccessD] True / false in SQL Server In-Reply-To: <4F145996.6080403@colbyconsulting.com> References: <4F145996.6080403@colbyconsulting.com> Message-ID: <000601ccd489$606ff5e0$214fe1a0$@sc.rr.com> We use the bit data type at work. Either 1 or 0. Your sproc could return -1 for 1 if you like. We are not using access, so 1 for true works out fine for us. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 16, 2012 12:09 PM To: VBA; Access Developers discussion and problem solving Subject: [AccessD] True / false in SQL Server Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as the default value. These can be bound directly to a check box (for example). Because the default int is a 32 bit number I was just looking to see if I could use a smaller data type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. Is there a signed byte datatype that I am not seeing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Jan 16 14:49:48 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 16 Jan 2012 12:49:48 -0800 Subject: [AccessD] Intentional Denormalize? In-Reply-To: <4F1467C4.2010402@colbyconsulting.com> References: <4F1467C4.2010402@colbyconsulting.com> Message-ID: John, You're effectively doing data warehousing and that is typically denormalized through the use of a star schema. If you're not familiar with that, I can recommend Ralph Kimbell's books on data warehousing. In essence, you leave the data where it is and build dimension tables to provide you the indexes you need to get the answers. That involves placing a bunch of specific indexes on the data table that join with the dimension tables for things like dates (a table with full calendar years in it, that includes breakout columns for day, month, quarter, year, etc), and for any other dimensions you need to use, i.e., ethnic group or age range, The dimensions are determined by how you want to slice and dice the data. You build a logical data map through using dimensions, which are not normalized by definition, since, for example, your dates table would have the same Quarter number for 3 months worth of days. The day number would reoccur on different years, as would the month number, which would also repeat for the number of days in that month. It's harder to explain than to understand, but I would strongly suggest it for what you're doing. Charlotte Foust On Mon, Jan 16, 2012 at 10:09 AM, jwcolby wrote: > As I have discussed in the past, I have a set of about 8 tables (which I > call AZData) containing name/address info. This table has just a PKID, > FNAMe, LName, Addr, City, St, Zip5, Zip4. I have to maintain these records > by sending them out every month for CASS / NCOA processing. I currently > process about 350 million name/address records a month. > > The data always comes from bigger tables which contains demographics data, > things like "owns a dog, owns a cat" ('Y'/'N' for each of these fields) or > Child age 0-3, 4-7 etc (codes 1,2,or 3 indicating m/f/both). > > To this point I have always built a separate database to hold the original > table with an autonumber PK, then I break the name/address out into the > AZData table, linked back to the demographics table by an FK which is the > PK in the demographics table. I then process that AZData table monthly. > DogsAndCats contains about 11 million records, Kids contains 21 million > records and so forth. I did it this way for a couple of reasons, an > attempt to keep the physical size of the database down and to some extent > simply history - that is the way I started doing this. > > Well, with 8 databases and 350 million records it is probably time to > change. I am considering building a table with the name/addr fields and > then a set of fields with an FK pointing back to each database where that > name / address can be found. IOW the same name/addr may be in the kids and > DogsAndCats table. So there would be a single name/addr record with an FK > back to those two demographics tables. > > I would have a column for each demographics database's PK. This is > denormalized, in the sense that as I add a new demographics table I have to > add a new column to the name / address table to hold the PK linking records > back to that demogr table. I normally consider any case where I have to > add a field like this to be "denormalized" - kinda like Child1, Child2. > > The upside is that suddenly the demographics table link through a single > M-M table (which happens to hold the name/addr info as well), which allows > a very simple sql statement to determine whether a person with dogs also > has kids etc. > > Any thoughts on the wisdom of denormalizing in this manner? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From ssharkins at gmail.com Mon Jan 16 16:30:11 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 16 Jan 2012 17:30:11 -0500 Subject: [AccessD] Simple record-level validation rule Message-ID: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> I thought I could write a validation rule (table level) that would check overtime values. If hours worked is less than 40, overtime must be 0. I can't figure it out. Can I do this? Susan H. From steve at datamanagementsolutions.biz Mon Jan 16 16:52:19 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 17 Jan 2012 11:52:19 +1300 Subject: [AccessD] Simple record-level validation rule In-Reply-To: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> Message-ID: Hi Susan Does this do what you want? [overtime]=0 Or [hours worked]>40 Regards Steve -----Original Message----- From: Susan Harkins Sent: Tuesday, January 17, 2012 11:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Simple record-level validation rule I thought I could write a validation rule (table level) that would check overtime values. If hours worked is less than 40, overtime must be 0. I can't figure it out. Can I do this? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Jan 16 16:52:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 17 Jan 2012 08:52:09 +1000 Subject: [AccessD] True / false in SQL Server In-Reply-To: <4F145996.6080403@colbyconsulting.com> References: <4F145996.6080403@colbyconsulting.com> Message-ID: <4F14AA19.26626.111FE8C2@stuart.lexacorp.com.pg> Nope, smallint is the smallest signed integer. On 16 Jan 2012 at 12:08, jwcolby wrote: > Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as > the default value. These can be bound directly to a check box (for example). > > Because the default int is a 32 bit number I was just looking to see if I could use a smaller data > type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. > Is there a signed byte datatype that I am not seeing? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From ssharkins at gmail.com Mon Jan 16 17:03:04 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 16 Jan 2012 18:03:04 -0500 Subject: [AccessD] Simple record-level validation rule References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> Message-ID: No, I tried something similar too. Susan H. > Hi Susan > > Does this do what you want? > [overtime]=0 Or [hours worked]>40 > > Regards From ssharkins at gmail.com Mon Jan 16 17:09:55 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 16 Jan 2012 18:09:55 -0500 Subject: [AccessD] Go it... Re: Simple record-level validation rule Message-ID: ([overtime]<0) Or ([hours]=40) Thanks! Susan H. > No, I tried something similar too. > > Susan H. > > >> Hi Susan >> >> Does this do what you want? >> [overtime]=0 Or [hours worked]>40 >> >> Regards > From ssharkins at gmail.com Mon Jan 16 17:17:26 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 16 Jan 2012 18:17:26 -0500 Subject: [AccessD] Go it... Re: Simple record-level validation rule References: Message-ID: <1074768808404BEEB0C277BF6D1EECA9@SusanHarkins> Shoot!!! ([overtime]=0) Or ([hours]=40) I'm still kind of puzzling out how it works, but it does -- so far. I guess it's that 40 cutoff that was confusing me -- the only way you'll have an overtime value is if hours is exactly 40 -- so it makes a bit more sense to me now. I was hung up on the less thans and greater thans. Susan H. > ([overtime]<0) Or ([hours]=40) > > Thanks! > Susan H. > >> No, I tried something similar too. Susan H. >>> Hi Susan >>> >>> Does this do what you want? >>> [overtime]=0 Or [hours worked]>40 >>> >>> Regards >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bill_patten at embarqmail.com Mon Jan 16 17:42:59 2012 From: bill_patten at embarqmail.com (Bill Patten) Date: Mon, 16 Jan 2012 15:42:59 -0800 Subject: [AccessD] Go it... Re: Simple record-level validation rule In-Reply-To: <1074768808404BEEB0C277BF6D1EECA9@SusanHarkins> References: <1074768808404BEEB0C277BF6D1EECA9@SusanHarkins> Message-ID: <564396FA0AA146ADBA7532988EFC5212@BPCS> Hi Susan, Since it would appear that they do not get OT until they have worked 40 hours I would use if Hours <= 40 then OT = 0 Course some states and employers pay over time if they work more than 8 hours in a day and you need a more complex formula for that. Bill -------------------------------------------------- From: "Susan Harkins" Sent: Monday, January 16, 2012 3:17 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Go it... Re: Simple record-level validation rule Shoot!!! ([overtime]=0) Or ([hours]=40) I'm still kind of puzzling out how it works, but it does -- so far. I guess it's that 40 cutoff that was confusing me -- the only way you'll have an overtime value is if hours is exactly 40 -- so it makes a bit more sense to me now. I was hung up on the less thans and greater thans. Susan H. > ([overtime]<0) Or ([hours]=40) > > Thanks! > Susan H. > >> No, I tried something similar too. Susan H. >>> Hi Susan >>> >>> Does this do what you want? >>> [overtime]=0 Or [hours worked]>40 >>> >>> Regards >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 16 17:43:08 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 16 Jan 2012 18:43:08 -0500 Subject: [AccessD] Simple record-level validation rule In-Reply-To: References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> Message-ID: Of course that can't work. The part after the OR resolves to a Boolean. What you want is more like this: [overtime]=Iif( [hours worked]>40, [hours worked] - 40, 0) HTH, On Mon, Jan 16, 2012 at 6:03 PM, Susan Harkins wrote: > No, I tried something similar too. > Susan H. > > Hi Susan >> >> Does this do what you want? >> [overtime]=0 Or [hours worked]>40 >> >> Regards >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr From steve at datamanagementsolutions.biz Mon Jan 16 17:50:20 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 17 Jan 2012 12:50:20 +1300 Subject: [AccessD] Simple record-level validation rule In-Reply-To: References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> Message-ID: <36671D8CF3D343C7A4DD0AD724CD62F4@stevelaptop> Arthur This is a Validation Rule ... it's *supposed* to resolve to a Boolean. :) Regards Steve -----Original Message----- From: Arthur Fuller Sent: Tuesday, January 17, 2012 12:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Simple record-level validation rule Of course that can't work. The part after the OR resolves to a Boolean. What you want is more like this: [overtime]=Iif( [hours worked]>40, [hours worked] - 40, 0) HTH, On Mon, Jan 16, 2012 at 6:03 PM, Susan Harkins wrote: > No, I tried something similar too. > Susan H. > > Hi Susan >> >> Does this do what you want? >> [overtime]=0 Or [hours worked]>40 >> >> Regards >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: > http://www.databaseadvisors.**com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at datamanagementsolutions.biz Mon Jan 16 17:53:12 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 17 Jan 2012 12:53:12 +1300 Subject: [AccessD] Go it... Re: Simple record-level validation rule In-Reply-To: <1074768808404BEEB0C277BF6D1EECA9@SusanHarkins> References: <1074768808404BEEB0C277BF6D1EECA9@SusanHarkins> Message-ID: <365CE73D7A964801AE126F2FB41B2350@stevelaptop> Hi Susan Ah, ok. I had originally assumed that your Hours field would be total hours including overtime. If it's non-overtime hours, and goes to a max of 40 before the overtime kicks in, then that now looks right: [overtime]=0 Or [hours]=40 Regards Steve -----Original Message----- From: Susan Harkins Sent: Tuesday, January 17, 2012 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Go it... Re: Simple record-level validation rule Shoot!!! ([overtime]=0) Or ([hours]=40) I'm still kind of puzzling out how it works, but it does -- so far. I guess it's that 40 cutoff that was confusing me -- the only way you'll have an overtime value is if hours is exactly 40 -- so it makes a bit more sense to me now. I was hung up on the less thans and greater thans. Susan H. > ([overtime]<0) Or ([hours]=40) > > Thanks! > Susan H. > >> No, I tried something similar too. Susan H. >>> Hi Susan >>> >>> Does this do what you want? >>> [overtime]=0 Or [hours worked]>40 >>> >>> Regards >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 16 17:57:10 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 16 Jan 2012 18:57:10 -0500 Subject: [AccessD] Simple record-level validation rule In-Reply-To: <36671D8CF3D343C7A4DD0AD724CD62F4@stevelaptop> References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> <36671D8CF3D343C7A4DD0AD724CD62F4@stevelaptop> Message-ID: But why is it trying to assign the result to the Overtime field? On Mon, Jan 16, 2012 at 6:50 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Arthur > > This is a Validation Rule ... it's *supposed* to resolve to a Boolean. :) > > Regards > Steve > > From steve at datamanagementsolutions.biz Mon Jan 16 18:15:47 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 17 Jan 2012 13:15:47 +1300 Subject: [AccessD] Simple record-level validation rule In-Reply-To: References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins><36671D8CF3D343C7A4DD0AD724CD62F4@stevelaptop> Message-ID: <65DD55D71BA34A55B2539507452EC10F@stevelaptop> Hi Arthur It isn't trying to assign any result. The Rule that Susan ended up with is: [overtime]=0 Or [hours]=40 That's a total expression that evaluates to True or False. ([overtime]=0 Or [hours]=40) It's True if [overtime]=0, or if [hours]=40. It's False with other combinations of values for these two fields, the Validation Rule fails, and presumably a Validation Text is shown. So in practice (as I understand it) the Rule will evaluate to False if: [overtime]>0 And [hours]<40 Regards Steve -----Original Message----- From: Arthur Fuller Sent: Tuesday, January 17, 2012 12:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Simple record-level validation rule But why is it trying to assign the result to the Overtime field? On Mon, Jan 16, 2012 at 6:50 PM, Steve Schapel < steve at datamanagementsolutions.biz> wrote: > Arthur > > This is a Validation Rule ... it's *supposed* to resolve to a Boolean. :) > > Regards > Steve > From vbacreations at gmail.com Tue Jan 17 01:14:30 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 17 Jan 2012 02:14:30 -0500 Subject: [AccessD] DLookup across databases Message-ID: Hi, I was able to get a foreign table's recordcount with this ?currentdb.OpenRecordset("Select Count(Site_DB) from [Tbl_GIB] in 'D:\Documents and Settings\502001258\Desktop\DB\Data.accdb'").Fields(0).Value Is there a way to get DCOUNT to work instead? I tried ?DCount("Site_DB", "[Tbl_GIB] in 'D:\Documents and Settings\502001258\Desktop\DB\Data.accdb'") but got a runtime error From fuller.artful at gmail.com Tue Jan 17 06:11:57 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 17 Jan 2012 07:11:57 -0500 Subject: [AccessD] Simple record-level validation rule In-Reply-To: <65DD55D71BA34A55B2539507452EC10F@stevelaptop> References: <50051A07B840438AB6C07520AAD6744C@SusanHarkins> <36671D8CF3D343C7A4DD0AD724CD62F4@stevelaptop> <65DD55D71BA34A55B2539507452EC10F@stevelaptop> Message-ID: Gotcha. Thanks. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Neils Bohr From tom053 at gmail.com Tue Jan 17 07:58:09 2012 From: tom053 at gmail.com (Tom Zal) Date: Tue, 17 Jan 2012 08:58:09 -0500 Subject: [AccessD] current record of form being reset, can't find the cause Message-ID: Hi - I have a puzzle I can't solve. I'm working on a project that involves a form (for layout only, no recordsource) with a datasheet subform. When the user applies or removes a filter or sort on the subform, I want the current record to remain the same. Access default behavior seems to be to lose the current record. I have a function to save the value of a field of the current record in the ApplyFilter event, and a function to then look up that record using recordsetclone and findfirst in the next Current event and make it the current record with .bookmark. (If you have a better method to suggest that would be great.) (When the bookmark restores the record, it fires the Current event again, but a local variable there has now been set so no recursive loop happens) This actually works fine for applying and removing sorts and removing filters. However when applying a filter, although the current record is restored, as I can see by single stepping through the code, after the process finishes, something changes the record to the first record. The Current event is fired by this change and when I look at the call stack there, there is nothing but the OnCurrent function of the form. I think this means that my code did not change the record? I created a new little database with a table, query, and datasheet form, and the same function for the same events, and everything works fine there, the current record is restored in all cases. Does anybody have any thoughts about what may be happening? I know there's probably not enough info here to identify the problem, but any ideas would be appreciated. From Lambert.Heenan at chartisinsurance.com Tue Jan 17 08:15:53 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 17 Jan 2012 09:15:53 -0500 Subject: [AccessD] FW: My keyboard In-Reply-To: References: <53F6500ACC0F4A80A677277C51AAC08D@HAL9007> <93D10F008B998B4A83BCA855A33EEF37010633@cinmldgcna02.e2k.ad.ge.com> <86FCBAA6F4D5449B922DE88084BCD9B5@SusanHarkins> Message-ID: Pax! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Saturday, January 14, 2012 12:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: My keyboard Are you that thick as to think I was that thick?? ;) On Jan 13, 2012 12:11 PM, "Heenan, Lambert" < Lambert.Heenan at chartisinsurance.com> wrote: > The expression 'Happy as a pig in a shirt' is completely meaningless. > Just a way of avoiding the fact that real old Anglo Saxon words are > out there (well Middle English / Middle Dutch / Old High German, take your pick. > > Also, who made up the rule that using an asterisk in written English > is supposed to be interpreted as a late 20th century / early 21st > computer operating system wild card? > > The 'Happy as a pig in sh*t' sentiment is thoroughly well documented. > Try this for one... > http://tinyurl.com/7zjojxd > > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Friday, January 13, 2012 11:43 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: My keyboard > > If you put a star there then the characters can be anything. > > If you insist on being crass but hiding behind a wildcard you must > write > > Pig in sh?t > > My dear Susan... > > ;) > On Jan 13, 2012 11:39 AM, "Susan Harkins" wrote: > > > Happy as a pig in sh*t. > > > > What do I win? :) > > > > Now, the expression I like the most, I learned from my dad -- you > > can't kick sh*t without getting some on your shoes. Words to live by. > > :) > > > > Susan H. > > > > > > I think the expression is Happy as a Pig in a Shirt. > >> > >> > >> I've done that as well and users really like that. But the F-Lock > >> key was the answer and he was happy as a pig in dirt with that. > >> > >> R > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > se advisors.com/mailman/listinfo/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 Tue Jan 17 08:51:07 2012 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Tue, 17 Jan 2012 07:51:07 -0700 Subject: [AccessD] current record of form being reset, can't find the cause Message-ID: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Tom: I use the same findfirst/bookmark method to set the focus on the record that had it before a filter was applied, or more often, after a requery. I would just move that code to a function, and call it from whereever in the code you set the filter instead of using the ApplyFilter event. Also, with a function, it will be easy to move the call around in your code to see where it best works. You could set the function up to both save the current record value and return to it by passing it the PK (or whatever you're using) and a flag to tell the function whether to save or restore. HTH Rocky -------- Original Message -------- Subject: [AccessD] current record of form being reset, can't find the cause From: Tom Zal Date: Tue, January 17, 2012 6:58 am To: Access Developers discussion and problem solving Hi - I have a puzzle I can't solve. I'm working on a project that involves a form (for layout only, no recordsource) with a datasheet subform. When the user applies or removes a filter or sort on the subform, I want the current record to remain the same. Access default behavior seems to be to lose the current record. I have a function to save the value of a field of the current record in the ApplyFilter event, and a function to then look up that record using recordsetclone and findfirst in the next Current event and make it the current record with .bookmark. (If you have a better method to suggest that would be great.) (When the bookmark restores the record, it fires the Current event again, but a local variable there has now been set so no recursive loop happens) This actually works fine for applying and removing sorts and removing filters. However when applying a filter, although the current record is restored, as I can see by single stepping through the code, after the process finishes, something changes the record to the first record. The Current event is fired by this change and when I look at the call stack there, there is nothing but the OnCurrent function of the form. I think this means that my code did not change the record? I created a new little database with a table, query, and datasheet form, and the same function for the same events, and everything works fine there, the current record is restored in all cases. Does anybody have any thoughts about what may be happening? I know there's probably not enough info here to identify the problem, but any ideas would be appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom053 at gmail.com Tue Jan 17 09:52:12 2012 From: tom053 at gmail.com (Tom Zal) Date: Tue, 17 Jan 2012 10:52:12 -0500 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: Thanks Rocky The code is not setting the filter, the user is, that's why I'm using the ApplyFilter event. I do have a function with similar functionality for requeries that saves the key, does the requery, and restores the current record. I broke it into 2 functions (get and set) for the filter case. I would have liked to do it the same way as for requeries, but as far as I can tell, I have to save the key in the ApplyFilter event, and I can't restore the record in that event, because the filter hasn't been applied yet. If I'm wrong about this please let me know. On Tue, Jan 17, 2012 at 9:51 AM, wrote: > Tom: > > I use the same findfirst/bookmark method to set the focus on the record > that had it before a filter was applied, or more often, after a requery. > > > I would just move that code to a function, and call it from whereever in > the code you set the filter instead of using the ApplyFilter event. > Also, with a function, it will be easy to move the call around in your > code to see where it best works. You could set the function up to both > save the current record value and return to it by passing it the PK (or > whatever you're using) and a flag to tell the function whether to save > or restore. > > HTH > > Rocky > > > > -------- Original Message -------- > Subject: [AccessD] current record of form being reset, can't find the > cause > From: Tom Zal > Date: Tue, January 17, 2012 6:58 am > To: Access Developers discussion and problem solving > > > Hi - I have a puzzle I can't solve. I'm working on a project that > involves > a form (for layout only, no recordsource) with a datasheet subform. When > the user applies or removes a filter or sort on the subform, I want the > current record to remain the same. Access default behavior seems to be > to > lose the current record. I have a function to save the value of a field > of > the current record in the ApplyFilter event, and a function to then look > up > that record using recordsetclone and findfirst in the next Current event > and make it the current record with .bookmark. (If you have a better > method > to suggest that would be great.) > > (When the bookmark restores the record, it fires the Current event > again, > but a local variable there has now been set so no recursive loop > happens) > > This actually works fine for applying and removing sorts and removing > filters. However when applying a filter, although the current record is > restored, as I can see by single stepping through the code, after the > process finishes, something changes the record to the first record. The > Current event is fired by this change and when I look at the call stack > there, there is nothing but the OnCurrent function of the form. I think > this means that my code did not change the record? > > I created a new little database with a table, query, and datasheet form, > and the same function for the same events, and everything works fine > there, > the current record is restored in all cases. > > Does anybody have any thoughts about what may be happening? I know > there's > probably not enough info here to identify the problem, but any ideas > would > be appreciated. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Jan 17 11:15:33 2012 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Tue, 17 Jan 2012 10:15:33 -0700 Subject: [AccessD] current record of form being reset, can't find the cause Message-ID: <20120117101533.86c3debdd1c3983866efe200e2feb95f.679630757b.wbe@email18.secureserver.net> Not sure. but I think you're right. I don't let users use the filter - I give them text or combo boxes to enter filtering parameters then change the filter property in code. I can think of a couple ways around this - a kludgey way and an extra-kludgey way. I think someone else on the list will have a better solution for you Rocky -------- Original Message -------- Subject: Re: [AccessD] current record of form being reset, can't find the cause From: Tom Zal Date: Tue, January 17, 2012 8:52 am To: Access Developers discussion and problem solving Thanks Rocky The code is not setting the filter, the user is, that's why I'm using the ApplyFilter event. I do have a function with similar functionality for requeries that saves the key, does the requery, and restores the current record. I broke it into 2 functions (get and set) for the filter case. I would have liked to do it the same way as for requeries, but as far as I can tell, I have to save the key in the ApplyFilter event, and I can't restore the record in that event, because the filter hasn't been applied yet. If I'm wrong about this please let me know. On Tue, Jan 17, 2012 at 9:51 AM, wrote: > Tom: > > I use the same findfirst/bookmark method to set the focus on the record > that had it before a filter was applied, or more often, after a requery. > > > I would just move that code to a function, and call it from whereever in > the code you set the filter instead of using the ApplyFilter event. > Also, with a function, it will be easy to move the call around in your > code to see where it best works. You could set the function up to both > save the current record value and return to it by passing it the PK (or > whatever you're using) and a flag to tell the function whether to save > or restore. > > HTH > > Rocky > > > > -------- Original Message -------- > Subject: [AccessD] current record of form being reset, can't find the > cause > From: Tom Zal > Date: Tue, January 17, 2012 6:58 am > To: Access Developers discussion and problem solving > > > Hi - I have a puzzle I can't solve. I'm working on a project that > involves > a form (for layout only, no recordsource) with a datasheet subform. When > the user applies or removes a filter or sort on the subform, I want the > current record to remain the same. Access default behavior seems to be > to > lose the current record. I have a function to save the value of a field > of > the current record in the ApplyFilter event, and a function to then look > up > that record using recordsetclone and findfirst in the next Current event > and make it the current record with .bookmark. (If you have a better > method > to suggest that would be great.) > > (When the bookmark restores the record, it fires the Current event > again, > but a local variable there has now been set so no recursive loop > happens) > > This actually works fine for applying and removing sorts and removing > filters. However when applying a filter, although the current record is > restored, as I can see by single stepping through the code, after the > process finishes, something changes the record to the first record. The > Current event is fired by this change and when I look at the call stack > there, there is nothing but the OnCurrent function of the form. I think > this means that my code did not change the record? > > I created a new little database with a table, query, and datasheet form, > and the same function for the same events, and everything works fine > there, > the current record is restored in all cases. > > Does anybody have any thoughts about what may be happening? I know > there's > probably not enough info here to identify the problem, but any ideas > would > be appreciated. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Tue Jan 17 13:38:51 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 17 Jan 2012 11:38:51 -0800 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: When you use the filter, you're actually creating a new recordset based on the original but containing only the filtered records, so you can't use a bookmark with a filter because its scope is on the original recordset, not the filtered recordset. I wonder if you could grab the filter string itself, as well as the record key and then cancel the ApplyFilter and use VBA to set the filter and the record from code? I haven't tried it, but it seems reasonable. Charlotte Foust On Tue, Jan 17, 2012 at 7:52 AM, Tom Zal wrote: > Thanks Rocky > > The code is not setting the filter, the user is, that's why I'm using the > ApplyFilter event. > > I do have a function with similar functionality for requeries that saves > the key, does the requery, and restores the current record. > > I broke it into 2 functions (get and set) for the filter case. I would have > liked to do it the same way as for requeries, but as far as I can tell, I > have to save the key in the ApplyFilter event, and I can't restore the > record in that event, because the filter hasn't been applied yet. If I'm > wrong about this please let me know. > > On Tue, Jan 17, 2012 at 9:51 AM, wrote: > > > Tom: > > > > I use the same findfirst/bookmark method to set the focus on the record > > that had it before a filter was applied, or more often, after a requery. > > > > > > I would just move that code to a function, and call it from whereever in > > the code you set the filter instead of using the ApplyFilter event. > > Also, with a function, it will be easy to move the call around in your > > code to see where it best works. You could set the function up to both > > save the current record value and return to it by passing it the PK (or > > whatever you're using) and a flag to tell the function whether to save > > or restore. > > > > HTH > > > > Rocky > > > > > > > > -------- Original Message -------- > > Subject: [AccessD] current record of form being reset, can't find the > > cause > > From: Tom Zal > > Date: Tue, January 17, 2012 6:58 am > > To: Access Developers discussion and problem solving > > > > > > Hi - I have a puzzle I can't solve. I'm working on a project that > > involves > > a form (for layout only, no recordsource) with a datasheet subform. When > > the user applies or removes a filter or sort on the subform, I want the > > current record to remain the same. Access default behavior seems to be > > to > > lose the current record. I have a function to save the value of a field > > of > > the current record in the ApplyFilter event, and a function to then look > > up > > that record using recordsetclone and findfirst in the next Current event > > and make it the current record with .bookmark. (If you have a better > > method > > to suggest that would be great.) > > > > (When the bookmark restores the record, it fires the Current event > > again, > > but a local variable there has now been set so no recursive loop > > happens) > > > > This actually works fine for applying and removing sorts and removing > > filters. However when applying a filter, although the current record is > > restored, as I can see by single stepping through the code, after the > > process finishes, something changes the record to the first record. The > > Current event is fired by this change and when I look at the call stack > > there, there is nothing but the OnCurrent function of the form. I think > > this means that my code did not change the record? > > > > I created a new little database with a table, query, and datasheet form, > > and the same function for the same events, and everything works fine > > there, > > the current record is restored in all cases. > > > > Does anybody have any thoughts about what may be happening? I know > > there's > > probably not enough info here to identify the problem, but any ideas > > would > > be appreciated. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 fuller.artful at gmail.com Tue Jan 17 15:43:55 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 17 Jan 2012 16:43:55 -0500 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: My thought would be to grab the PK of the current record before setting the filter, then do a Find on that once the filter is set. This, it seems to me, has the advantage of dealing with the possibility that the current record is not in the filtered recordset, in which case you could go to the first record instead. On Tue, Jan 17, 2012 at 2:38 PM, Charlotte Foust wrote: > When you use the filter, you're actually creating a new recordset based on > the original but containing only the filtered records, so you can't use a > bookmark with a filter because its scope is on the original recordset, not > the filtered recordset. I wonder if you could grab the filter string > itself, as well as the record key and then cancel the ApplyFilter and use > VBA to set the filter and the record from code? I haven't tried it, but it > seems reasonable. > > Charlotte Foust > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From vbacreations at gmail.com Tue Jan 17 15:59:35 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 17 Jan 2012 16:59:35 -0500 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: Charlotte I am sure (which doesn't make me correct) that recordsetclone shrinks or expands in size as the form is filtered, and reorders itself when the form records are sorted. I have used Frm.bookmark = rst.bookmark On filtered forms and prepositioned them with no problem before. On Jan 17, 2012 2:41 PM, "Charlotte Foust" wrote: > > When you use the filter, you're actually creating a new recordset based on > the original but containing only the filtered records, so you can't use a > bookmark with a filter because its scope is on the original recordset, not > the filtered recordset. I wonder if you could grab the filter string > itself, as well as the record key and then cancel the ApplyFilter and use > VBA to set the filter and the record from code? I haven't tried it, but it > seems reasonable. > > Charlotte Foust > > On Tue, Jan 17, 2012 at 7:52 AM, Tom Zal wrote: > > > Thanks Rocky > > > > The code is not setting the filter, the user is, that's why I'm using the > > ApplyFilter event. > > > > I do have a function with similar functionality for requeries that saves > > the key, does the requery, and restores the current record. > > > > I broke it into 2 functions (get and set) for the filter case. I would have > > liked to do it the same way as for requeries, but as far as I can tell, I > > have to save the key in the ApplyFilter event, and I can't restore the > > record in that event, because the filter hasn't been applied yet. If I'm > > wrong about this please let me know. > > > > On Tue, Jan 17, 2012 at 9:51 AM, wrote: > > > > > Tom: > > > > > > I use the same findfirst/bookmark method to set the focus on the record > > > that had it before a filter was applied, or more often, after a requery. > > > > > > > > > I would just move that code to a function, and call it from whereever in > > > the code you set the filter instead of using the ApplyFilter event. > > > Also, with a function, it will be easy to move the call around in your > > > code to see where it best works. You could set the function up to both > > > save the current record value and return to it by passing it the PK (or > > > whatever you're using) and a flag to tell the function whether to save > > > or restore. > > > > > > HTH > > > > > > Rocky > > > > > > > > > > > > -------- Original Message -------- > > > Subject: [AccessD] current record of form being reset, can't find the > > > cause > > > From: Tom Zal > > > Date: Tue, January 17, 2012 6:58 am > > > To: Access Developers discussion and problem solving > > > > > > > > > Hi - I have a puzzle I can't solve. I'm working on a project that > > > involves > > > a form (for layout only, no recordsource) with a datasheet subform. When > > > the user applies or removes a filter or sort on the subform, I want the > > > current record to remain the same. Access default behavior seems to be > > > to > > > lose the current record. I have a function to save the value of a field > > > of > > > the current record in the ApplyFilter event, and a function to then look > > > up > > > that record using recordsetclone and findfirst in the next Current event > > > and make it the current record with .bookmark. (If you have a better > > > method > > > to suggest that would be great.) > > > > > > (When the bookmark restores the record, it fires the Current event > > > again, > > > but a local variable there has now been set so no recursive loop > > > happens) > > > > > > This actually works fine for applying and removing sorts and removing > > > filters. However when applying a filter, although the current record is > > > restored, as I can see by single stepping through the code, after the > > > process finishes, something changes the record to the first record. The > > > Current event is fired by this change and when I look at the call stack > > > there, there is nothing but the OnCurrent function of the form. I think > > > this means that my code did not change the record? > > > > > > I created a new little database with a table, query, and datasheet form, > > > and the same function for the same events, and everything works fine > > > there, > > > the current record is restored in all cases. > > > > > > Does anybody have any thoughts about what may be happening? I know > > > there's > > > probably not enough info here to identify the problem, but any ideas > > > would > > > be appreciated. > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/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 vbacreations at gmail.com Tue Jan 17 16:00:44 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 17 Jan 2012 17:00:44 -0500 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: Repositioned. Rst was the recordsetclone (I didn't make that necessarily clear) On Jan 17, 2012 4:59 PM, "William Benson" wrote: > Charlotte I am sure (which doesn't make me correct) that recordsetclone > shrinks or expands in size as the form is filtered, and reorders itself > when the form records are sorted. > > I have used > > Frm.bookmark = rst.bookmark > > On filtered forms and prepositioned them with no problem before. > > On Jan 17, 2012 2:41 PM, "Charlotte Foust" > wrote: > > > > When you use the filter, you're actually creating a new recordset based > on > > the original but containing only the filtered records, so you can't use a > > bookmark with a filter because its scope is on the original recordset, > not > > the filtered recordset. I wonder if you could grab the filter string > > itself, as well as the record key and then cancel the ApplyFilter and use > > VBA to set the filter and the record from code? I haven't tried it, but > it > > seems reasonable. > > > > Charlotte Foust > > > > On Tue, Jan 17, 2012 at 7:52 AM, Tom Zal wrote: > > > > > Thanks Rocky > > > > > > The code is not setting the filter, the user is, that's why I'm using > the > > > ApplyFilter event. > > > > > > I do have a function with similar functionality for requeries that > saves > > > the key, does the requery, and restores the current record. > > > > > > I broke it into 2 functions (get and set) for the filter case. I would > have > > > liked to do it the same way as for requeries, but as far as I can > tell, I > > > have to save the key in the ApplyFilter event, and I can't restore the > > > record in that event, because the filter hasn't been applied yet. If > I'm > > > wrong about this please let me know. > > > > > > On Tue, Jan 17, 2012 at 9:51 AM, wrote: > > > > > > > Tom: > > > > > > > > I use the same findfirst/bookmark method to set the focus on the > record > > > > that had it before a filter was applied, or more often, after a > requery. > > > > > > > > > > > > I would just move that code to a function, and call it from > whereever in > > > > the code you set the filter instead of using the ApplyFilter event. > > > > Also, with a function, it will be easy to move the call around in > your > > > > code to see where it best works. You could set the function up to > both > > > > save the current record value and return to it by passing it the PK > (or > > > > whatever you're using) and a flag to tell the function whether to > save > > > > or restore. > > > > > > > > HTH > > > > > > > > Rocky > > > > > > > > > > > > > > > > -------- Original Message -------- > > > > Subject: [AccessD] current record of form being reset, can't find the > > > > cause > > > > From: Tom Zal > > > > Date: Tue, January 17, 2012 6:58 am > > > > To: Access Developers discussion and problem solving > > > > > > > > > > > > Hi - I have a puzzle I can't solve. I'm working on a project that > > > > involves > > > > a form (for layout only, no recordsource) with a datasheet subform. > When > > > > the user applies or removes a filter or sort on the subform, I want > the > > > > current record to remain the same. Access default behavior seems to > be > > > > to > > > > lose the current record. I have a function to save the value of a > field > > > > of > > > > the current record in the ApplyFilter event, and a function to then > look > > > > up > > > > that record using recordsetclone and findfirst in the next Current > event > > > > and make it the current record with .bookmark. (If you have a better > > > > method > > > > to suggest that would be great.) > > > > > > > > (When the bookmark restores the record, it fires the Current event > > > > again, > > > > but a local variable there has now been set so no recursive loop > > > > happens) > > > > > > > > This actually works fine for applying and removing sorts and removing > > > > filters. However when applying a filter, although the current record > is > > > > restored, as I can see by single stepping through the code, after the > > > > process finishes, something changes the record to the first record. > The > > > > Current event is fired by this change and when I look at the call > stack > > > > there, there is nothing but the OnCurrent function of the form. I > think > > > > this means that my code did not change the record? > > > > > > > > I created a new little database with a table, query, and datasheet > form, > > > > and the same function for the same events, and everything works fine > > > > there, > > > > the current record is restored in all cases. > > > > > > > > Does anybody have any thoughts about what may be happening? I know > > > > there's > > > > probably not enough info here to identify the problem, but any ideas > > > > would > > > > be appreciated. > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/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 Tue Jan 17 16:37:56 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 17 Jan 2012 14:37:56 -0800 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: True, but I working with VB.Net for 5 years, I didn't think of that detail. When I was working with it, I did not find bookmarks to carry over, so perhaps that's something that changed between versions somewhere along the way? Charlotte Foust On Tue, Jan 17, 2012 at 1:59 PM, William Benson wrote: > Charlotte I am sure (which doesn't make me correct) that recordsetclone > shrinks or expands in size as the form is filtered, and reorders itself > when the form records are sorted. > > I have used > > Frm.bookmark = rst.bookmark > > On filtered forms and prepositioned them with no problem before. > > On Jan 17, 2012 2:41 PM, "Charlotte Foust" > wrote: > > > > When you use the filter, you're actually creating a new recordset based > on > > the original but containing only the filtered records, so you can't use a > > bookmark with a filter because its scope is on the original recordset, > not > > the filtered recordset. I wonder if you could grab the filter string > > itself, as well as the record key and then cancel the ApplyFilter and use > > VBA to set the filter and the record from code? I haven't tried it, but > it > > seems reasonable. > > > > Charlotte Foust > > > > On Tue, Jan 17, 2012 at 7:52 AM, Tom Zal wrote: > > > > > Thanks Rocky > > > > > > The code is not setting the filter, the user is, that's why I'm using > the > > > ApplyFilter event. > > > > > > I do have a function with similar functionality for requeries that > saves > > > the key, does the requery, and restores the current record. > > > > > > I broke it into 2 functions (get and set) for the filter case. I would > have > > > liked to do it the same way as for requeries, but as far as I can tell, > I > > > have to save the key in the ApplyFilter event, and I can't restore the > > > record in that event, because the filter hasn't been applied yet. If > I'm > > > wrong about this please let me know. > > > > > > On Tue, Jan 17, 2012 at 9:51 AM, wrote: > > > > > > > Tom: > > > > > > > > I use the same findfirst/bookmark method to set the focus on the > record > > > > that had it before a filter was applied, or more often, after a > requery. > > > > > > > > > > > > I would just move that code to a function, and call it from whereever > in > > > > the code you set the filter instead of using the ApplyFilter event. > > > > Also, with a function, it will be easy to move the call around in > your > > > > code to see where it best works. You could set the function up to > both > > > > save the current record value and return to it by passing it the PK > (or > > > > whatever you're using) and a flag to tell the function whether to > save > > > > or restore. > > > > > > > > HTH > > > > > > > > Rocky > > > > > > > > > > > > > > > > -------- Original Message -------- > > > > Subject: [AccessD] current record of form being reset, can't find the > > > > cause > > > > From: Tom Zal > > > > Date: Tue, January 17, 2012 6:58 am > > > > To: Access Developers discussion and problem solving > > > > > > > > > > > > Hi - I have a puzzle I can't solve. I'm working on a project that > > > > involves > > > > a form (for layout only, no recordsource) with a datasheet subform. > When > > > > the user applies or removes a filter or sort on the subform, I want > the > > > > current record to remain the same. Access default behavior seems to > be > > > > to > > > > lose the current record. I have a function to save the value of a > field > > > > of > > > > the current record in the ApplyFilter event, and a function to then > look > > > > up > > > > that record using recordsetclone and findfirst in the next Current > event > > > > and make it the current record with .bookmark. (If you have a better > > > > method > > > > to suggest that would be great.) > > > > > > > > (When the bookmark restores the record, it fires the Current event > > > > again, > > > > but a local variable there has now been set so no recursive loop > > > > happens) > > > > > > > > This actually works fine for applying and removing sorts and removing > > > > filters. However when applying a filter, although the current record > is > > > > restored, as I can see by single stepping through the code, after the > > > > process finishes, something changes the record to the first record. > The > > > > Current event is fired by this change and when I look at the call > stack > > > > there, there is nothing but the OnCurrent function of the form. I > think > > > > this means that my code did not change the record? > > > > > > > > I created a new little database with a table, query, and datasheet > form, > > > > and the same function for the same events, and everything works fine > > > > there, > > > > the current record is restored in all cases. > > > > > > > > Does anybody have any thoughts about what may be happening? I know > > > > there's > > > > probably not enough info here to identify the problem, but any ideas > > > > would > > > > be appreciated. > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/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 cjlabs at att.net Tue Jan 17 20:01:39 2012 From: cjlabs at att.net (Carolyn Johnson) Date: Tue, 17 Jan 2012 20:01:39 -0600 Subject: [AccessD] Skip labels in report Message-ID: I have been using code to skip labels so that the new labels start printing after the used ones. This is the code that Microsoft has -- entering a number of labels to skip and using me.nextrecord and me.printsection to move to the correct label. The code works fine if I have the labels set up to print across, then down. However, if I change the labels to print down, then across, I cannot skip beyond the first column of labels. For example, I want to print the next label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). Printing down, then across means I am skipping 12 labels. When I enter 12 however, it puts the next label in row 1 of column 2, not row 3. If the report is set up to print across, then down and I skip 7 labels, it prints in the correct place. I can't find any information on why this is happening or how to fix it. For my purposes, it is much easier to use the labels if they print down first. Any help would be appreciated. Thanks Carolyn Johnson From charlotte.foust at gmail.com Tue Jan 17 20:40:57 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 17 Jan 2012 18:40:57 -0800 Subject: [AccessD] Skip labels in report In-Reply-To: References: Message-ID: Keep in mind that the report generator isn't intended for word processing and it prints in bands. The only way I can think of to do what you want would be to set up report using columns and then create dummy records for the used column(s). You might want to try doing a mail merge to Word if you need to control the order that way. It's actually built to handle that. Charlotte Foust On Tue, Jan 17, 2012 at 6:01 PM, Carolyn Johnson wrote: > I have been using code to skip labels so that the new labels start > printing after the used ones. This is the code that Microsoft has -- > entering a number of labels to skip and using me.nextrecord and > me.printsection to move to the correct label. The code works fine if I > have the labels set up to print across, then down. > > However, if I change the labels to print down, then across, I cannot skip > beyond the first column of labels. For example, I want to print the next > label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). > Printing down, then across means I am skipping 12 labels. When I enter 12 > however, it puts the next label in row 1 of column 2, not row 3. > > If the report is set up to print across, then down and I skip 7 labels, it > prints in the correct place. > > I can't find any information on why this is happening or how to fix it. > For my purposes, it is much easier to use the labels if they print down > first. > > Any help would be appreciated. > > > > > Thanks > Carolyn Johnson > -- > 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 Jan 17 21:14:56 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 18 Jan 2012 13:14:56 +1000 Subject: [AccessD] Skip labels in report In-Reply-To: References: , Message-ID: <4F163930.21408.1736BA14@stuart.lexacorp.com.pg> One way to create the dummy records is to use a dimension table (a table just containing consecutive numbers) and use a UNION query as the record source for the report, passing the number to skip through a static function. Static Function LabelsToSkip(Optional qty as long = -1) as long Local store as Long If qty > -1 then store = qty End If LabelsToSkip = store End Function TblDimensionTable ============== DimValue 1 2 3 4 .... Report Recordsource: ================ Select "","","","","","","" from tblDimensionTable where DimValue <= LabelsToSkip() UNION Select * from qryMyRealReportQuery. To run the report: ============= .... LabelsToSkip 12 Docmd.OpenReport "rptLabels" ... ... -- Stuart On 17 Jan 2012 at 18:40, Charlotte Foust wrote: > Keep in mind that the report generator isn't intended for word processing > and it prints in bands. The only way I can think of to do what you want > would be to set up report using columns and then create dummy records for > the used column(s). You might want to try doing a mail merge to Word if > you need to control the order that way. It's actually built to handle that. > > Charlotte Foust > > On Tue, Jan 17, 2012 at 6:01 PM, Carolyn Johnson wrote: > > > I have been using code to skip labels so that the new labels start > > printing after the used ones. This is the code that Microsoft has -- > > entering a number of labels to skip and using me.nextrecord and > > me.printsection to move to the correct label. The code works fine if I > > have the labels set up to print across, then down. > > > > However, if I change the labels to print down, then across, I cannot skip > > beyond the first column of labels. For example, I want to print the next > > label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). > > Printing down, then across means I am skipping 12 labels. When I enter 12 > > however, it puts the next label in row 1 of column 2, not row 3. > > > > If the report is set up to print across, then down and I skip 7 labels, it > > prints in the correct place. > > > > I can't find any information on why this is happening or how to fix it. > > For my purposes, it is much easier to use the labels if they print down > > first. > > > > Any help would be appreciated. > > > > > > > > > > Thanks > > Carolyn Johnson > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From cjlabs at att.net Tue Jan 17 21:21:41 2012 From: cjlabs at att.net (Carolyn Johnson) Date: Tue, 17 Jan 2012 21:21:41 -0600 Subject: [AccessD] Skip labels in report References: , <4F163930.21408.1736BA14@stuart.lexacorp.com.pg> Message-ID: <9928F16782AF444B9DDAFF2A225D6DF6@Dell> Thanks to both you abd Charlotte. The dummy records seems like the way to go. Carolyn Johnson ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, January 17, 2012 9:14 PM Subject: Re: [AccessD] Skip labels in report One way to create the dummy records is to use a dimension table (a table just containing consecutive numbers) and use a UNION query as the record source for the report, passing the number to skip through a static function. Static Function LabelsToSkip(Optional qty as long = -1) as long Local store as Long If qty > -1 then store = qty End If LabelsToSkip = store End Function TblDimensionTable ============== DimValue 1 2 3 4 .... Report Recordsource: ================ Select "","","","","","","" from tblDimensionTable where DimValue <= LabelsToSkip() UNION Select * from qryMyRealReportQuery. To run the report: ============= .... LabelsToSkip 12 Docmd.OpenReport "rptLabels" ... ... -- Stuart On 17 Jan 2012 at 18:40, Charlotte Foust wrote: > Keep in mind that the report generator isn't intended for word processing > and it prints in bands. The only way I can think of to do what you want > would be to set up report using columns and then create dummy records for > the used column(s). You might want to try doing a mail merge to Word if > you need to control the order that way. It's actually built to handle that. > > Charlotte Foust > > On Tue, Jan 17, 2012 at 6:01 PM, Carolyn Johnson wrote: > > > I have been using code to skip labels so that the new labels start > > printing after the used ones. This is the code that Microsoft has -- > > entering a number of labels to skip and using me.nextrecord and > > me.printsection to move to the correct label. The code works fine if I > > have the labels set up to print across, then down. > > > > However, if I change the labels to print down, then across, I cannot skip > > beyond the first column of labels. For example, I want to print the next > > label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). > > Printing down, then across means I am skipping 12 labels. When I enter 12 > > however, it puts the next label in row 1 of column 2, not row 3. > > > > If the report is set up to print across, then down and I skip 7 labels, it > > prints in the correct place. > > > > I can't find any information on why this is happening or how to fix it. > > For my purposes, it is much easier to use the labels if they print down > > first. > > > > Any help would be appreciated. > > > > > > > > > > Thanks > > Carolyn Johnson > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom053 at gmail.com Wed Jan 18 07:25:24 2012 From: tom053 at gmail.com (Tom Zal) Date: Wed, 18 Jan 2012 08:25:24 -0500 Subject: [AccessD] current record of form being reset, can't find the cause In-Reply-To: References: <20120117075107.86c3debdd1c3983866efe200e2feb95f.afaa89500d.wbe@email18.secureserver.net> Message-ID: Thanks to those who responded. I am actually using exactly the process described by Arthur (sorry if my description of the situation was unclear). The issue is that after the subform has been set to the right record, and my code to do so has finished, something else is causing the subform to be set to the first record. On Tue, Jan 17, 2012 at 5:37 PM, Charlotte Foust wrote: > True, but I working with VB.Net for 5 years, I didn't think of that > detail. When I was working with it, I did not find bookmarks to carry > over, so perhaps that's something that changed between versions somewhere > along the way? > > Charlotte Foust > > On Tue, Jan 17, 2012 at 1:59 PM, William Benson >wrote: > > > Charlotte I am sure (which doesn't make me correct) that recordsetclone > > shrinks or expands in size as the form is filtered, and reorders itself > > when the form records are sorted. > > > > I have used > > > > Frm.bookmark = rst.bookmark > > > > On filtered forms and prepositioned them with no problem before. > > > > On Jan 17, 2012 2:41 PM, "Charlotte Foust" > > wrote: > > > > > > When you use the filter, you're actually creating a new recordset based > > on > > > the original but containing only the filtered records, so you can't > use a > > > bookmark with a filter because its scope is on the original recordset, > > not > > > the filtered recordset. I wonder if you could grab the filter string > > > itself, as well as the record key and then cancel the ApplyFilter and > use > > > VBA to set the filter and the record from code? I haven't tried it, > but > > it > > > seems reasonable. > > > > > > Charlotte Foust > > > > > > On Tue, Jan 17, 2012 at 7:52 AM, Tom Zal wrote: > > > > > > > Thanks Rocky > > > > > > > > The code is not setting the filter, the user is, that's why I'm using > > the > > > > ApplyFilter event. > > > > > > > > I do have a function with similar functionality for requeries that > > saves > > > > the key, does the requery, and restores the current record. > > > > > > > > I broke it into 2 functions (get and set) for the filter case. I > would > > have > > > > liked to do it the same way as for requeries, but as far as I can > tell, > > I > > > > have to save the key in the ApplyFilter event, and I can't restore > the > > > > record in that event, because the filter hasn't been applied yet. If > > I'm > > > > wrong about this please let me know. > > > > > > > > On Tue, Jan 17, 2012 at 9:51 AM, wrote: > > > > > > > > > Tom: > > > > > > > > > > I use the same findfirst/bookmark method to set the focus on the > > record > > > > > that had it before a filter was applied, or more often, after a > > requery. > > > > > > > > > > > > > > > I would just move that code to a function, and call it from > whereever > > in > > > > > the code you set the filter instead of using the ApplyFilter event. > > > > > Also, with a function, it will be easy to move the call around in > > your > > > > > code to see where it best works. You could set the function up to > > both > > > > > save the current record value and return to it by passing it the PK > > (or > > > > > whatever you're using) and a flag to tell the function whether to > > save > > > > > or restore. > > > > > > > > > > HTH > > > > > > > > > > Rocky > > > > > > > > > > > > > > > > > > > > -------- Original Message -------- > > > > > Subject: [AccessD] current record of form being reset, can't find > the > > > > > cause > > > > > From: Tom Zal > > > > > Date: Tue, January 17, 2012 6:58 am > > > > > To: Access Developers discussion and problem solving > > > > > > > > > > > > > > > Hi - I have a puzzle I can't solve. I'm working on a project that > > > > > involves > > > > > a form (for layout only, no recordsource) with a datasheet subform. > > When > > > > > the user applies or removes a filter or sort on the subform, I want > > the > > > > > current record to remain the same. Access default behavior seems to > > be > > > > > to > > > > > lose the current record. I have a function to save the value of a > > field > > > > > of > > > > > the current record in the ApplyFilter event, and a function to then > > look > > > > > up > > > > > that record using recordsetclone and findfirst in the next Current > > event > > > > > and make it the current record with .bookmark. (If you have a > better > > > > > method > > > > > to suggest that would be great.) > > > > > > > > > > (When the bookmark restores the record, it fires the Current event > > > > > again, > > > > > but a local variable there has now been set so no recursive loop > > > > > happens) > > > > > > > > > > This actually works fine for applying and removing sorts and > removing > > > > > filters. However when applying a filter, although the current > record > > is > > > > > restored, as I can see by single stepping through the code, after > the > > > > > process finishes, something changes the record to the first record. > > The > > > > > Current event is fired by this change and when I look at the call > > stack > > > > > there, there is nothing but the OnCurrent function of the form. I > > think > > > > > this means that my code did not change the record? > > > > > > > > > > I created a new little database with a table, query, and datasheet > > form, > > > > > and the same function for the same events, and everything works > fine > > > > > there, > > > > > the current record is restored in all cases. > > > > > > > > > > Does anybody have any thoughts about what may be happening? I know > > > > > there's > > > > > probably not enough info here to identify the problem, but any > ideas > > > > > would > > > > > be appreciated. > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Wed Jan 18 07:29:01 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 18 Jan 2012 08:29:01 -0500 Subject: [AccessD] Skip labels in report In-Reply-To: References: Message-ID: Carolyn, <> Not sure why not...I've never done columns with labels that way, but there's no reason it should not work. Hard to say without seeing the code, which I am assuming is doing: Me.NextRecord = False Me.PrintSection = False Me.MoveLayout = True until it gets to the correct print position. You can put a break in the OnFormat of the detail section where you have the code and check your label count, plus the current Top and Left properties to see where you are on the page. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Tuesday, January 17, 2012 09:02 PM To: Access Developers Subject: [AccessD] Skip labels in report I have been using code to skip labels so that the new labels start printing after the used ones. This is the code that Microsoft has -- entering a number of labels to skip and using me.nextrecord and me.printsection to move to the correct label. The code works fine if I have the labels set up to print across, then down. However, if I change the labels to print down, then across, I cannot skip beyond the first column of labels. For example, I want to print the next label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). Printing down, then across means I am skipping 12 labels. When I enter 12 however, it puts the next label in row 1 of column 2, not row 3. If the report is set up to print across, then down and I skip 7 labels, it prints in the correct place. I can't find any information on why this is happening or how to fix it. For my purposes, it is much easier to use the labels if they print down first. Any help would be appreciated. Thanks Carolyn Johnson -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 18 13:03:25 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 18 Jan 2012 14:03:25 -0500 Subject: [AccessD] one page report Message-ID: <4F17177D.7050506@colbyconsulting.com> I have a system which I distribute on a runtime. It has a report which has to be done on top of an image so that it precisely looks like an original state document. It all works fine on my system but on the client it runs over onto two pages. AFAICT this is an issue with the default printer being different. What I am trying to discover is how to create a form where, regardless of the printer selected, it will only be on one page. Any ideas on this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From steve at datamanagementsolutions.biz Wed Jan 18 13:28:17 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Thu, 19 Jan 2012 08:28:17 +1300 Subject: [AccessD] one page report In-Reply-To: <4F17177D.7050506@colbyconsulting.com> References: <4F17177D.7050506@colbyconsulting.com> Message-ID: Hi John I have had similar problems, and found that there are a couple of things that can contribute. Sime printers have a minimum margin. If the margins of your report are less than the printer's minimum, then the printer will override your settings. Some printers have built in fonts that differ (ever so slightly, but can be enough to stuff things up) from the equivalent Windows font. Maybe one of these is relevant. Have you tried experimenting with slightly reducing the size of the report design? Regards Steve -----Original Message----- From: jwcolby Sent: Thursday, January 19, 2012 8:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] one page report I have a system which I distribute on a runtime. It has a report which has to be done on top of an image so that it precisely looks like an original state document. It all works fine on my system but on the client it runs over onto two pages. AFAICT this is an issue with the default printer being different. What I am trying to discover is how to create a form where, regardless of the printer selected, it will only be on one page. Any ideas on this? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From ssharkins at gmail.com Wed Jan 18 13:36:31 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 18 Jan 2012 14:36:31 -0500 Subject: [AccessD] Grab html tags in rich text box Message-ID: <5563CBCD390042229F36449F5A91FEF2@SusanHarkins> The SelText property will grab the selected text in a text box -- is there any way to programmatically grab the text and the html tax in a rich text control? Thanks! Susan H. From gustav at cactus.dk Wed Jan 18 15:35:11 2012 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 18 Jan 2012 22:35:11 +0100 Subject: [AccessD] NoSQL: Amazon DynamoDB Message-ID: Hi all Speaking of NoSQL, Amazon has just released their new beta for such an animal: http://aws.amazon.com/dynamodb/ This is excellent reading. If you feel you haven't got hold on what this stuff is about, now it is. As always, Amazon documentation is stellar: Clear and to the point, written for developers, with code examples, how to handle and administer, pricing (cheap!), free from marketing fuzz, and well organized. It is really a pleasure to browse and read. If you are into .Net, Java, or PHP, my guess is that after reading the intro, you hardly can't wait to check it out. /gustav From jwcolby at colbyconsulting.com Wed Jan 18 23:04:22 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 19 Jan 2012 00:04:22 -0500 Subject: [AccessD] How Access actually accesses SQL Server data Message-ID: <4F17A456.9020807@colbyconsulting.com> A fascinating read, which IIRC has been presented here before but I just stumbled across it again. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Wed Jan 18 23:18:34 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Wed, 18 Jan 2012 21:18:34 -0800 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: <4F17A456.9020807@colbyconsulting.com> References: <4F17A456.9020807@colbyconsulting.com> Message-ID: Um, did you forget the link, John? Charlotte Foust On Wed, Jan 18, 2012 at 9:04 PM, jwcolby wrote: > A fascinating read, which IIRC has been presented here before but I just > stumbled across it again. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > 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 Jan 18 23:19:42 2012 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 19 Jan 2012 18:19:42 +1300 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: <4F17A456.9020807@colbyconsulting.com> References: <4F17A456.9020807@colbyconsulting.com> Message-ID: <20120119052103.QQKR16063.mta02.xtra.co.nz@David-PC.dalyn.co.nz> John, Do you have a link? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand At 19/01/2012, jwcolby wrote: >A fascinating read, which IIRC has been presented here before but I >just stumbled across it again. > >-- >John W. Colby >Colby Consulting > >Reality is what refuses to go away >when you do not believe in it > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jan 19 05:51:07 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 19 Jan 2012 06:51:07 -0500 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: References: <4F17A456.9020807@colbyconsulting.com> Message-ID: <4F1803AB.4060101@colbyconsulting.com> Oh, you want to *read* it. :) http://msdn.microsoft.com/en-us/library/bb188204%28v=sql.90%29.aspx John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/19/2012 12:18 AM, Charlotte Foust wrote: > Um, did you forget the link, John? > > Charlotte Foust > > On Wed, Jan 18, 2012 at 9:04 PM, jwcolbywrote: > >> A fascinating read, which IIRC has been presented here before but I just >> stumbled across it again. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From jimdettman at verizon.net Thu Jan 19 07:06:32 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 19 Jan 2012 08:06:32 -0500 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: <4F1803AB.4060101@colbyconsulting.com> References: <4F17A456.9020807@colbyconsulting.com> <4F1803AB.4060101@colbyconsulting.com> Message-ID: Yeah, anyone that works with Access and SQL should give it a good read through. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, January 19, 2012 06:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How Access actually accesses SQL Server data Oh, you want to *read* it. :) http://msdn.microsoft.com/en-us/library/bb188204%28v=sql.90%29.aspx John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/19/2012 12:18 AM, Charlotte Foust wrote: > Um, did you forget the link, John? > > Charlotte Foust > > On Wed, Jan 18, 2012 at 9:04 PM, jwcolbywrote: > >> A fascinating read, which IIRC has been presented here before but I just >> stumbled across it again. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/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 colbyconsulting.com Thu Jan 19 07:15:44 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 19 Jan 2012 08:15:44 -0500 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: References: <4F17A456.9020807@colbyconsulting.com> <4F1803AB.4060101@colbyconsulting.com> Message-ID: <4F181780.6020303@colbyconsulting.com> Oh yea! It is amazing how Access actually gets data from SQL Server. In the case of updates it is way inefficient and native stored procedures should be considered where possible. Really quite fascinating. It is too bad that there isn't a way to set a property turning on the logging thing though. Modifying the registry every time (and remembering to turn it back off) is very clumsy for something so potentially useful. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/19/2012 8:06 AM, Jim Dettman wrote: > > Yeah, anyone that works with Access and SQL should give it a good read > through. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, January 19, 2012 06:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] How Access actually accesses SQL Server data > > Oh, you want to *read* it. :) > > http://msdn.microsoft.com/en-us/library/bb188204%28v=sql.90%29.aspx > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/19/2012 12:18 AM, Charlotte Foust wrote: >> Um, did you forget the link, John? >> >> Charlotte Foust >> >> On Wed, Jan 18, 2012 at 9:04 PM, > jwcolbywrote: >> >>> A fascinating read, which IIRC has been presented here before but I just >>> stumbled across it again. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> > http://databaseadvisors.com/**mailman/listinfo/accessd rs.com/mailman/listinfo/accessd> >>> >>> >>> Website: > http://www.databaseadvisors.**com >>> >>> >>> > From jwcolby at colbyconsulting.com Thu Jan 19 09:07:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 19 Jan 2012 10:07:48 -0500 Subject: [AccessD] Adding a field to every table Message-ID: <4F1831C4.5060003@colbyconsulting.com> I have built several SQL Server databases which are used by Access, and have just recently discovered that I really need a timestamp in every table. So I have been laboriously adding a timestamp field table by table. As everyone knows, TSQL is not my strength, but I went out looking for solutions to doing this programmatically using TSQL. So the challenge is to get every user table in a database, and then execute an alter table statement: alter table EachTableName add timestamp I managed to do it but boy is it *not* elegant! I found the following (by our own Arthur Fuller) which creates a udf to return a table with the names of all the users tables. My first iteration actually created this udf and then called it. http://www.techrepublic.com/article/alter-every-table-in-a-sql-database/5796376 The following discusses iterating through a table. The author was executing a stored procedure for each line of the table, which is close to what I am trying to do. Yes, I know RBAR and all that but after all this is just a minimal number of operations done once per database. http://weblogs.asp.net/jgalloway/archive/2006/04/12/442618.aspx That said, I would like to know if there is an elegant (set based) way to execute a line of code like I am doing for each record in the table. If you promise not to laugh I will show you my cobbled together solution. I built a User Stored Procedure so that I can just copy it over to my server at the client. The stored procedure creates the udf every time it runs, this in case this is the first time I am running the USP. I then declare a table to store the table returned by the UDF, and fill the table. After that I iterate the table RBAR, pulling the assembled SQL statement out into a varchar, and then exec() the SQL Statement. -- ============================================= -- Author: -- Create date: <1/19/2012> -- Description: -- ============================================= ALTER PROCEDURE [dbo].[usb_AddFldTake2] @DBName as varchar(250) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; DECLARE @SQL varchar(4000) DECLARE @tblUsrTableNames table (rownum int IDENTITY (1, 1), TblName varchar(250)) --Get all of the table names into a table variable select @SQL = 'SELECT TOP 100 PERCENT name FROM ' + @DBName + '.dbo.sysobjects WHERE type = ''U'' ORDER BY name' print @SQL insert into @tblUsrTableNames (TblName) exec (@SQL) --Set up RBAR table iteration declare @RowCnt int declare @MaxRows int select @RowCnt = 1 select @MaxRows=count(*) from @tblUsrTableNames Declare @TblName varchar(250) while @RowCnt <= @MaxRows begin --Get the name of the table from each row select @TblName = (SELECT TblName from @tblUsrTableNames where rownum = @RowCnt ) --build a sql statement to perform the alter table and add the timestamp select @SQL = 'ALTER TABLE PrisonMinistries.dbo.[' + @TblName + '] ADD timestamp' print @SQL --Execute the sql execute (@SQL) --move to the next row Select @RowCnt = @RowCnt + 1 end -- Insert statements for procedure here END As I mentioned I would like to know if there is an elegant (set based) way to execute a line of code like I am doing for each record in the table. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From marksimms at verizon.net Thu Jan 19 09:39:17 2012 From: marksimms at verizon.net (Mark Simms) Date: Thu, 19 Jan 2012 10:39:17 -0500 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: <4F181780.6020303@colbyconsulting.com> References: <4F17A456.9020807@colbyconsulting.com> <4F1803AB.4060101@colbyconsulting.com> <4F181780.6020303@colbyconsulting.com> Message-ID: <004301ccd6c0$8191c260$84b54720$@net> My benchmarks using AC2003 a few years ago: Query Select speed: 2 to 3x faster with SQL Server Insert/Update speed: 5-10x slower with SQL Server. Always use SPROCS for inserts/updates....and probably deletes. From davidmcafee at gmail.com Thu Jan 19 11:50:16 2012 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 19 Jan 2012 09:50:16 -0800 Subject: [AccessD] How Access actually accesses SQL Server data In-Reply-To: <004301ccd6c0$8191c260$84b54720$@net> References: <4F17A456.9020807@colbyconsulting.com> <4F1803AB.4060101@colbyconsulting.com> <4F181780.6020303@colbyconsulting.com> <004301ccd6c0$8191c260$84b54720$@net> Message-ID: I had a weird issue last month with an ADP. A coworker wrote a new stored procedure that worked just fine when ran from SSMS. If either of these were run from SSMS: EXEC stpR6Payouts '1/1/2011','11/30/2011','' EXEC stpR6Payouts '1/1/2011','11/30/2011',NULL The data was returned as expected. If the sproc was run from VBA, or directly through the immediate window, we experienced different results. If the sproc was run from Access, it would return a few rows short, and data was being calculated incorrectly on the rows that are returned. If F5 was pressed in Access, a different row count (and data on the returned rows) would appear. I tested the ADP in different versions of Access to see if it was a problem in A2007/2010, but it behaved the same in Access 2003. I tried running the stored procedure from a different ADP and it behaved the same. The only way to get the correct results besides running it directly in SSMS is to run it from an mdb using a pass through query. This told us that the rendering in the ADP was the issue. I had to determine what occurs differently between running a pass through vs running the sproc directly from the Access database window. So we ran a trace on the different ways we are calling the sproc. When it is called from the ADP, the sproc is called via an RPC, not directly as a passthrough query (as I've assumed it was called). The SPROC was basically this: SET NOCOUNT ON --Do a bunch of crap here SET NOCOUNT OFF SELECT A.CustNo, B.cust_name AS CustName, C.State, InvTotal, TotalPayCalc, AccuralPayCalc, DealerPayCalc, IndividualPayCalc, ARPaymentAmt AS [PaidTo-Dealer], APAmt AS [PaidTo-Individual] FROM @tblR6SumTemp A INNER JOIN salesdb..m_customer B (NOLOCK) ON A.CustNo = B.cust_no LEFT JOIN salesdb..m_cust_address C(NOLOCK) on B.cust_no = C.cust_no and B.bill_address_id = C.address_id ORDER BY CustNo This ended up being my work around: I created a datasheet subform. In that subform, I placed a public sub: Public Sub Type6PayoutPopulate(ByVal StartDate As String, ByVal EndDate As String, Optional Customer As String) Dim rs As Recordset Set rs = CurrentProject.Connection.Execute("EXEC RRMS.dbo.stpR6Payouts '" & Trim(StartDate) & "','" & Trim(EndDate) & "','" & Nz(Customer, "") & "'") DoCmd.Hourglass False If rs.RecordCount > 0 Then Set Me.Form.Recordset = rs Me.Visible = True Else Me.Visible = False MsgBox "No records were returned" End If End Sub In the Parent Form's Header, I created 3 text boxes and a command button. I placed the following code in the button's click event: Private Sub cmdRun_Click() If Nz(Me.txtStart, "") = "" Or Nz(Me.txtEnd, "") = "" Then MsgBox "Please enter a Start and End date" Exit Sub Else DoCmd.Hourglass True Call Form_frmType6PayOutDet.Type6PayoutPopulate(Me.txtStart, Me.txtEnd, Nz(Me.txtComp, "")) End If End Sub I still don't know why the stored procedure is being called via an RCP when opened directly from the database window, which is causing it to render differently. Using CurrentProject.Connection.Execute() seems to call it correctly. Weird. On Thu, Jan 19, 2012 at 7:39 AM, Mark Simms wrote: > My benchmarks using AC2003 a few years ago: > Query Select speed: 2 to 3x faster with SQL Server > Insert/Update speed: 5-10x slower with SQL Server. > > Always use SPROCS for inserts/updates....and probably deletes. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Jan 20 11:26:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 12:26:00 -0500 Subject: [AccessD] I just found this interesting read re Access 2007 Message-ID: <4F19A3A8.7070501@colbyconsulting.com> http://allenbrowne.com/access2007.html -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Fri Jan 20 11:28:47 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 12:28:47 -0500 Subject: [AccessD] uncompactable bloat Message-ID: <4F19A44F.8010309@colbyconsulting.com> Does anyone know whether the bug has ever been fixed where a BE in 2002 format would bloat and not compact? Was it fixed in 2002? 2003? 2007? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From rockysmolin at bchacc.com Fri Jan 20 11:44:41 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 20 Jan 2012 09:44:41 -0800 Subject: [AccessD] I just found this interesting read re Access 2007 In-Reply-To: <4F19A3A8.7070501@colbyconsulting.com> References: <4F19A3A8.7070501@colbyconsulting.com> Message-ID: <825B2D5869BC45D5A0E9DA9A1502B305@HAL9007> Wow. Great site! Struggling now with moving to 2010. I still have clients on 2003. So I know I can develop in 2003 and send to a 2007 or 2010 site. Working a bit with 2010 - yes it's awkward because I don't know where things are that are automatic on 2003. And 201 seems to run so much slower. But I suppose I'll be saying the same thing about Access 2010 and 2017. Wait...perish the thought... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 20, 2012 9:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] I just found this interesting read re Access 2007 http://allenbrowne.com/access2007.html -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Jan 20 11:48:07 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 12:48:07 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. Message-ID: <4F19A8D7.3090205@colbyconsulting.com> My client is moving to SQL Server at my persistent prodding. They have outgrown Access database containers, we have had to split their original single Access BE many times and now have about 6 different BEs with as much as 800 megs of data in some of them (after compact / repair). "Another user has locked this record" kinds of issues. All that stuff. So we are slooooowly moving the database to SQL Server. The problem is that they remain firmly mired in Access 2000. Yep. Sigh. The biggest issue with Access 2K from the perspective of SQL Server is that forms cannot be bound to recordsets and still be editable. So I am searching for a way to emulate what has always mostly worked, yet at least maintain the current speed (not great) or speed things up. I have been using SQl Server with Office 2003 for a long time and it works very well but I don't have that here. I am considering trying to use Access 2007 runtime, which I am using in other places and seems to work quite well. The biggest problem with doing that for this client is simply that the application is *very* complex and I program "to the metal". When something doesn't work in runtime, it is extremely difficult to troubleshoot. So I am looking for thoughts on my predicament, and how you may have handled a similar situation. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From davidmcafee at gmail.com Fri Jan 20 11:56:08 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 20 Jan 2012 09:56:08 -0800 Subject: [AccessD] I just found this interesting read re Access 2007 In-Reply-To: <4F19A3A8.7070501@colbyconsulting.com> References: <4F19A3A8.7070501@colbyconsulting.com> Message-ID: That link has been posted many times on AccessD, but, yes, it is a great site. On Fri, Jan 20, 2012 at 9:26 AM, jwcolby wrote: > > http://allenbrowne.com/**access2007.html > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From davidmcafee at gmail.com Fri Jan 20 11:57:21 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 20 Jan 2012 09:57:21 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F19A8D7.3090205@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> Message-ID: Move them over to an A2K ADP. It should be fairly simple. On Fri, Jan 20, 2012 at 9:48 AM, jwcolby wrote: > My client is moving to SQL Server at my persistent prodding. They have > outgrown Access database containers, we have had to split their original > single Access BE many times and now have about 6 different BEs with as much > as 800 megs of data in some of them (after compact / repair). "Another > user has locked this record" kinds of issues. All that stuff. > > So we are slooooowly moving the database to SQL Server. > > The problem is that they remain firmly mired in Access 2000. Yep. Sigh. > > The biggest issue with Access 2K from the perspective of SQL Server is > that forms cannot be bound to recordsets and still be editable. > > So I am searching for a way to emulate what has always mostly worked, yet > at least maintain the current speed (not great) or speed things up. > > I have been using SQl Server with Office 2003 for a long time and it works > very well but I don't have that here. I am considering trying to use > Access 2007 runtime, which I am using in other places and seems to work > quite well. The biggest problem with doing that for this client is simply > that the application is *very* complex and I program "to the metal". When > something doesn't work in runtime, it is extremely difficult to > troubleshoot. > > So I am looking for thoughts on my predicament, and how you may have > handled a similar situation. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > 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 Jan 20 12:16:53 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Jan 2012 10:16:53 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F19A8D7.3090205@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> Message-ID: I remember the problem in 2000. It was resolved in 2002. Have you tried using a recordset based on a view? I can't recall whether that made a difference or not. The alternative if you can't persuade them into upgrading is to go completely unbound and the forms and use code to manage the reads/writes/edits/deletions. I used the unbound option a LOT when I was working in 2000. Charlotte Foust On Fri, Jan 20, 2012 at 9:48 AM, jwcolby wrote: > My client is moving to SQL Server at my persistent prodding. They have > outgrown Access database containers, we have had to split their original > single Access BE many times and now have about 6 different BEs with as much > as 800 megs of data in some of them (after compact / repair). "Another > user has locked this record" kinds of issues. All that stuff. > > So we are slooooowly moving the database to SQL Server. > > The problem is that they remain firmly mired in Access 2000. Yep. Sigh. > > The biggest issue with Access 2K from the perspective of SQL Server is > that forms cannot be bound to recordsets and still be editable. > > So I am searching for a way to emulate what has always mostly worked, yet > at least maintain the current speed (not great) or speed things up. > > I have been using SQl Server with Office 2003 for a long time and it works > very well but I don't have that here. I am considering trying to use > Access 2007 runtime, which I am using in other places and seems to work > quite well. The biggest problem with doing that for this client is simply > that the application is *very* complex and I program "to the metal". When > something doesn't work in runtime, it is extremely difficult to > troubleshoot. > > So I am looking for thoughts on my predicament, and how you may have > handled a similar situation. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From fuller.artful at gmail.com Fri Jan 20 14:02:54 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 20 Jan 2012 15:02:54 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> Message-ID: When I first took the deep dive into ADP project formats, I quickly discovered that a good way to deal with master-detail forms was to bind the master to a view and the detail to another view. Access was quite able to handle the relationships, and performance was quite acceptable, even with about 70+ simultaneous users. As I learned more, I gradually moved on to sprocs instead of views, but I would suggest that you follow the same path: first do it using views, and get that working (that's easy!). Then and only then move on to sprocs, which are a little bit trickier -- not impossible, by any means, but more complicated than the simple Views approach to this problem. In my first case, there were about 50K Customers, with maybe 5 orders each, and maybe 5-10 details on each order. The "Views" approach was quite able to handle this. On Fri, Jan 20, 2012 at 1:16 PM, Charlotte Foust wrote: > I remember the problem in 2000. It was resolved in 2002. Have you tried > using a recordset based on a view? I can't recall whether that made a > difference or not. The alternative if you can't persuade them into > upgrading is to go completely unbound and the forms and use code to manage > the reads/writes/edits/deletions. I used the unbound option a LOT when I > was working in 2000. > > Charlotte Foust > > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Fri Jan 20 14:53:44 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 20 Jan 2012 15:53:44 -0500 Subject: [AccessD] I just found this interesting read re Access 2007 In-Reply-To: References: <4F19A3A8.7070501@colbyconsulting.com> Message-ID: Rocky, One little thing I might point out (which took me a while to discover, admittedly): if you hover the mouse anywhere in the ribbon and then use the mouse wheel, you cycle through the various ribbons very quickly and easily. This is an excellent way to discover the new layouts, which actually make sense once you've cycled through the ribbons a few times). -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Fri Jan 20 14:55:10 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 20 Jan 2012 15:55:10 -0500 Subject: [AccessD] uncompactable bloat In-Reply-To: <4F19A44F.8010309@colbyconsulting.com> References: <4F19A44F.8010309@colbyconsulting.com> Message-ID: Dunno about that, but have you tried the old tried-and-true method of creating a new BE and importing all the old BE's objects into it? On Fri, Jan 20, 2012 at 12:28 PM, jwcolby wrote: > Does anyone know whether the bug has ever been fixed where a BE in 2002 > format would bloat and not compact? Was it fixed in 2002? 2003? 2007? > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From vbacreations at gmail.com Fri Jan 20 14:56:51 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 20 Jan 2012 15:56:51 -0500 Subject: [AccessD] uncompactable bloat In-Reply-To: <4F19A44F.8010309@colbyconsulting.com> References: <4F19A44F.8010309@colbyconsulting.com> Message-ID: Never heard of it John can you post a link where it has been discussed? On Jan 20, 2012 12:31 PM, "jwcolby" wrote: > Does anyone know whether the bug has ever been fixed where a BE in 2002 > format would bloat and not compact? Was it fixed in 2002? 2003? 2007? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From vbacreations at gmail.com Fri Jan 20 14:58:35 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 20 Jan 2012 15:58:35 -0500 Subject: [AccessD] uncompactable bloat In-Reply-To: References: <4F19A44F.8010309@colbyconsulting.com> Message-ID: Hi Art, Isn't it possible that when a BE becomes that bloated you no longer can do so? On Jan 20, 2012 3:56 PM, "Arthur Fuller" wrote: > Dunno about that, but have you tried the old tried-and-true method of > creating a new BE and importing all the old BE's objects into it? > > On Fri, Jan 20, 2012 at 12:28 PM, jwcolby >wrote: > > > Does anyone know whether the bug has ever been fixed where a BE in 2002 > > format would bloat and not compact? Was it fixed in 2002? 2003? 2007? > > -- > > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From df.waters at comcast.net Fri Jan 20 15:08:51 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 20 Jan 2012 15:08:51 -0600 Subject: [AccessD] I just found this interesting read re Access 2007 In-Reply-To: References: <4F19A3A8.7070501@colbyconsulting.com> Message-ID: <006501ccd7b7$b621fed0$2265fc70$@comcast.net> Jeeez! MS would have done themselves a favor if they had mailed a letter to me to let me know! Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, January 20, 2012 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just found this interesting read re Access 2007 Rocky, One little thing I might point out (which took me a while to discover, admittedly): if you hover the mouse anywhere in the ribbon and then use the mouse wheel, you cycle through the various ribbons very quickly and easily. This is an excellent way to discover the new layouts, which actually make sense once you've cycled through the ribbons a few times). -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jan 20 15:34:48 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Jan 2012 07:34:48 +1000 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F19A8D7.3090205@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> Message-ID: <4F19DDF8.22537.3CDD9BF@stuart.lexacorp.com.pg> On 20 Jan 2012 at 12:48, jwcolby wrote: > The problem is that they remain firmly mired in Access 2000. Yep. Sigh. > I've got one client in the same situation, but mired in A97 :( > The biggest issue with Access 2K from the perspective of SQL Server is that forms cannot be bound to > recordsets and still be editable. > They can if you use ODBC linking to the SQL Server tables and bind the form the tables of Access queries based on them -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From davidmcafee at gmail.com Fri Jan 20 15:41:38 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 20 Jan 2012 13:41:38 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F19DDF8.22537.3CDD9BF@stuart.lexacorp.com.pg> References: <4F19A8D7.3090205@colbyconsulting.com> <4F19DDF8.22537.3CDD9BF@stuart.lexacorp.com.pg> Message-ID: Actually, I prefer A97 & A2K over A2007 too :) On Fri, Jan 20, 2012 at 1:34 PM, Stuart McLachlan wrote: > > > On 20 Jan 2012 at 12:48, jwcolby wrote: > > > The problem is that they remain firmly mired in Access 2000. Yep. Sigh. > > > > I've got one client in the same situation, but mired in A97 :( > > > The biggest issue with Access 2K from the perspective of SQL Server is > that forms cannot be bound to > > recordsets and still be editable. > > > > They can if you use ODBC linking to the SQL Server tables and bind the > form the tables of > Access queries based on them > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Jan 20 15:50:39 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 21 Jan 2012 07:50:39 +1000 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com>, <4F19DDF8.22537.3CDD9BF@stuart.lexacorp.com.pg>, Message-ID: <4F19E1AF.19896.3DC59E6@stuart.lexacorp.com.pg> So do I. I still do most of my development in 2003, even for clients on 2007/2010. -- Stuart On 20 Jan 2012 at 13:41, David McAfee wrote: > Actually, I prefer A97 & A2K over A2007 too :) > > > On Fri, Jan 20, 2012 at 1:34 PM, Stuart McLachlan wrote: > > > > > > > On 20 Jan 2012 at 12:48, jwcolby wrote: > > > > > The problem is that they remain firmly mired in Access 2000. Yep. Sigh. > > > > > > > I've got one client in the same situation, but mired in A97 :( > > > > > The biggest issue with Access 2K from the perspective of SQL Server is > > that forms cannot be bound to > > > recordsets and still be editable. > > > > > > > They can if you use ODBC linking to the SQL Server tables and bind the > > form the tables of > > Access queries based on them > > > > -- > > Stuart McLachlan > > > > Ph: +675 340 4392 > > Mob: +675 7100 2028 > > Web: http://www.lexacorp.com.pg > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From BradM at blackforestltd.com Fri Jan 20 15:53:05 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 20 Jan 2012 15:53:05 -0600 Subject: [AccessD] I just found this interesting read re Access 2007 References: <4F19A3A8.7070501@colbyconsulting.com> <825B2D5869BC45D5A0E9DA9A1502B305@HAL9007> Message-ID: Rocky, Here is a link to a PDF file regarding the transition from 2003 to 2007. You might find it useful. http://transition.gmu.edu/crosswalk/Access%202007%20Crosswalk.pdf Brad Marks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, January 20, 2012 11:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I just found this interesting read re Access 2007 Wow. Great site! Struggling now with moving to 2010. I still have clients on 2003. So I know I can develop in 2003 and send to a 2007 or 2010 site. Working a bit with 2010 - yes it's awkward because I don't know where things are that are automatic on 2003. And 201 seems to run so much slower. But I suppose I'll be saying the same thing about Access 2010 and 2017. Wait...perish the thought... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 20, 2012 9:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] I just found this interesting read re Access 2007 http://allenbrowne.com/access2007.html -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From charlotte.foust at gmail.com Fri Jan 20 15:59:35 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Jan 2012 13:59:35 -0800 Subject: [AccessD] uncompactable bloat In-Reply-To: References: <4F19A44F.8010309@colbyconsulting.com> Message-ID: Shouldn't happen if you only import the data tables. A lot of the bloat comes from internal Access system tables and queries that you don't need to import into a new BE. Charlotte Foust On Fri, Jan 20, 2012 at 12:58 PM, William Benson wrote: > Hi Art, > > Isn't it possible that when a BE becomes that bloated you no longer can do > so? > On Jan 20, 2012 3:56 PM, "Arthur Fuller" wrote: > > > Dunno about that, but have you tried the old tried-and-true method of > > creating a new BE and importing all the old BE's objects into it? > > > > On Fri, Jan 20, 2012 at 12:28 PM, jwcolby > >wrote: > > > > > Does anyone know whether the bug has ever been fixed where a BE in 2002 > > > format would bloat and not compact? Was it fixed in 2002? 2003? 2007? > > > -- > > > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Fri Jan 20 16:14:23 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 17:14:23 -0500 Subject: [AccessD] uncompactable bloat In-Reply-To: References: <4F19A44F.8010309@colbyconsulting.com> Message-ID: <4F19E73F.9060208@colbyconsulting.com> For awhile the Access 2002 database container had a bug where if it bloated, compact would not shrink it back down. We (the community) stayed with the Access 2000 container forever as a result. I'm trying to discover whether that was fixed and if so where and when. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/20/2012 4:59 PM, Charlotte Foust wrote: > Shouldn't happen if you only import the data tables. A lot of the bloat > comes from internal Access system tables and queries that you don't need to > import into a new BE. > > Charlotte Foust > > On Fri, Jan 20, 2012 at 12:58 PM, William Bensonwrote: > >> Hi Art, >> >> Isn't it possible that when a BE becomes that bloated you no longer can do >> so? >> On Jan 20, 2012 3:56 PM, "Arthur Fuller" wrote: >> >>> Dunno about that, but have you tried the old tried-and-true method of >>> creating a new BE and importing all the old BE's objects into it? >>> >>> On Fri, Jan 20, 2012 at 12:28 PM, jwcolby>>> wrote: >>> >>>> Does anyone know whether the bug has ever been fixed where a BE in 2002 >>>> format would bloat and not compact? Was it fixed in 2002? 2003? 2007? >>>> -- >>> >>> Arthur >>> Cell: 647.710.1314 >>> >>> Prediction is difficult, especially of the future. >>> -- Niels Bohr >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >>> Website: http://www.databaseadvisors.com >> >> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.com >> >> >> From rockysmolin at bchacc.com Fri Jan 20 17:14:17 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 20 Jan 2012 15:14:17 -0800 Subject: [AccessD] I just found this interesting read re Access 2007 In-Reply-To: References: <4F19A3A8.7070501@colbyconsulting.com> Message-ID: <14AC02EE25ED4B4D9D990CEF62CBFD93@HAL9007> Gonna try that right now on machine #2 - it has A2010 on it Thanks R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, January 20, 2012 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I just found this interesting read re Access 2007 Rocky, One little thing I might point out (which took me a while to discover, admittedly): if you hover the mouse anywhere in the ribbon and then use the mouse wheel, you cycle through the various ribbons very quickly and easily. This is an excellent way to discover the new layouts, which actually make sense once you've cycled through the ribbons a few times). -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From df.waters at comcast.net Fri Jan 20 17:14:12 2012 From: df.waters at comcast.net (Dan Waters) Date: Fri, 20 Jan 2012 17:14:12 -0600 Subject: [AccessD] uncompactable bloat In-Reply-To: <4F19E73F.9060208@colbyconsulting.com> References: <4F19A44F.8010309@colbyconsulting.com> <4F19E73F.9060208@colbyconsulting.com> Message-ID: <006901ccd7c9$38e76970$aab63c50$@comcast.net> I have a vague memory of reading that this had been corrected in Access 2003. For the last few years, I've set the default file format in Access options to Access 2002 - 2003 and I've had no BE bloat problems. The BE does expand of course, but a compact always brings the size back down to what I expect. The max size of my BE data files are less than 35 Mb (so far). Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 20, 2012 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] uncompactable bloat For awhile the Access 2002 database container had a bug where if it bloated, compact would not shrink it back down. We (the community) stayed with the Access 2000 container forever as a result. I'm trying to discover whether that was fixed and if so where and when. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/20/2012 4:59 PM, Charlotte Foust wrote: > Shouldn't happen if you only import the data tables. A lot of the > bloat comes from internal Access system tables and queries that you > don't need to import into a new BE. > > Charlotte Foust > > On Fri, Jan 20, 2012 at 12:58 PM, William Bensonwrote: > >> Hi Art, >> >> Isn't it possible that when a BE becomes that bloated you no longer >> can do so? >> On Jan 20, 2012 3:56 PM, "Arthur Fuller" wrote: >> >>> Dunno about that, but have you tried the old tried-and-true method >>> of creating a new BE and importing all the old BE's objects into it? >>> >>> On Fri, Jan 20, 2012 at 12:28 PM, >>> jwcolby>>> wrote: >>> >>>> Does anyone know whether the bug has ever been fixed where a BE in >>>> 2002 format would bloat and not compact? Was it fixed in 2002? 2003? 2007? >>>> -- >>> >>> Arthur >>> Cell: 647.710.1314 >>> >>> Prediction is difficult, especially of the future. >>> -- Niels Bohr >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Fri Jan 20 21:20:10 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 22:20:10 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> Message-ID: <4F1A2EEA.8030505@colbyconsulting.com> >The alternative if you can't persuade them into upgrading is to go completely unbound and the forms and use code to manage the reads/writes/edits/deletions. This is a monster application with close to 200 forms, using my framework for all kinds of repetitive / user interface stuff, all of which assumed bound. It would be waaaaaaaaaaaaaaaaaaaaaay cheaper to upgrade all of the users to a modern office version than pay me to rewrite it to unbound so they could stay on an 11 year old buggy as hell office version. Doncha think? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/20/2012 1:16 PM, Charlotte Foust wrote: > I remember the problem in 2000. It was resolved in 2002. Have you tried > using a recordset based on a view? I can't recall whether that made a > difference or not. The alternative if you can't persuade them into > upgrading is to go completely unbound and the forms and use code to manage > the reads/writes/edits/deletions. I used the unbound option a LOT when I > was working in 2000. > > Charlotte Foust > > On Fri, Jan 20, 2012 at 9:48 AM, jwcolbywrote: > >> My client is moving to SQL Server at my persistent prodding. They have >> outgrown Access database containers, we have had to split their original >> single Access BE many times and now have about 6 different BEs with as much >> as 800 megs of data in some of them (after compact / repair). "Another >> user has locked this record" kinds of issues. All that stuff. >> >> So we are slooooowly moving the database to SQL Server. >> >> The problem is that they remain firmly mired in Access 2000. Yep. Sigh. >> >> The biggest issue with Access 2K from the perspective of SQL Server is >> that forms cannot be bound to recordsets and still be editable. >> >> So I am searching for a way to emulate what has always mostly worked, yet >> at least maintain the current speed (not great) or speed things up. >> >> I have been using SQl Server with Office 2003 for a long time and it works >> very well but I don't have that here. I am considering trying to use >> Access 2007 runtime, which I am using in other places and seems to work >> quite well. The biggest problem with doing that for this client is simply >> that the application is *very* complex and I program "to the metal". When >> something doesn't work in runtime, it is extremely difficult to >> troubleshoot. >> >> So I am looking for thoughts on my predicament, and how you may have >> handled a similar situation. >> >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From fuller.artful at gmail.com Fri Jan 20 21:30:19 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 20 Jan 2012 22:30:19 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F1A2EEA.8030505@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> Message-ID: Present them with the alternatives, and be prepared to fire the customer. That's my advice. You are risking walking into a mined field. Place your helmet over your private parts and enter at your risk. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jwcolby at colbyconsulting.com Fri Jan 20 22:46:43 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 20 Jan 2012 23:46:43 -0500 Subject: [AccessD] I want one! Message-ID: <4F1A4333.7050102@colbyconsulting.com> See slide 2, the ENIAC. Ten Computers That Changed the World | Innovationnewsdaily.com http://www.innovationnewsdaily.com/485-computers-that-changed-the-world.html In 1984 I worked for Megatek Corp in San Diego CA. A Vax 11/780 ran the entire company, including the stock room as well as compiling all software etc. I dreamed of having one in my house. 25 years later my cell phone is a thousand times faster and more powerful. Think about that, I use a thousand Vax-11/780s, a thousand times the computing power used to run an entire company of 250 employees... just to make phone calls - and play games while waiting for my child's bus. I feel positively decadent. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From charlotte.foust at gmail.com Fri Jan 20 23:41:07 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 20 Jan 2012 21:41:07 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F1A2EEA.8030505@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> Message-ID: Sure, but will they go along with that? Charlotte Foust On Fri, Jan 20, 2012 at 7:20 PM, jwcolby wrote: > >The alternative if you can't persuade them into upgrading is to go > completely unbound and the forms and use code to manage the > reads/writes/edits/deletions. > > This is a monster application with close to 200 forms, using my framework > for all kinds of repetitive / user interface stuff, all of which assumed > bound. It would be waaaaaaaaaaaaaaaaaaaaaay cheaper to upgrade all of the > users to a modern office version than pay me to rewrite it to unbound so > they could stay on an 11 year old buggy as hell office version. > > Doncha think? > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/20/2012 1:16 PM, Charlotte Foust wrote: > >> I remember the problem in 2000. It was resolved in 2002. Have you tried >> using a recordset based on a view? I can't recall whether that made a >> difference or not. The alternative if you can't persuade them into >> upgrading is to go completely unbound and the forms and use code to manage >> the reads/writes/edits/deletions. I used the unbound option a LOT when I >> was working in 2000. >> >> Charlotte Foust >> >> On Fri, Jan 20, 2012 at 9:48 AM, jwcolby >> >wrote: >> >> My client is moving to SQL Server at my persistent prodding. They have >>> outgrown Access database containers, we have had to split their original >>> single Access BE many times and now have about 6 different BEs with as >>> much >>> as 800 megs of data in some of them (after compact / repair). "Another >>> user has locked this record" kinds of issues. All that stuff. >>> >>> So we are slooooowly moving the database to SQL Server. >>> >>> The problem is that they remain firmly mired in Access 2000. Yep. Sigh. >>> >>> The biggest issue with Access 2K from the perspective of SQL Server is >>> that forms cannot be bound to recordsets and still be editable. >>> >>> So I am searching for a way to emulate what has always mostly worked, yet >>> at least maintain the current speed (not great) or speed things up. >>> >>> I have been using SQl Server with Office 2003 for a long time and it >>> works >>> very well but I don't have that here. I am considering trying to use >>> Access 2007 runtime, which I am using in other places and seems to work >>> quite well. The biggest problem with doing that for this client is >>> simply >>> that the application is *very* complex and I program "to the metal". >>> When >>> something doesn't work in runtime, it is extremely difficult to >>> troubleshoot. >>> >>> So I am looking for thoughts on my predicament, and how you may have >>> handled a similar situation. >>> >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/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 Sat Jan 21 01:38:49 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 21 Jan 2012 02:38:49 -0500 Subject: [AccessD] I want one! In-Reply-To: <4F1A4333.7050102@colbyconsulting.com> References: <4F1A4333.7050102@colbyconsulting.com> Message-ID: And so you should! Your phone could be piloting spacecraft. I feel positively decadent. > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Sat Jan 21 05:30:12 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 21 Jan 2012 06:30:12 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> Message-ID: The easiest way to bind forms with SQL Server is to use views. And as Charlotte suggested, you can create recordsets based on those, for the heavy lifting parts of your code. I have done both many times and can attest that this approach works. I see no need to go to unbound forms, unless you want to -- which, in your case, I doubt. Try it on a little toy app before deciding. Migrate the data from a simple existing app to SQL, then create views into each table. Where necessary, create multi-table views by joining two single-table views. Use your existing recordset code as is, replacing only the name of the table(s) with the name(s) of the equivalent views. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jwcolby at colbyconsulting.com Sat Jan 21 06:18:21 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 21 Jan 2012 07:18:21 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> Message-ID: <4F1AAD0D.4090202@colbyconsulting.com> Views really only get you so far though. All of the "send me the entire index so I can pick out the records I want" thing is still going to occur. IOW subform data sets cannot be filtered by SQL Server, where it could if it was done in an ADO recordset which I used dynamic code to fill. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/21/2012 6:30 AM, Arthur Fuller wrote: > The easiest way to bind forms with SQL Server is to use views. And as > Charlotte suggested, you can create recordsets based on those, for the > heavy lifting parts of your code. I have done both many times and can > attest that this approach works. I see no need to go to unbound forms, > unless you want to -- which, in your case, I doubt. > > Try it on a little toy app before deciding. Migrate the data from a simple > existing app to SQL, then create views into each table. Where necessary, > create multi-table views by joining two single-table views. Use your > existing recordset code as is, replacing only the name of the table(s) with > the name(s) of the equivalent views. > From fuller.artful at gmail.com Sat Jan 21 06:42:02 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 21 Jan 2012 07:42:02 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F1AAD0D.4090202@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> <4F1AAD0D.4090202@colbyconsulting.com> Message-ID: Not so, JC. In the first case, create a view that returns only the indexed column(s) of interest. In the second case, a master-detail form, create a master view and a detail view and link them together as usual in a standard MDB file. Works like a charm. Trust me, I've done it, in an app with 70+ simultaneous users. On Sat, Jan 21, 2012 at 7:18 AM, jwcolby wrote: > Views really only get you so far though. All of the "send me the entire > index so I can pick out the records I want" thing is still going to occur. > IOW subform data sets cannot be filtered by SQL Server, where it could if > it was done in an ADO recordset which I used dynamic code to fill. > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Sat Jan 21 11:48:37 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 21 Jan 2012 12:48:37 -0500 Subject: [AccessD] One Note Message-ID: For the past couple of years or so, I have been storing snippets of VBA code as separate files in a subdir called VBA. But in the past couple of months, I have switched to OneNote, and I am totally impressed with this mechanism. I now have a NoteBook called VBA, and it contains several sections, and I have copied and pasted all the former txt and bas files into OneNote. This solution is WAY slicker than my old method. We all have different methods. No slight upon anyone here intended; my preference is to include all the required code, and only the required code, in any deployed solution. I do not want to burden the client with an "Everything Including the Kitchen Sink" solution; 70%+ of which will go unused in any given situation. Call me old-school: I can deal with that. I want all the required code and only the required code to be deployed in any given deployment. This practice dates to my years in lower-level languages. I admit that. But I also resist the tendency to include "Everything including the Kitchen Sink" approaches. Today I finally got around to importing all the snippets, previously stored as separate text files, into one single OneNote file. Actually, I have several such files now. Of interest here might be the MS-SQL file as well, which contains several dozen sprocs and views and so on. Another contains Recipes, since I am a fanatical cook; this file has two sections, Slow Cooking and otherwise. The more I use OneNote, the more I'm loving it. It loads quickly and saves automatically. Today's project was to import all my Access and SQL snippets into a corresponding pair of OneNote files, and this solution is extremely cool. The next logical step is to share said files with the community. No doubt, there will be some overlap, but assuming that I send you my OneNote VBA file, you could open it and import everything of interest into your own equivalent. This approach strikes me as way more intelligent than than the old horse "create a library and set a reference to it", for a couple of reasons: 1) the larger the library, the longer it will take to load the module of interest; 2) any code not part of the app of interest ought not to be there. Admittedly this is a tad more work than the old approach, but I like lean and mean versus the "junk in the trunk" approach. Call me an old-timer if you wish. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From mcp2004 at mail.ru Sat Jan 21 15:05:07 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 01:05:07 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Arthur, Could you please try to share your code snippets via Hotmail"s SkyDrive? A small sample part first... Thank you. Shamil 21 ?????? 2012, 21:50 ?? Arthur Fuller : > For the past couple of years or so, I have been storing snippets of VBA > code as separate files in a subdir called VBA. But in the past couple of > months, I have switched to OneNote, and I am totally impressed with this > mechanism. I now have a NoteBook called VBA, and it contains several > sections, and I have copied and pasted all the former txt and bas files > into OneNote. This solution is WAY slicker than my old method. > > We all have different methods. No slight upon anyone here intended; my > preference is to include all the required code, and only the required code, > in any deployed solution. I do not want to burden the client with an > "Everything Including the Kitchen Sink" solution; 70%+ of which will go > unused in any given situation. > > Call me old-school: I can deal with that. I want all the required code and > only the required code to be deployed in any given deployment. This > practice dates to my years in lower-level languages. I admit that. But I > also resist the tendency to include "Everything including the Kitchen Sink" > approaches. > > Today I finally got around to importing all the snippets, previously stored > as separate text files, into one single OneNote file. Actually, I have > several such files now. Of interest here might be the MS-SQL file as well, > which contains several dozen sprocs and views and so on. Another contains > Recipes, since I am a fanatical cook; this file has two sections, Slow > Cooking and otherwise. > > The more I use OneNote, the more I'm loving it. It loads quickly and saves > automatically. Today's project was to import all my Access and SQL snippets > into a corresponding pair of OneNote files, and this solution is extremely > cool. > > The next logical step is to share said files with the community. No doubt, > there will be some overlap, but assuming that I send you my OneNote VBA > file, you could open it and import everything of interest into your own > equivalent. > > This approach strikes me as way more intelligent than than the old horse > "create a library and set a reference to it", for a couple of reasons: 1) > the larger the library, the longer it will take to load the module of > interest; 2) any code not part of the app of interest ought not to be there. > > Admittedly this is a tad more work than the old approach, but I like lean > and mean versus the "junk in the trunk" approach. Call me an old-timer if > you wish. > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat Jan 21 16:36:52 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 21 Jan 2012 17:36:52 -0500 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: <002601ccd88d$2c2f0890$848d19b0$@net> This has always been a huge issue with VBA. Microsoft made it much worse when they didn't have the Access dev team and the Excel dev team COLLABORATE. MSFORMS should have been equivalent IMHO. I can't count how many times I've wanted to use an Access forms related piece of code in Excel... and it failed miserably when intuitively it should have worked. I have a heap of cls, bas, and frm/frx modules and I manage them thru Visual Slickedit projects. The problem is one of tagging and identifying the original app from where they originated: Word, Powerpoint, Outlook, Access, Excel. Couple this with the problem of related DLL/OCX dependencies...and suddenly you want to spend the next year of your life learning Dot Net. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Saturday, January 21, 2012 12:49 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] One Note > > For the past couple of years or so, I have been storing snippets of VBA > code as separate files in a subdir called VBA. But in the past couple > of > months, I have switched to OneNote, and I am totally impressed with > this > mechanism. I now have a NoteBook called VBA, and it contains several > sections, and I have copied and pasted all the former txt and bas files > into OneNote. This solution is WAY slicker than my old method. > > We all have different methods. No slight upon anyone here intended; my > preference is to include all the required code, and only the required > code, > in any deployed solution. I do not want to burden the client with an > "Everything Including the Kitchen Sink" solution; 70%+ of which will go > unused in any given situation. > > Call me old-school: I can deal with that. I want all the required code > and > only the required code to be deployed in any given deployment. This > practice dates to my years in lower-level languages. I admit that. But > I > also resist the tendency to include "Everything including the Kitchen > Sink" > approaches. > > Today I finally got around to importing all the snippets, previously > stored > as separate text files, into one single OneNote file. Actually, I have > several such files now. Of interest here might be the MS-SQL file as > well, > which contains several dozen sprocs and views and so on. Another > contains > Recipes, since I am a fanatical cook; this file has two sections, Slow > Cooking and otherwise. > > The more I use OneNote, the more I'm loving it. It loads quickly and > saves > automatically. Today's project was to import all my Access and SQL > snippets > into a corresponding pair of OneNote files, and this solution is > extremely > cool. > > The next logical step is to share said files with the community. No > doubt, > there will be some overlap, but assuming that I send you my OneNote VBA > file, you could open it and import everything of interest into your own > equivalent. > > This approach strikes me as way more intelligent than than the old > horse > "create a library and set a reference to it", for a couple of reasons: > 1) > the larger the library, the longer it will take to load the module of > interest; 2) any code not part of the app of interest ought not to be > there. > > Admittedly this is a tad more work than the old approach, but I like > lean > and mean versus the "junk in the trunk" approach. Call me an old-timer > if > you wish. > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Jan 21 17:12:41 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Jan 2012 09:12:41 +1000 Subject: [AccessD] One Note In-Reply-To: <002601ccd88d$2c2f0890$848d19b0$@net> References: , <002601ccd88d$2c2f0890$848d19b0$@net> Message-ID: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> No, you DO spend the next year of your life learning a non-MS development environment. :-) -- Stuart On 21 Jan 2012 at 17:36, Mark Simms wrote: > Couple this with the problem of related DLL/OCX dependencies...and suddenly > you want to spend > the next year of your life learning Dot Net. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From marksimms at verizon.net Sat Jan 21 19:46:09 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 21 Jan 2012 20:46:09 -0500 Subject: [AccessD] One Note In-Reply-To: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> References: , <002601ccd88d$2c2f0890$848d19b0$@net> <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> Message-ID: <000301ccd8a7$9e0f90a0$da2eb1e0$@net> Java's no picnic...trust me on that. And now Larry "I destroy everything I buy" Ellison owns Java ? No thanks. From stuart at lexacorp.com.pg Sat Jan 21 19:57:23 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Jan 2012 11:57:23 +1000 Subject: [AccessD] One Note In-Reply-To: <000301ccd8a7$9e0f90a0$da2eb1e0$@net> References: , <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg>, <000301ccd8a7$9e0f90a0$da2eb1e0$@net> Message-ID: <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Java's not the only game in town. On 21 Jan 2012 at 20:46, Mark Simms wrote: > Java's no picnic...trust me on that. > And now Larry "I destroy everything I buy" Ellison owns Java ? > No thanks. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From fuller.artful at gmail.com Sat Jan 21 20:58:36 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 21 Jan 2012 21:58:36 -0500 Subject: [AccessD] One Note In-Reply-To: <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: Shamil, I would be happy to post what I have on SkyDrive, but I've never used it, so I may need your guidance regarding how to create an account, etc., and I guess more importantly, how to place my files in a shared location. And while I'm at it, Shamil (and any others so inclined), I have started a blog and I need some international readers. See http://artfulopinions.blogspot.com/. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From charlotte.foust at gmail.com Sat Jan 21 21:45:34 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sat, 21 Jan 2012 19:45:34 -0800 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: An alternative for some is Evernote, which allows you to do most, if not all, of the things you can in OneNote and also has versions available for mobile platforms, including Android. I've pretty much given up OneNote and its annoying interface since I found Evernote. No over the top gui interface, just functionality and simplicity. I use it on PC and Android and it uses cloud based sync/storage but allows you the option of a premium account that includes offline storage on your device, which also syncs to the cloud. Charlotte Foust On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller wrote: > Shamil, > > I would be happy to post what I have on SkyDrive, but I've never used it, > so I may need your guidance regarding how to create an account, etc., and I > guess more importantly, how to place my files in a shared location. > > And while I'm at it, Shamil (and any others so inclined), I have started a > blog and I need some international readers. See > http://artfulopinions.blogspot.com/ > > . > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Sat Jan 21 21:58:04 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 22 Jan 2012 13:58:04 +1000 Subject: [AccessD] One Note In-Reply-To: References: , , Message-ID: <4F1B894C.16183.A531F48@stuart.lexacorp.com.pg> You obviously haven't read Arthur's recent blog on Cloud storage :-) On 21 Jan 2012 at 19:45, Charlotte Foust wrote: > An alternative for some is Evernote, which allows you to do most, if not > all, of the things you can in OneNote and also has versions available for > mobile platforms, including Android. I've pretty much given up OneNote and > its annoying interface since I found Evernote. No over the top gui > interface, just functionality and simplicity. I use it on PC and Android > and it uses cloud based sync/storage but allows you the option of a premium > account that includes offline storage on your device, which also syncs to > the cloud. > > Charlotte Foust > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller wrote: > > > Shamil, > > > > I would be happy to post what I have on SkyDrive, but I've never used it, > > so I may need your guidance regarding how to create an account, etc., and I > > guess more importantly, how to place my files in a shared location. > > > > And while I'm at it, Shamil (and any others so inclined), I have started a > > blog and I need some international readers. See > > http://artfulopinions.blogspot.com/ > > > > . > > > > -- > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From mcp2004 at mail.ru Sun Jan 22 02:26:00 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 12:26:00 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: Hi Arthur, Your blog is instantly accessible here from my WinPhone. But I'd propose to make some "cosmetic" changes to it, namely: - 1. Make more neutral brighter background for the non-header part of the blog's page; - 2. Somehow move all/shortened rigth side part stuff to the header as reading blog entries on smartphone in portrait mode without enlargement of page's stuff is almost impossible (enalargement is easy two fingers gesture - anyway...) I"d classify the above change request #1 as 'must have' and #2 as 'could have'. As for SkyDrive - it"s a part of MS Windows LiveID - you should have it I guess - the rest (handling SkyDrive) is just a matter of a few mouse points and clicks. As Sharlotte noted you may also try EverNote but not everybody who uses MS Dev tools has EverNote account (I personally have but in the test mode only). And SkyDrive has API, which you might try to use later for code snippets import... Thank you. Shamil P.S. I'm typing all that from WinPhone from hospital (got right ear inflammation) - I'm not yet in the good enough state to use notebook... 22 ?????? 2012, 07:00 ?? Arthur Fuller : > Shamil, > > I would be happy to post what I have on SkyDrive, but I've never used it, > so I may need your guidance regarding how to create an account, etc., and I > guess more importantly, how to place my files in a shared location. > > And while I'm at it, Shamil (and any others so inclined), I have started a > blog and I need some international readers. See > http://artfulopinions.blogspot.com/. > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sun Jan 22 03:01:46 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 13:01:46 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Charlotte, I have just tried to create an EverNote account via WinPhone EverNote app and I have got stuck with registration screen. Then I have googlled Evernote invalid username issue and the first google search result returned quite a few negative information about EverNote... Thank you. Shamil 22 ?????? 2012, 07:47 ?? Charlotte Foust : > An alternative for some is Evernote, which allows you to do most, if not > all, of the things you can in OneNote and also has versions available for > mobile platforms, including Android. I've pretty much given up OneNote and > its annoying interface since I found Evernote. No over the top gui > interface, just functionality and simplicity. I use it on PC and Android > and it uses cloud based sync/storage but allows you the option of a premium > account that includes offline storage on your device, which also syncs to > the cloud. > > Charlotte Foust > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller wrote: > > > Shamil, > > > > I would be happy to post what I have on SkyDrive, but I've never used it, > > so I may need your guidance regarding how to create an account, etc., and I > > guess more importantly, how to place my files in a shared location. > > > > And while I'm at it, Shamil (and any others so inclined), I have started a > > blog and I need some international readers. See > > http://artfulopinions.blogspot.com/ > > > > . > > > > -- > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 paulrster at gmail.com Sun Jan 22 04:20:49 2012 From: paulrster at gmail.com (paul) Date: Sun, 22 Jan 2012 10:20:49 +0000 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: Enjoying the blog, Arthur, and for years I have followed your AccessD emails from over here in London. Many thanks and well done. Went to 'join' your blog this morning, following the request in your email, but am a bit disturbed to have to log into gmail with my password clearly on view. Obviously, that price is a bit too high. However, I can enjoy your blog without the friending aspect. It's very good. I'll be passing on the link to writer friends. Many thanks paul On 22 January 2012 02:58, Arthur Fuller wrote: > Shamil, > > I would be happy to post what I have on SkyDrive, but I've never used it, > so I may need your guidance regarding how to create an account, etc., and I > guess more importantly, how to place my files in a shared location. > > And while I'm at it, Shamil (and any others so inclined), I have started a > blog and I need some international readers. See > http://artfulopinions.blogspot.com/. > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- .......................................................................................... You're invited to browse through my ebooks website where thousands and thousands of ebooks of all genres and all formats are downloadable and absolutely free. No strings attached! Help yourself to an armful of holiday reading at www.eBookTrove.com Happy reading! From fuller.artful at gmail.com Sun Jan 22 04:43:51 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Jan 2012 05:43:51 -0500 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: Thanks for the kind words, Paul. And Shamil, I'll look into your suggestions and see what can be done. Since it's a hosted thing, I don't have all the control in the world, but I do know that I can make at least some cosmetic changes. I do have a Windows Live ID so I'll look into SkyDrive, but I'm curious: how can the public access what I place there? On Sun, Jan 22, 2012 at 5:20 AM, paul wrote: > Enjoying the blog, Arthur, and for years I have followed your AccessD > emails from over here in London. Many thanks and well done. Went to 'join' > your blog this morning, following the request in your email, but am a bit > disturbed to have to log into gmail with my password clearly on view. > Obviously, that price is a bit too high. > > However, I can enjoy your blog without the friending aspect. It's very > good. I'll be passing on the link to writer friends. > Many thanks > paul > > On 22 January 2012 02:58, Arthur Fuller wrote: > > > Shamil, > > > > I would be happy to post what I have on SkyDrive, but I've never used it, > > so I may need your guidance regarding how to create an account, etc., > and I > > guess more importantly, how to place my files in a shared location. > > > > And while I'm at it, Shamil (and any others so inclined), I have started > a > > blog and I need some international readers. See > > http://artfulopinions.blogspot.com/. > > > > -- > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > .......................................................................................... > > You're invited to browse through my ebooks website where thousands and > thousands of ebooks of all genres and all formats are downloadable and > absolutely free. No strings attached! Help yourself to an armful of holiday > reading at www.eBookTrove.com Happy reading! > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From fuller.artful at gmail.com Sun Jan 22 06:20:05 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Jan 2012 07:20:05 -0500 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: I changed the background as suggested, and also located the smartphone setting, so that should work now. If you have a smartphone, please revisit and see if the phone layout works for you. A. From paulrster at gmail.com Sun Jan 22 08:57:46 2012 From: paulrster at gmail.com (paul) Date: Sun, 22 Jan 2012 14:57:46 +0000 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: I use SkyDrive and I use and recommended thoroughly My Dropbox. (I'll send you an invitation for Dropbox, if you like, Arthur.) With both, it's easy to share the contents of a folder which you declare is to be shared with a or with certain people, or all. Here's a good link that explains about SkyDrive ... With SkyDrive you can share links to your files and photos with specific people or groups of people. If you want to share something on a blog or using Twitter, here?s how. http://explore.live.com/windows-live-skydrive-share-public-using Cheers paul On 22 January 2012 10:43, Arthur Fuller wrote: > Thanks for the kind words, Paul. And Shamil, I'll look into your > suggestions and see what can be done. Since it's a hosted thing, I don't > have all the control in the world, but I do know that I can make at least > some cosmetic changes. I do have a Windows Live ID so I'll look into > SkyDrive, but I'm curious: how can the public access what I place there? > > On Sun, Jan 22, 2012 at 5:20 AM, paul wrote: > > > Enjoying the blog, Arthur, and for years I have followed your AccessD > > emails from over here in London. Many thanks and well done. Went to > 'join' > > your blog this morning, following the request in your email, but am a bit > > disturbed to have to log into gmail with my password clearly on view. > > Obviously, that price is a bit too high. > > > > However, I can enjoy your blog without the friending aspect. It's very > > good. I'll be passing on the link to writer friends. > > Many thanks > > paul > > > > On 22 January 2012 02:58, Arthur Fuller wrote: > > > > > Shamil, > > > > > > I would be happy to post what I have on SkyDrive, but I've never used > it, > > > so I may need your guidance regarding how to create an account, etc., > > and I > > > guess more importantly, how to place my files in a shared location. > > > > > > And while I'm at it, Shamil (and any others so inclined), I have > started > > a > > > blog and I need some international readers. See > > > http://artfulopinions.blogspot.com/. > > > > > > -- > > > Arthur > > > Cell: 647.710.1314 > > > > > > Prediction is difficult, especially of the future. > > > -- Niels Bohr > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > .......................................................................................... > > > > You're invited to browse through my ebooks website where thousands and > > thousands of ebooks of all genres and all formats are downloadable and > > absolutely free. No strings attached! Help yourself to an armful of > holiday > > reading at www.eBookTrove.com Happy > reading! > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Sun Jan 22 09:23:14 2012 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sun, 22 Jan 2012 15:23:14 +0000 Subject: [AccessD] One Note Message-ID: <631CF83223105545BF43EFB52CB082957BB423245A@EX2K7-VIRT-2.ads.qub.ac.uk> Perfect Martin Sent from my Windows Phone ________________________________ From: Arthur Fuller Sent: 22/01/2012 12:21 To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note I changed the background as suggested, and also located the smartphone setting, so that should work now. If you have a smartphone, please revisit and see if the phone layout works for you. A. -- 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 Jan 22 09:35:02 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 22 Jan 2012 07:35:02 -0800 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: Shamil, Ouch! I'm sorry to hear about your physical ailments and about the trouble you're having with evernote. I had no problems signing up for a free account from my android phone and only added the pc version later, so I can't offer any suggestions. I've had no problems with evernote and have run into no security issues with it. YMMV Charlotte On Jan 22, 2012 1:03 AM, "Salakhetdinov Shamil" wrote: > Hi Charlotte, > > I have just tried to create an EverNote account via WinPhone EverNote app > and I have got stuck with registration screen. Then I have googlled > > Evernote invalid username issue > > and the first google search result returned quite a few negative > information about EverNote... > > Thank you. > > Shamil > > 22 ?????? 2012, 07:47 ?? Charlotte Foust : > > An alternative for some is Evernote, which allows you to do most, if not > > all, of the things you can in OneNote and also has versions available for > > mobile platforms, including Android. I've pretty much given up OneNote > and > > its annoying interface since I found Evernote. No over the top gui > > interface, just functionality and simplicity. I use it on PC and Android > > and it uses cloud based sync/storage but allows you the option of a > premium > > account that includes offline storage on your device, which also syncs to > > the cloud. > > > > Charlotte Foust > > > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller >wrote: > > > > > Shamil, > > > > > > I would be happy to post what I have on SkyDrive, but I've never used > it, > > > so I may need your guidance regarding how to create an account, etc., > and I > > > guess more importantly, how to place my files in a shared location. > > > > > > And while I'm at it, Shamil (and any others so inclined), I have > started a > > > blog and I need some international readers. See > > > http://artfulopinions.blogspot.com/ > > > > > > . > > > > > > -- > > > Arthur > > > Cell: 647.710.1314 > > > > > > Prediction is difficult, especially of the future. > > > -- Niels Bohr > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Sun Jan 22 09:47:45 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 22 Jan 2012 07:47:45 -0800 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: I have to put in a vote for Evernote. Having all my notes, clipped articles, recipes, etc available (offline or online) on my PC, Mac, and iPad is extremely useful. Doug On Sun, Jan 22, 2012 at 7:35 AM, Charlotte Foust wrote: > Shamil, > > Ouch! I'm sorry to hear about your physical ailments and about the trouble > you're having with evernote. I had no problems signing up for a free > account from my android phone and only added the pc version later, so I > can't offer any suggestions. I've had no problems with evernote and have > run into no security issues with it. YMMV > > Charlotte > On Jan 22, 2012 1:03 AM, "Salakhetdinov Shamil" wrote: > > > Hi Charlotte, > > > > I have just tried to create an EverNote account via WinPhone EverNote app > > and I have got stuck with registration screen. Then I have googlled > > > > Evernote invalid username issue > > > > and the first google search result returned quite a few negative > > information about EverNote... > > > > Thank you. > > > > Shamil > > > > 22 ?????? 2012, 07:47 ?? Charlotte Foust : > > > An alternative for some is Evernote, which allows you to do most, if > not > > > all, of the things you can in OneNote and also has versions available > for > > > mobile platforms, including Android. I've pretty much given up OneNote > > and > > > its annoying interface since I found Evernote. No over the top gui > > > interface, just functionality and simplicity. I use it on PC and > Android > > > and it uses cloud based sync/storage but allows you the option of a > > premium > > > account that includes offline storage on your device, which also syncs > to > > > the cloud. > > > > > > Charlotte Foust > > > > > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller < > fuller.artful at gmail.com > > >wrote: > > > > > > > Shamil, > > > > > > > > I would be happy to post what I have on SkyDrive, but I've never used > > it, > > > > so I may need your guidance regarding how to create an account, etc., > > and I > > > > guess more importantly, how to place my files in a shared location. > > > > > > > > And while I'm at it, Shamil (and any others so inclined), I have > > started a > > > > blog and I need some international readers. See > > > > http://artfulopinions.blogspot.com/ > > > > > > > > . > > > > > > > > -- > > > > Arthur > > > > Cell: 647.710.1314 > > > > > > > > Prediction is difficult, especially of the future. > > > > -- Niels Bohr > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/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 mcp2004 at mail.ru Sun Jan 22 10:21:50 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 20:21:50 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Arthur, Yes, readability is perfect now. Still if there is another layout for this blog engine, which allows to fill by text all not 2/3 of reading space that would be much "friendlier" for smartphones. Thamk you, Shamil 22 ?????? 2012, 16:21 ?? Arthur Fuller : > I changed the background as suggested, and also located the smartphone > setting, so that should work now. If you have a smartphone, please revisit > and see if the phone layout works for you. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sun Jan 22 10:34:22 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 20:34:22 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Thank you, Charlotte, I'm getting better. After all this opportunity of staying in hospital allowed me to get a bit more agile in working with WinPhone. EverNote still does not let me to register using its WinPhone client - I will use my PC when available. Shamil 22 ?????? 2012, 19:36 ?? Charlotte Foust : > Shamil, > > Ouch! I'm sorry to hear about your physical ailments and about the trouble > you're having with evernote. I had no problems signing up for a free > account from my android phone and only added the pc version later, so I > can't offer any suggestions. I've had no problems with evernote and have > run into no security issues with it. YMMV > > Charlotte > On Jan 22, 2012 1:03 AM, "Salakhetdinov Shamil" wrote: > > > Hi Charlotte, > > > > I have just tried to create an EverNote account via WinPhone EverNote app > > and I have got stuck with registration screen. Then I have googlled > > > > Evernote invalid username issue > > > > and the first google search result returned quite a few negative > > information about EverNote... > > > > Thank you. > > > > Shamil > > > > 22 ?????? 2012, 07:47 ?? Charlotte Foust : > > > An alternative for some is Evernote, which allows you to do most, if not > > > all, of the things you can in OneNote and also has versions available for > > > mobile platforms, including Android. I've pretty much given up OneNote > > and > > > its annoying interface since I found Evernote. No over the top gui > > > interface, just functionality and simplicity. I use it on PC and Android > > > and it uses cloud based sync/storage but allows you the option of a > > premium > > > account that includes offline storage on your device, which also syncs to > > > the cloud. > > > > > > Charlotte Foust > > > > > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller > >wrote: > > > > > > > Shamil, > > > > > > > > I would be happy to post what I have on SkyDrive, but I've never used > > it, > > > > so I may need your guidance regarding how to create an account, etc., > > and I > > > > guess more importantly, how to place my files in a shared location. > > > > > > > > And while I'm at it, Shamil (and any others so inclined), I have > > started a > > > > blog and I need some international readers. See > > > > http://artfulopinions.blogspot.com/ > > > > > > > > . > > > > > > > > -- > > > > Arthur > > > > Cell: 647.710.1314 > > > > > > > > Prediction is difficult, especially of the future. > > > > -- Niels Bohr > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/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 Sun Jan 22 10:47:46 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Jan 2012 17:47:46 +0100 Subject: [AccessD] One Note Message-ID: Hi Shamil Best wishes for your recovery. A bit of luck you are able to spend some time with Arthur's writing which is always worth reading. His note about Apple is only too true but - unfortunately - their attitude is not outstanding. For example SkyDrive. It works very well but be aware that MSFT is literally (by humans) watching your stuff. Two citizens here had their account blocked until some pictures of lightly dressed women were removed; and it is not what you may think - the two guys is a journalist and a designer of women's wear. /gustav >>> mcp2004 at mail.ru 22-01-12 9:26 >>> Hi Arthur, Your blog is instantly accessible here from my WinPhone. But I'd propose to make some "cosmetic" changes to it, namely: - 1. Make more neutral brighter background for the non-header part of the blog's page; - 2. Somehow move all/shortened rigth side part stuff to the header as reading blog entries on smartphone in portrait mode without enlargement of page's stuff is almost impossible (enalargement is easy two fingers gesture - anyway...) I"d classify the above change request #1 as 'must have' and #2 as 'could have'. As for SkyDrive - it"s a part of MS Windows LiveID - you should have it I guess - the rest (handling SkyDrive) is just a matter of a few mouse points and clicks. As Sharlotte noted you may also try EverNote but not everybody who uses MS Dev tools has EverNote account (I personally have but in the test mode only). And SkyDrive has API, which you might try to use later for code snippets import... Thank you. Shamil P.S. I'm typing all that from WinPhone from hospital (got right ear inflammation) - I'm not yet in the good enough state to use notebook... 22 ?????? 2012, 07:00 ?? Arthur Fuller : > Shamil, > > I would be happy to post what I have on SkyDrive, but I've never used it, > so I may need your guidance regarding how to create an account, etc., and I > guess more importantly, how to place my files in a shared location. > > And while I'm at it, Shamil (and any others so inclined), I have started a > blog and I need some international readers. See > http://artfulopinions.blogspot.com/. > > -- > Arthur > Cell: 647.710.1314 From mcp2004 at mail.ru Sun Jan 22 11:41:29 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 21:41:29 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Gustav, Yes, I like reading Arthur's blog - thought provoking written in flattering English... I"d only suppose that adding a bit more positive attitude to blog entries would make it even better how about that Arthur? As for "MS Big Brother" watching SkyDrive contents - could that be a 'secret nudity level' recognition technology used by MS? How it could be possible to manually investigate all the photos uploaded at SkyDrive? Thank you. Shamil 22 ?????? 2012, 20:44 ?? "Gustav Brock" : > Hi Shamil > > Best wishes for your recovery. A bit of luck you are able to spend some time > with Arthur's writing which is always worth reading. > > His note about Apple is only too true but - unfortunately - their attitude is > not outstanding. > > For example SkyDrive. It works very well but be aware that MSFT is literally > (by humans) watching your stuff. Two citizens here had their account blocked > until some pictures of lightly dressed women were removed; and it is not what > you may think - the two guys is a journalist and a designer of women's wear. > > /gustav > > > > >>> mcp2004 at mail.ru 22-01-12 9:26 >>> > Hi Arthur, > > Your blog is instantly accessible here from my WinPhone. But I'd propose to > make some "cosmetic" changes to it, namely: > - 1. Make more neutral brighter background for the non-header part of the > blog's page; > > - 2. Somehow move all/shortened rigth side part stuff to the header as reading > blog entries on smartphone in portrait mode without enlargement of page's > stuff is almost impossible (enalargement is easy two fingers gesture - > anyway...) > > I"d classify the above change request #1 as 'must have' and #2 as 'could > have'. > > As for SkyDrive - it"s a part of MS Windows LiveID - you should have it I > guess - the rest (handling SkyDrive) is just a matter of a few mouse points > and clicks. > > As Sharlotte noted you may also try EverNote but not everybody who uses MS Dev > tools has EverNote account (I personally have but in the test mode only). And > SkyDrive has API, which you might try to use later for code snippets import... > > Thank you. > > Shamil > > P.S. I'm typing all that from WinPhone from hospital (got right ear > inflammation) - I'm not yet in the good enough state to use notebook... > > 22 ?????? 2012, 07:00 ?? Arthur Fuller : > > Shamil, > > > > I would be happy to post what I have on SkyDrive, but I've never used it, > > so I may need your guidance regarding how to create an account, etc., and I > > guess more importantly, how to place my files in a shared location. > > > > And while I'm at it, Shamil (and any others so inclined), I have started a > > blog and I need some international readers. See > > http://artfulopinions.blogspot.com/. > > > > -- > > Arthur > > Cell: 647.710.1314 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Sun Jan 22 11:48:07 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sun, 22 Jan 2012 21:48:07 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Gustav, Yes, I like reading Arthur's blog - thought provoking written in flattering English... I"d only suppose that adding a bit more positive attitude to blog entries would make it even better how about that Arthur? As for "MS Big Brother" watching SkyDrive contents - could that be a 'secret nudity level' recognition technology used by MS? How it could be possible to manually investigate all the photos uploaded at SkyDrive? Thank you. Shamil 22 ?????? 2012, 20:44 ?? "Gustav Brock" : > Hi Shamil > > Best wishes for your recovery. A bit of luck you are able to spend some time > with Arthur's writing which is always worth reading. > > His note about Apple is only too true but - unfortunately - their attitude is > not outstanding. > > For example SkyDrive. It works very well but be aware that MSFT is literally > (by humans) watching your stuff. Two citizens here had their account blocked > until some pictures of lightly dressed women were removed; and it is not what > you may think - the two guys is a journalist and a designer of women's wear. > > /gustav > > > > >>> mcp2004 at mail.ru 22-01-12 9:26 >>> > Hi Arthur, > > Your blog is instantly accessible here from my WinPhone. But I'd propose to > make some "cosmetic" changes to it, namely: > - 1. Make more neutral brighter background for the non-header part of the > blog's page; > > - 2. Somehow move all/shortened rigth side part stuff to the header as reading > blog entries on smartphone in portrait mode without enlargement of page's > stuff is almost impossible (enalargement is easy two fingers gesture - > anyway...) > > I"d classify the above change request #1 as 'must have' and #2 as 'could > have'. > > As for SkyDrive - it"s a part of MS Windows LiveID - you should have it I > guess - the rest (handling SkyDrive) is just a matter of a few mouse points > and clicks. > > As Sharlotte noted you may also try EverNote but not everybody who uses MS Dev > tools has EverNote account (I personally have but in the test mode only). And > SkyDrive has API, which you might try to use later for code snippets import... > > Thank you. > > Shamil > > P.S. I'm typing all that from WinPhone from hospital (got right ear > inflammation) - I'm not yet in the good enough state to use notebook... > > 22 ?????? 2012, 07:00 ?? Arthur Fuller : > > Shamil, > > > > I would be happy to post what I have on SkyDrive, but I've never used it, > > so I may need your guidance regarding how to create an account, etc., and I > > guess more importantly, how to place my files in a shared location. > > > > And while I'm at it, Shamil (and any others so inclined), I have started a > > blog and I need some international readers. See > > http://artfulopinions.blogspot.com/. > > > > -- > > Arthur > > Cell: 647.710.1314 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From papparuff at comcast.net Sun Jan 22 12:22:15 2012 From: papparuff at comcast.net (papparuff at comcast.net) Date: Sun, 22 Jan 2012 18:22:15 +0000 (UTC) Subject: [AccessD] Tonya.Miller Message-ID: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> Important! http://itsmf.biz/stolko.php?jtorankpage=31 Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and they know more than you think; all that is needed to make this job complete." (c) Shaline vychutnavam From michael at mattysconsulting.com Sun Jan 22 12:31:44 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 22 Jan 2012 13:31:44 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> Message-ID: <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> This is Spam - looks like papparuff's Comcast account has been compromised. Same thing happened to my brother who is on Comcast. Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of papparuff at comcast.net Sent: Sunday, January 22, 2012 1:22 PM To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; rob_barnhart at hotmail.com; rob.barnhart at comcast.net; kdillon at staffpro.com; krsdillon at yahoo.com; rock759d at email.uophx.edu Subject: [AccessD] Tonya.Miller Important! http://itsmf.biz/stolko.php?jtorankpage=31 Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and they know more than you think; all that is needed to make this job complete." (c) Shaline vychutnavam -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Jan 22 12:36:11 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 22 Jan 2012 13:36:11 -0500 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: <002a01ccd934$b7125320$2536f960$@net> Re: 'secret nudity level' Here is the latest and greatest: http://stackoverflow.com/questions/713247/what-is-the-best-way-to-programatically-detect-porn-images Not perfect due to the high % of false positives. From gustav at cactus.dk Sun Jan 22 12:57:49 2012 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 22 Jan 2012 19:57:49 +0100 Subject: [AccessD] One Note Message-ID: Hi Shamil I don't know how they do, and you would probably receive no answer if you asked at MSFT. /Gustav >>> mcp2004 at mail.ru 22-01-12 18:48 >>> Hi Gustav, Yes, I like reading Arthur's blog - thought provoking written in flattering English... I"d only suppose that adding a bit more positive attitude to blog entries would make it even better how about that Arthur? As for "MS Big Brother" watching SkyDrive contents - could that be a 'secret nudity level' recognition technology used by MS? How it could be possible to manually investigate all the photos uploaded at SkyDrive? Thank you. Shamil 22 ?????? 2012, 20:44 ?? "Gustav Brock" : > Hi Shamil > > Best wishes for your recovery. A bit of luck you are able to spend some time > with Arthur's writing which is always worth reading. > > His note about Apple is only too true but - unfortunately - their attitude is > not outstanding. > > For example SkyDrive. It works very well but be aware that MSFT is literally > (by humans) watching your stuff. Two citizens here had their account blocked > until some pictures of lightly dressed women were removed; and it is not what > you may think - the two guys is a journalist and a designer of women's wear. > > /gustav From mcp2004 at mail.ru Sun Jan 22 14:16:17 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 23 Jan 2012 00:16:17 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: <002a01ccd934$b7125320$2536f960$@net> References: <002a01ccd934$b7125320$2536f960$@net> Message-ID: Yes, Mark, MS probably uses automated 'nudity" filter as one of mentioned in StackOverflow discussion you referred. Shamil 22 ?????? 2012, 22:37 ?? "Mark Simms" : > Re: 'secret nudity level' > Here is the latest and greatest: > http://stackoverflow.com/questions/713247/what-is-the-best-way-to-programatically-detect-porn-images > > Not perfect due to the high % of false positives. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at gmail.com Sun Jan 22 15:43:41 2012 From: garykjos at gmail.com (Gary Kjos) Date: Sun, 22 Jan 2012 15:43:41 -0600 Subject: [AccessD] Tonya.Miller In-Reply-To: <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: We will disable the account's ACCESSD privledges ASAP. On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys wrote: > This is Spam - looks like papparuff's Comcast account has been compromised. > Same thing happened to my brother who is on Comcast. > > Michael R Mattys > Mattys Consulting, LLC > www.mattysconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > papparuff at comcast.net > Sent: Sunday, January 22, 2012 1:22 PM > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; kdillon at staffpro.com; > krsdillon at yahoo.com; rock759d at email.uophx.edu > Subject: [AccessD] Tonya.Miller > > Important! > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > ? ? ? ? ? ?Sun, 22 Jan 2012 19:22:15 > ______________ > "Hooper, and they know more than you think; all that is needed to make this > job complete." (c) Shaline vychutnavam > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From darryl at whittleconsulting.com.au Sun Jan 22 16:13:08 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 22 Jan 2012 22:13:08 +0000 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> I will say that One Note is probably the finest piece of software MS has come up with since Excel. It is actually wonderful to use, intuitive and really bloody useful. You can sync and share parts of the notebook with other users, even over the web. I use it extensively now, both at work and in my personal life and it is my favourite piece of software these days. Great stuff. As for VBA, being a heavy user / developer of both Excel and Access (and a few other MS products) I find the various flavours of VBA between the apps to be a challenge for sure. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, 22 January 2012 4:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] One Note For the past couple of years or so, I have been storing snippets of VBA code as separate files in a subdir called VBA. But in the past couple of months, I have switched to OneNote, and I am totally impressed with this mechanism. I now have a NoteBook called VBA, and it contains several sections, and I have copied and pasted all the former txt and bas files into OneNote. This solution is WAY slicker than my old method. We all have different methods. No slight upon anyone here intended; my preference is to include all the required code, and only the required code, in any deployed solution. I do not want to burden the client with an "Everything Including the Kitchen Sink" solution; 70%+ of which will go unused in any given situation. Call me old-school: I can deal with that. I want all the required code and only the required code to be deployed in any given deployment. This practice dates to my years in lower-level languages. I admit that. But I also resist the tendency to include "Everything including the Kitchen Sink" approaches. Today I finally got around to importing all the snippets, previously stored as separate text files, into one single OneNote file. Actually, I have several such files now. Of interest here might be the MS-SQL file as well, which contains several dozen sprocs and views and so on. Another contains Recipes, since I am a fanatical cook; this file has two sections, Slow Cooking and otherwise. The more I use OneNote, the more I'm loving it. It loads quickly and saves automatically. Today's project was to import all my Access and SQL snippets into a corresponding pair of OneNote files, and this solution is extremely cool. The next logical step is to share said files with the community. No doubt, there will be some overlap, but assuming that I send you my OneNote VBA file, you could open it and import everything of interest into your own equivalent. This approach strikes me as way more intelligent than than the old horse "create a library and set a reference to it", for a couple of reasons: 1) the larger the library, the longer it will take to load the module of interest; 2) any code not part of the app of interest ought not to be there. Admittedly this is a tad more work than the old approach, but I like lean and mean versus the "junk in the trunk" approach. Call me an old-timer if you wish. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- 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 Jan 22 17:15:22 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Jan 2012 18:15:22 -0500 Subject: [AccessD] One Note In-Reply-To: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I confess agreement with your take on OneNote. In recent weeks, I have grown much more enthused, and now have at least a dozen notebooks, one on SQL code, one on VBA code, one on Recipes (divided into two sections, Slow Cooking and otherwise), a couple devoted to specific clients and their projects, and so on. I love the instantaneous auto-save feature, and I love the ability to create sections and pages within the sections. My VBA notebook has sections for DAO, ADO, general purpose modules, classes, API functions and so on. On Sun, Jan 22, 2012 at 5:13 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > I will say that One Note is probably the finest piece of software MS has > come up with since Excel. It is actually wonderful to use, intuitive and > really bloody useful. You can sync and share parts of the notebook with > other users, even over the web. I use it extensively now, both at work and > in my personal life and it is my favourite piece of software these days. > > Great stuff. > > As for VBA, being a heavy user / developer of both Excel and Access (and a > few other MS products) I find the various flavours of VBA between the apps > to be a challenge for sure. > > Cheers > Darryl > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From darryl at whittleconsulting.com.au Sun Jan 22 18:04:46 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 00:04:46 +0000 Subject: [AccessD] One Note In-Reply-To: References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> Indeed. I will also add the seamless integration with outlook also adds a lot of value for us. We need to keep track of multiple projects at once and provide visibility to many different people. Everytime anyone sends an email (or any data) that is relevant to a project, you can 'send' that email to Onenote immediately with a single click from Outlook, where it is stored as a page on the "emails" tab for that project in Onenote. Now anyone who has permissions to view the Onenote workbook can see that all the emails/Data (stored in sequential order) regardless if they were actually cc'd in on the original. Nice :) The email is taken 'as is' including all links, attachments etc and you can open up the files from Onenotes, just like from Outlook. Outstanding! It also integrates very well with Office 365 - although the online version of One note doesn't have all the functionality of the desktop client. Even so, it is pretty darn good. It also has a very neat and functional "snag it" feature where you can grab anything on the screen and it immediately pastes it into the notes as a graphic - along with auto time and date stamp. It is rapidly becoming the one bit of software I really don't want to do without. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, 23 January 2012 10:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note I confess agreement with your take on OneNote. In recent weeks, I have grown much more enthused, and now have at least a dozen notebooks, one on SQL code, one on VBA code, one on Recipes (divided into two sections, Slow Cooking and otherwise), a couple devoted to specific clients and their projects, and so on. I love the instantaneous auto-save feature, and I love the ability to create sections and pages within the sections. My VBA notebook has sections for DAO, ADO, general purpose modules, classes, API functions and so on. On Sun, Jan 22, 2012 at 5:13 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > I will say that One Note is probably the finest piece of software MS > has come up with since Excel. It is actually wonderful to use, > intuitive and really bloody useful. You can sync and share parts of > the notebook with other users, even over the web. I use it > extensively now, both at work and in my personal life and it is my favourite piece of software these days. > > Great stuff. > > As for VBA, being a heavy user / developer of both Excel and Access > (and a few other MS products) I find the various flavours of VBA > between the apps to be a challenge for sure. > > Cheers > Darryl > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Jan 22 18:48:02 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 22 Jan 2012 19:48:02 -0500 Subject: [AccessD] One Note In-Reply-To: <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <000001ccd968$a9ab3e20$fd01ba60$@net> Wow, I never really experimented with it. Are you guys talking the 2010 version or earlier ? From vbacreations at gmail.com Sun Jan 22 19:06:04 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 22 Jan 2012 20:06:04 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: I always wonder how these things happen. My brother's account was similarly "hijacked", as was another friend's just this very day. If my main account, mrbillbenson at nevermindwhere.com were hijacked, I would probably consider having a sex change (msbillbenson) just to keep it something I would have a chance to remember. I swear this keeps me up at night. On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > We will disable the account's ACCESSD privledges ASAP. > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > wrote: > > This is Spam - looks like papparuff's Comcast account has been > compromised. > > Same thing happened to my brother who is on Comcast. > > > > Michael R Mattys > > Mattys Consulting, LLC > > www.mattysconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > papparuff at comcast.net > > Sent: Sunday, January 22, 2012 1:22 PM > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; kdillon at staffpro.com > ; > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > Subject: [AccessD] Tonya.Miller > > > > Important! > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > Sun, 22 Jan 2012 19:22:15 > > ______________ > > "Hooper, and they know more than you think; all that is needed to make > this > > job complete." (c) Shaline vychutnavam > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* From darryl at whittleconsulting.com.au Sun Jan 22 19:06:18 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 01:06:18 +0000 Subject: [AccessD] One Note In-Reply-To: <000001ccd968$a9ab3e20$fd01ba60$@net> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> <000001ccd968$a9ab3e20$fd01ba60$@net> Message-ID: <56653D383CB80341995245C537A9E7B561F1C7@SINPRD0402MB099.apcprd04.prod.outlook.com> 2010 for me. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, 23 January 2012 11:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] One Note Wow, I never really experimented with it. Are you guys talking the 2010 version or earlier ? -- 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 Jan 22 19:28:20 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 22 Jan 2012 17:28:20 -0800 Subject: [AccessD] One Note In-Reply-To: <56653D383CB80341995245C537A9E7B561F1C7@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> <000001ccd968$a9ab3e20$fd01ba60$@net> <56653D383CB80341995245C537A9E7B561F1C7@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I used it a lot when I still had a Windows phone. Once I jumped to Android, I switched to Evernote, and there wasn't much point in using two different apps for the same kind of things. I'm not a lover of OneNote's tabbed interface at all, so it wasn't painful for me to leave. I still use dropbox for things I don't want to stash in Evernote but do want to share to my phone, though. Charlotte Foust On Sun, Jan 22, 2012 at 5:06 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > 2010 for me. :) > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, 23 January 2012 11:48 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] One Note > > Wow, I never really experimented with it. > Are you guys talking the 2010 version or earlier ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From dbdoug at gmail.com Sun Jan 22 19:30:50 2012 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 22 Jan 2012 17:30:50 -0800 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: >If my main account, mrbillbenson at nevermindwhere.com were hijacked, I would >probably consider having a sex change (msbillbenson) just to keep it >something I would have a chance to remember. >I swear this keeps me up at night. Getting your email hacked, or having a sex change? Doug From charlotte.foust at gmail.com Sun Jan 22 19:34:03 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Sun, 22 Jan 2012 17:34:03 -0800 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: ROTFL--Hey, it isn't Friday yet! Charlotte Foust On Sun, Jan 22, 2012 at 5:30 PM, Doug Steele wrote: > >If my main account, mrbillbenson at nevermindwhere.com were hijacked, I > would > >probably consider having a sex change (msbillbenson) just to keep it > >something I would have a chance to remember. > > >I swear this keeps me up at night. > > Getting your email hacked, or having a sex change? > > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From darryl at whittleconsulting.com.au Sun Jan 22 19:37:59 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 01:37:59 +0000 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> This is one likely path Bill: << http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-reusing-passwords/>> Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 23 January 2012 12:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tonya.Miller I always wonder how these things happen. My brother's account was similarly "hijacked", as was another friend's just this very day. If my main account, mrbillbenson at nevermindwhere.com were hijacked, I would probably consider having a sex change (msbillbenson) just to keep it something I would have a chance to remember. I swear this keeps me up at night. On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > We will disable the account's ACCESSD privledges ASAP. > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > wrote: > > This is Spam - looks like papparuff's Comcast account has been > compromised. > > Same thing happened to my brother who is on Comcast. > > > > Michael R Mattys > > Mattys Consulting, LLC > > www.mattysconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > papparuff at comcast.net > > Sent: Sunday, January 22, 2012 1:22 PM > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; > > kdillon at staffpro.com > ; > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > Subject: [AccessD] Tonya.Miller > > > > Important! > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and > > they know more than you think; all that is needed to make > this > > job complete." (c) Shaline vychutnavam > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- *Regards,* ** ** *Bill Benson* *VBACreations* ** PS: You've gotten this e-mail *because you matter to me!* -- 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 Jan 22 19:56:31 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 22 Jan 2012 20:56:31 -0500 Subject: [AccessD] One Note In-Reply-To: <000001ccd968$a9ab3e20$fd01ba60$@net> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com> <56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com> <000001ccd968$a9ab3e20$fd01ba60$@net> Message-ID: I'm using the 2007 version. A. On Sun, Jan 22, 2012 at 7:48 PM, Mark Simms wrote: > Wow, I never really experimented with it. > Are you guys talking the 2010 version or earlier ? > > > From vbacreations at gmail.com Sun Jan 22 19:59:42 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 22 Jan 2012 20:59:42 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <001001ccd934$18737b90$495a72b0$@mattysconsulting.com> Message-ID: Good one Doug, I have to admit! On Jan 22, 2012 8:32 PM, "Doug Steele" wrote: > >If my main account, mrbillbenson at nevermindwhere.com were hijacked, I > would > >probably consider having a sex change (msbillbenson) just to keep it > >something I would have a chance to remember. > > >I swear this keeps me up at night. > > Getting your email hacked, or having a sex change? > > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rusty.hammond at cpiqpc.com Sun Jan 22 20:30:44 2012 From: rusty.hammond at cpiqpc.com (Rusty Hammond) Date: Sun, 22 Jan 2012 20:30:44 -0600 Subject: [AccessD] One Note In-Reply-To: References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com><000001ccd968$a9ab3e20$fd01ba60$@net><56653D383CB80341995245C537A9E7B561F1C7@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <49A286ABF515E94A8505CD14DEB721701744A562@CPIEMAIL-EVS1.CPIQPC.NET> I really like One Note but the accessibility of Evernote from any platform has won me over. Plus, with the paid version you can share notebooks on the web for anyone to see. You can read on their site about how it's being used by various people. I liked the story about a school teacher having his students sign up for an account and how he has used it for assignments, etc... Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, January 22, 2012 7:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note I used it a lot when I still had a Windows phone. Once I jumped to Android, I switched to Evernote, and there wasn't much point in using two different apps for the same kind of things. I'm not a lover of OneNote's tabbed interface at all, so it wasn't painful for me to leave. I still use dropbox for things I don't want to stash in Evernote but do want to share to my phone, though. Charlotte Foust On Sun, Jan 22, 2012 at 5:06 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > 2010 for me. :) > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, 23 January 2012 11:48 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] One Note > > Wow, I never really experimented with it. > Are you guys talking the 2010 version or earlier ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From stuart at lexacorp.com.pg Sun Jan 22 20:45:01 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 23 Jan 2012 12:45:01 +1000 Subject: [AccessD] Tonya.Miller In-Reply-To: <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net>, , <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> And easy to guess passwords. You'd be amazed at the number of people who want to use either the address part of their email or their domain name as the password. Those are the first two that hackers try. After a couple of bad experiences, we insist that our users pick "hard to guess' passwords. (actually we assign most of them ourselves using random upper/lower/digit mixes) -- Stuart On 23 Jan 2012 at 1:37, Darryl Collins wrote: > This is one likely path Bill: > > << http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-reusing-passwords/>> > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > Sent: Monday, 23 January 2012 12:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tonya.Miller > > I always wonder how these things happen. > > > > My brother's account was similarly "hijacked", as was another friend's just this very day. > > > > If my main account, mrbillbenson at nevermindwhere.com were hijacked, I would probably consider having a sex change (msbillbenson) just to keep it something I would have a chance to remember. > > > > I swear this keeps me up at night. > > > On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > > > We will disable the account's ACCESSD privledges ASAP. > > > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > > wrote: > > > This is Spam - looks like papparuff's Comcast account has been > > compromised. > > > Same thing happened to my brother who is on Comcast. > > > > > > Michael R Mattys > > > Mattys Consulting, LLC > > > www.mattysconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > papparuff at comcast.net > > > Sent: Sunday, January 22, 2012 1:22 PM > > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; > > > kdillon at staffpro.com > > ; > > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > > Subject: [AccessD] Tonya.Miller > > > > > > Important! > > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > > > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and > > > they know more than you think; all that is needed to make > > this > > > job complete." (c) Shaline vychutnavam > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > Gary Kjos > > garykjos at gmail.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From darryl at whittleconsulting.com.au Sun Jan 22 20:49:00 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 02:49:00 +0000 Subject: [AccessD] One Note In-Reply-To: <49A286ABF515E94A8505CD14DEB721701744A562@CPIEMAIL-EVS1.CPIQPC.NET> References: <56653D383CB80341995245C537A9E7B561EF8C@SINPRD0402MB099.apcprd04.prod.outlook.com><56653D383CB80341995245C537A9E7B561F16A@SINPRD0402MB099.apcprd04.prod.outlook.com><000001ccd968$a9ab3e20$fd01ba60$@net><56653D383CB80341995245C537A9E7B561F1C7@SINPRD0402MB099.apcprd04.prod.outlook.com> <49A286ABF515E94A8505CD14DEB721701744A562@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <56653D383CB80341995245C537A9E7B561F2AD@SINPRD0402MB099.apcprd04.prod.outlook.com> Ok.. Ever-note looks cool too. I guess because we use Office 365 I can already use One-Note on any mobile platform (via a web browser) anyway. The only downside is that the web app version of One note lacks the full functionality of the desktop client. Given the O365 is still in fairly early days I would expect (or hope) that the functionality improves as the O365 system is upgraded over time. Actually O365 on the web does work better on IE, mainly due to the extensive Active X functionality on some of the controls. That said, it will work in any browser, albeit with some limited functionality in places. Funny about the UI comment. I really like the tabs in One notes and find them easy to use and understand, but Charlotte doesn't like them at all. This must be a problem for designers of these sort of inferfaces. We are all different in how we think and we like our data stored and presented. Interesting stuff. I wonder how the decide what works best. A lot of trial and error I guess, which a bit of fashion thrown in too I would think. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rusty Hammond Sent: Monday, 23 January 2012 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note I really like One Note but the accessibility of Evernote from any platform has won me over. Plus, with the paid version you can share notebooks on the web for anyone to see. You can read on their site about how it's being used by various people. I liked the story about a school teacher having his students sign up for an account and how he has used it for assignments, etc... Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Sunday, January 22, 2012 7:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note I used it a lot when I still had a Windows phone. Once I jumped to Android, I switched to Evernote, and there wasn't much point in using two different apps for the same kind of things. I'm not a lover of OneNote's tabbed interface at all, so it wasn't painful for me to leave. I still use dropbox for things I don't want to stash in Evernote but do want to share to my phone, though. Charlotte Foust On Sun, Jan 22, 2012 at 5:06 PM, Darryl Collins < darryl at whittleconsulting.com.au> wrote: > 2010 for me. :) > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, 23 January 2012 11:48 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] One Note > > Wow, I never really experimented with it. > Are you guys talking the 2010 version or earlier ? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jan 22 20:55:45 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 22 Jan 2012 18:55:45 -0800 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: <23E84FDBC73445F78B68427C78B47EE7@creativesystemdesigns.com> Glad to hear that...your hospital adventure seems to have not taken any bounce out of your step. Good fortune for a complete recovery. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, January 22, 2012 8:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note Thank you, Charlotte, I'm getting better. After all this opportunity of staying in hospital allowed me to get a bit more agile in working with WinPhone. EverNote still does not let me to register using its WinPhone client - I will use my PC when available. Shamil 22 ?????? 2012, 19:36 ?? Charlotte Foust : > Shamil, > > Ouch! I'm sorry to hear about your physical ailments and about the trouble > you're having with evernote. I had no problems signing up for a free > account from my android phone and only added the pc version later, so I > can't offer any suggestions. I've had no problems with evernote and have > run into no security issues with it. YMMV > > Charlotte > On Jan 22, 2012 1:03 AM, "Salakhetdinov Shamil" wrote: > > > Hi Charlotte, > > > > I have just tried to create an EverNote account via WinPhone EverNote app > > and I have got stuck with registration screen. Then I have googlled > > > > Evernote invalid username issue > > > > and the first google search result returned quite a few negative > > information about EverNote... > > > > Thank you. > > > > Shamil > > > > 22 ?????? 2012, 07:47 ?? Charlotte Foust : > > > An alternative for some is Evernote, which allows you to do most, if not > > > all, of the things you can in OneNote and also has versions available for > > > mobile platforms, including Android. I've pretty much given up OneNote > > and > > > its annoying interface since I found Evernote. No over the top gui > > > interface, just functionality and simplicity. I use it on PC and Android > > > and it uses cloud based sync/storage but allows you the option of a > > premium > > > account that includes offline storage on your device, which also syncs to > > > the cloud. > > > > > > Charlotte Foust > > > > > > On Sat, Jan 21, 2012 at 6:58 PM, Arthur Fuller > >wrote: > > > > > > > Shamil, > > > > > > > > I would be happy to post what I have on SkyDrive, but I've never used > > it, > > > > so I may need your guidance regarding how to create an account, etc., > > and I > > > > guess more importantly, how to place my files in a shared location. > > > > > > > > And while I'm at it, Shamil (and any others so inclined), I have > > started a > > > > blog and I need some international readers. See > > > > http://artfulopinions.blogspot.com/ > > > > > > > > . > > > > > > > > -- > > > > Arthur > > > > Cell: 647.710.1314 > > > > > > > > Prediction is difficult, especially of the future. > > > > -- Niels Bohr > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jan 22 21:09:05 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 22 Jan 2012 19:09:05 -0800 Subject: [AccessD] One Note In-Reply-To: References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> Message-ID: <8E9A074A8CE24F9C82A06EBDC752AADD@creativesystemdesigns.com> The one big issue with OneNote is that it does not have a Android app (yet), which until it does, makes it a nonstarter. Jim From rockysmolin at bchacc.com Sun Jan 22 22:15:05 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 22 Jan 2012 20:15:05 -0800 Subject: [AccessD] Tonya.Miller In-Reply-To: <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net>, , <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> Message-ID: <85D6DF4B57AE4E01BF4D8B01CCD4B584@HAL9007> Just look at the top 10: http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time Michael is number 14. WTF?? And more people use bitch than hello The top 25 for 2011: http://mashable.com/2011/11/17/worst-internet-passwords/ "password" is number one beating out 123456. Last time I hacked a system it was in a hospital. The password was 'doctor'. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, January 22, 2012 6:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tonya.Miller And easy to guess passwords. You'd be amazed at the number of people who want to use either the address part of their email or their domain name as the password. Those are the first two that hackers try. After a couple of bad experiences, we insist that our users pick "hard to guess' passwords. (actually we assign most of them ourselves using random upper/lower/digit mixes) -- Stuart On 23 Jan 2012 at 1:37, Darryl Collins wrote: > This is one likely path Bill: > > << > http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-re > using-passwords/>> > > Cheers > Darryl. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Benson > Sent: Monday, 23 January 2012 12:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tonya.Miller > > I always wonder how these things happen. > > > > My brother's account was similarly "hijacked", as was another friend's just this very day. > > > > If my main account, mrbillbenson at nevermindwhere.com were hijacked, I would probably consider having a sex change (msbillbenson) just to keep it something I would have a chance to remember. > > > > I swear this keeps me up at night. > > > On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > > > We will disable the account's ACCESSD privledges ASAP. > > > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > > wrote: > > > This is Spam - looks like papparuff's Comcast account has been > > compromised. > > > Same thing happened to my brother who is on Comcast. > > > > > > Michael R Mattys > > > Mattys Consulting, LLC > > > www.mattysconsulting.com > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > papparuff at comcast.net > > > Sent: Sunday, January 22, 2012 1:22 PM > > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; > > > kdillon at staffpro.com > > ; > > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > > Subject: [AccessD] Tonya.Miller > > > > > > Important! > > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > > > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and > > > they know more than you think; all that is needed to make > > this > > > job complete." (c) Shaline vychutnavam > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > Gary Kjos > > garykjos at gmail.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > *Regards,* > ** > ** > *Bill Benson* > *VBACreations* > ** > PS: You've gotten this e-mail *because you matter to me!* > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Sun Jan 22 22:25:41 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 22 Jan 2012 23:25:41 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> Message-ID: DARRYL: i feel main anecdote used by author was nonsequitor to his main point: fact was, the user used the same email account for business and pleasure. The pleasure company had an easy to hack host system. That has nothing to do with the uses failure to use a strong password or even to change passwords. I think it was not really very well written, took too long to make the point, and worse didn't even state the real issue. Or maybe I had so much trouble getting past the author's uncle Remus style I nodded off. On Jan 22, 2012 9:46 PM, "Stuart McLachlan" wrote: > And easy to guess passwords. > > You'd be amazed at the number of people who want to use either the address > part of their > email or their domain name as the password. Those are the first two that > hackers try. > > After a couple of bad experiences, we insist that our users pick "hard to > guess' passwords. > (actually we assign most of them ourselves using random upper/lower/digit > mixes) > > -- > Stuart > > On 23 Jan 2012 at 1:37, Darryl Collins wrote: > > > This is one likely path Bill: > > > > << > http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-reusing-passwords/ > >> > > > > Cheers > > Darryl. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > > Sent: Monday, 23 January 2012 12:06 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Tonya.Miller > > > > I always wonder how these things happen. > > > > > > > > My brother's account was similarly "hijacked", as was another friend's > just this very day. > > > > > > > > If my main account, mrbillbenson at nevermindwhere.com were hijacked, I > would probably consider having a sex change (msbillbenson) just to keep it > something I would have a chance to remember. > > > > > > > > I swear this keeps me up at night. > > > > > > On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > > > > > We will disable the account's ACCESSD privledges ASAP. > > > > > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > > > wrote: > > > > This is Spam - looks like papparuff's Comcast account has been > > > compromised. > > > > Same thing happened to my brother who is on Comcast. > > > > > > > > Michael R Mattys > > > > Mattys Consulting, LLC > > > > www.mattysconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > papparuff at comcast.net > > > > Sent: Sunday, January 22, 2012 1:22 PM > > > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; > > > > kdillon at staffpro.com > > > ; > > > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > > > Subject: [AccessD] Tonya.Miller > > > > > > > > Important! > > > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > > > > > > > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and > > > > they know more than you think; all that is needed to make > > > this > > > > job complete." (c) Shaline vychutnavam > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > Gary Kjos > > > garykjos at gmail.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > *Regards,* > > ** > > ** > > *Bill Benson* > > *VBACreations* > > ** > > PS: You've gotten this e-mail *because you matter to me!* > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Sun Jan 22 22:54:58 2012 From: vbacreations at gmail.com (William Benson) Date: Sun, 22 Jan 2012 23:54:58 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> Message-ID: No reflection on Darryl btw... whose helpful answer to my question about where hacking occurs was very appreciated. Darryl is not responsible for authors style or skill in making a point, nor my taste and (quite possibly) inability to read ;) On Jan 22, 2012 11:25 PM, "William Benson" wrote: > DARRYL: i feel main anecdote used by author was nonsequitor to his main > point: fact was, the user used the same email account for business and > pleasure. The pleasure company had an easy to hack host system. That has > nothing to do with the uses failure to use a strong password or even to > change passwords. > > I think it was not really very well written, took too long to make the > point, and worse didn't even state the real issue. > > Or maybe I had so much trouble getting past the author's uncle Remus style > I nodded off. > On Jan 22, 2012 9:46 PM, "Stuart McLachlan" > wrote: > >> And easy to guess passwords. >> >> You'd be amazed at the number of people who want to use either the >> address part of their >> email or their domain name as the password. Those are the first two that >> hackers try. >> >> After a couple of bad experiences, we insist that our users pick "hard to >> guess' passwords. >> (actually we assign most of them ourselves using random upper/lower/digit >> mixes) >> >> -- >> Stuart >> >> On 23 Jan 2012 at 1:37, Darryl Collins wrote: >> >> > This is one likely path Bill: >> > >> > << >> http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-reusing-passwords/ >> >> >> > >> > Cheers >> > Darryl. >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com [mailto: >> accessd-bounces at databaseadvisors.com] On Behalf Of William Benson >> > Sent: Monday, 23 January 2012 12:06 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] Tonya.Miller >> > >> > I always wonder how these things happen. >> > >> > >> > >> > My brother's account was similarly "hijacked", as was another friend's >> just this very day. >> > >> > >> > >> > If my main account, mrbillbenson at nevermindwhere.com were hijacked, I >> would probably consider having a sex change (msbillbenson) just to keep it >> something I would have a chance to remember. >> > >> > >> > >> > I swear this keeps me up at night. >> > >> > >> > On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: >> > >> > > We will disable the account's ACCESSD privledges ASAP. >> > > >> > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys >> > > wrote: >> > > > This is Spam - looks like papparuff's Comcast account has been >> > > compromised. >> > > > Same thing happened to my brother who is on Comcast. >> > > > >> > > > Michael R Mattys >> > > > Mattys Consulting, LLC >> > > > www.mattysconsulting.com >> > > > >> > > > -----Original Message----- >> > > > From: accessd-bounces at databaseadvisors.com >> > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> > > > papparuff at comcast.net >> > > > Sent: Sunday, January 22, 2012 1:22 PM >> > > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; >> > > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; >> > > > kdillon at staffpro.com >> > > ; >> > > > krsdillon at yahoo.com; rock759d at email.uophx.edu >> > > > Subject: [AccessD] Tonya.Miller >> > > > >> > > > Important! >> > > > http://itsmf.biz/stolko.php?jtorankpage=31 >> > > > >> > > > >> > > > >> > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and >> > > > they know more than you think; all that is needed to make >> > > this >> > > > job complete." (c) Shaline vychutnavam >> > > > -- >> > > > AccessD mailing list >> > > > AccessD at databaseadvisors.com >> > > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > > Website: http://www.databaseadvisors.com >> > > > >> > > > -- >> > > > AccessD mailing list >> > > > AccessD at databaseadvisors.com >> > > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > > Website: http://www.databaseadvisors.com >> > > >> > > >> > > >> > > -- >> > > Gary Kjos >> > > garykjos at gmail.com >> > > >> > > -- >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > >> > >> > >> > -- >> > *Regards,* >> > ** >> > ** >> > *Bill Benson* >> > *VBACreations* >> > ** >> > PS: You've gotten this e-mail *because you matter to me!* >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> -- >> Stuart McLachlan >> >> Ph: +675 340 4392 >> Mob: +675 7100 2028 >> Web: http://www.lexacorp.com.pg >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From darryl at whittleconsulting.com.au Sun Jan 22 23:05:05 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 05:05:05 +0000 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B561F472@SINPRD0402MB099.apcprd04.prod.outlook.com> Actually, I think it does have a lot to do about password use. Using the SAME password and email combo with external sites is where the weakness lies - regardless of how "strong" the password is. For example if you are using the same email account and password for both your email password login. (ie Myemail at yahoo.com.au with the password "Frogger") as being a registered user of the "OneEyedNews" comments section (so using "Myemail at yahoo.com.au" and "Frogger" password on the "OneEyedNews" site is the risk. A lot of folks do this as it is easier to recall just one password related your email account. Here's why, Because if the hacker can get the password and email details from "OneEyedNews", the can then use that combination to attempt to login to your email account. If the password is the same and they get access then you are at their mercy. They can either use your account without your knowledge, or lock you out of your own account (Change your own password to "Frogger2") and use the "Forgot Password" link on any other website you can use - many of which the can find out from your saved emails etc. In many cases clicking on the "Forget Password" link results in the site emailing you a new password or a link to reset your password the site. Clearly if this is a bank then your money is at risk - this is what happened in his example. So the warning is not to use you same email account and password combination. The lesson is to use a basic and throwaway type password that is wildly different to the ones you use to access your email account you signed up with when signing up to any external sites. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Monday, 23 January 2012 3:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tonya.Miller DARRYL: i feel main anecdote used by author was nonsequitor to his main point: fact was, the user used the same email account for business and pleasure. The pleasure company had an easy to hack host system. That has nothing to do with the uses failure to use a strong password or even to change passwords. I think it was not really very well written, took too long to make the point, and worse didn't even state the real issue. Or maybe I had so much trouble getting past the author's uncle Remus style I nodded off. On Jan 22, 2012 9:46 PM, "Stuart McLachlan" wrote: > And easy to guess passwords. > > You'd be amazed at the number of people who want to use either the > address part of their email or their domain name as the password. > Those are the first two that hackers try. > > After a couple of bad experiences, we insist that our users pick "hard > to guess' passwords. > (actually we assign most of them ourselves using random > upper/lower/digit > mixes) > > -- > Stuart > > On 23 Jan 2012 at 1:37, Darryl Collins wrote: > > > This is one likely path Bill: > > > > << > http://windowssecrets.com/top-story/the-thousand-dollar-penalty-for-re > using-passwords/ > >> > > > > Cheers > > Darryl. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of William Benson > > Sent: Monday, 23 January 2012 12:06 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Tonya.Miller > > > > I always wonder how these things happen. > > > > > > > > My brother's account was similarly "hijacked", as was another > > friend's > just this very day. > > > > > > > > If my main account, mrbillbenson at nevermindwhere.com were hijacked, I > would probably consider having a sex change (msbillbenson) just to > keep it something I would have a chance to remember. > > > > > > > > I swear this keeps me up at night. > > > > > > On Sun, Jan 22, 2012 at 4:43 PM, Gary Kjos wrote: > > > > > We will disable the account's ACCESSD privledges ASAP. > > > > > > On Sun, Jan 22, 2012 at 12:31 PM, Michael Mattys > > > wrote: > > > > This is Spam - looks like papparuff's Comcast account has been > > > compromised. > > > > Same thing happened to my brother who is on Comcast. > > > > > > > > Michael R Mattys > > > > Mattys Consulting, LLC > > > > www.mattysconsulting.com > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > > papparuff at comcast.net > > > > Sent: Sunday, January 22, 2012 1:22 PM > > > > To: accessd at databaseadvisors.com; alyssanjeanie at nocharge.com; > > > > rob_barnhart at hotmail.com; rob.barnhart at comcast.net; > > > > kdillon at staffpro.com > > > ; > > > > krsdillon at yahoo.com; rock759d at email.uophx.edu > > > > Subject: [AccessD] Tonya.Miller > > > > > > > > Important! > > > > http://itsmf.biz/stolko.php?jtorankpage=31 > > > > > > > > > > > > > > > > Sun, 22 Jan 2012 19:22:15 ______________ "Hooper, and > > > > they know more than you think; all that is needed to make > > > this > > > > job complete." (c) Shaline vychutnavam > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > Gary Kjos > > > garykjos at gmail.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > *Regards,* > > ** > > ** > > *Bill Benson* > > *VBACreations* > > ** > > PS: You've gotten this e-mail *because you matter to me!* > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 vbacreations at gmail.com Mon Jan 23 00:14:15 2012 From: vbacreations at gmail.com (William Benson) Date: Mon, 23 Jan 2012 01:14:15 -0500 Subject: [AccessD] Tonya.Miller In-Reply-To: References: <56525495.74415.1327256535964.JavaMail.root@sz0031a.emeryville.ca.mail.comcast.net> <56653D383CB80341995245C537A9E7B561F21E@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F1CC9AD.12910.F36A025@stuart.lexacorp.com.pg> <56653D383CB80341995245C537A9E7B561F472@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: I agree with that Darryl. A password strategy like you advocate is good.. if you are consistent. I am just saying a user who uses the same mail account to mix bank and news is asking for trouble. Segregating email accounts according to security category is better cost/benefit result than changing passwords every time I wipe my ...lips. IMHO. I use email addresses specific to purpose and degree of risk. IF someone steals my my mrbillbenson at gmail account they can ONLY affect areas of my life that I used that email for. I do not use that account to get password reminders for financial sites. In order for someone to attack my financial accounts they would need to hack a site that stores the email and pwd I use for financial ( only) transactions. _ > > On Jan 23, 2012 12:08 AM, "Darryl Collins" < darryl at whittleconsulting.com.au> wrote: >> >> Actually, I think it does have a lot to do about password use. Using the SAME password and email combo with external sites is where the weakness lies - regardless of how "strong" the password is. >> >> For example if you are using the same email account and password for both your email password login. (ie Myemail at yahoo.com.au with the password "Frogger") as being a registered user of the "OneEyedNews" comments section (so using "Myemail at yahoo.com.au" and "Frogger" password on the "OneEyedNews" site is the risk. A lot of folks do this as it is easier to recall just one password related your email account. >> >> Here's why, Because if the hacker can get the password and email details from "OneEyedNews", the can then use that combination to attempt to login to your email account. If the password is the same and they get access then you are at their mercy. They can either use your account without your knowledge, or lock you out of your own account (Change your own password to "Frogger2") and use the "Forgot Password" link on any other website you can use - many of which the can find out from your saved emails etc. >> >> In many cases clicking on the "Forget Password" link results in the site emailing you a new password or a link to reset your password the site. Clearly if this is a bank then your money is at risk - this is what happened in his example. >> >> So the warning is not to use you same email account and password combination. The lesson is to use a basic and throwaway type password that is wildly different to the ones you use to access your email account you signed up with when signing up to any external sites. >> >> Cheers >> Darryl >> From marklbreen at gmail.com Mon Jan 23 11:15:19 2012 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 23 Jan 2012 17:15:19 +0000 Subject: [AccessD] Help - Corrupt Access MDB File Message-ID: Hello AccessD, Since Access 1.0, I have not had a corrupt access file, but I have one today. Can you advice me what I should do? it is either 2000 or 2002-2003 format. I cannot open, and cannot import objects and cannot compant and repair with Access 2010. Each time Access says "un recognised database format". Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. Any suggestions appreciated, thanks Mark From jeff.developer at gmail.com Mon Jan 23 11:49:57 2012 From: jeff.developer at gmail.com (Jeff B) Date: Mon, 23 Jan 2012 11:49:57 -0600 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: Message-ID: <002701ccd9f7$6c8cd460$45a67d20$@gmail.com> Try opening it in Access 2000 or XP Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Monday, January 23, 2012 11:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Help - Corrupt Access MDB File Hello AccessD, Since Access 1.0, I have not had a corrupt access file, but I have one today. Can you advice me what I should do? it is either 2000 or 2002-2003 format. I cannot open, and cannot import objects and cannot compant and repair with Access 2010. Each time Access says "un recognised database format". Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. Any suggestions appreciated, thanks Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Jan 23 12:14:03 2012 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 23 Jan 2012 12:14:03 -0600 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: Message-ID: There is a standalone repair utility for 2000 Version db's http://support.microsoft.com/kb/273956 And for 2002 version http://support.microsoft.com/kb/295334/EN-US Be sure to run on a copy..... Good luck! On Mon, Jan 23, 2012 at 11:15 AM, Mark Breen wrote: > Hello AccessD, > > Since Access 1.0, I have not had a corrupt access file, but I have one > today. > > Can you advice me what I should do? ?it is either 2000 or 2002-2003 format. > > I cannot open, and cannot import objects and cannot compant and repair with > Access 2010. ?Each time Access says "un recognised database format". > > Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. > > Any suggestions appreciated, > > thanks > > Mark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From df.waters at comcast.net Mon Jan 23 12:18:56 2012 From: df.waters at comcast.net (Dan Waters) Date: Mon, 23 Jan 2012 12:18:56 -0600 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: Message-ID: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> A pay site to get this fixed is www.everythingaccess.com. I don't know what they charge. Unfortunately, if this has zipped down to 219K, there may be nothing left. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Monday, January 23, 2012 11:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Help - Corrupt Access MDB File Hello AccessD, Since Access 1.0, I have not had a corrupt access file, but I have one today. Can you advice me what I should do? it is either 2000 or 2002-2003 format. I cannot open, and cannot import objects and cannot compant and repair with Access 2010. Each time Access says "un recognised database format". Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. Any suggestions appreciated, thanks Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 23 12:24:07 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 23 Jan 2012 10:24:07 -0800 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> Message-ID: Mark: 90% compression would not be unusual IME. But from your description it sounds well and truly hosed. How about decompile? Probably not a winner but you could try. Dare I ask when their last backup was? Possibly you'd have better luck with A2003? Or earlier? If you shoot it over I could give it a try here. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, January 23, 2012 10:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help - Corrupt Access MDB File A pay site to get this fixed is www.everythingaccess.com. I don't know what they charge. Unfortunately, if this has zipped down to 219K, there may be nothing left. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Monday, January 23, 2012 11:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Help - Corrupt Access MDB File Hello AccessD, Since Access 1.0, I have not had a corrupt access file, but I have one today. Can you advice me what I should do? it is either 2000 or 2002-2003 format. I cannot open, and cannot import objects and cannot compant and repair with Access 2010. Each time Access says "un recognised database format". Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. Any suggestions appreciated, thanks Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Mon Jan 23 12:47:53 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 23 Jan 2012 13:47:53 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> Message-ID: <4F1DAB59.3020003@colbyconsulting.com> LOL, I am not firing this client. I have been working with them since 2002 and they are good folks. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/20/2012 10:30 PM, Arthur Fuller wrote: > Present them with the alternatives, and be prepared to fire the customer. > That's my advice. You are risking walking into a mined field. Place your > helmet over your private parts and enter at your risk. > From jwcolby at colbyconsulting.com Mon Jan 23 12:57:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 23 Jan 2012 13:57:37 -0500 Subject: [AccessD] One Note In-Reply-To: <002601ccd88d$2c2f0890$848d19b0$@net> References: <002601ccd88d$2c2f0890$848d19b0$@net> Message-ID: <4F1DADA1.8010209@colbyconsulting.com> >...and suddenly you want to spend the next year of your life learning Dot Net. Whereupon the kitchen sink is there by demand and you are not given the option. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/21/2012 5:36 PM, Mark Simms wrote: > This has always been a huge issue with VBA. Microsoft made it much worse > when they didn't have the Access dev team and the Excel dev team > COLLABORATE. MSFORMS should have been equivalent IMHO. > I can't count how many times I've wanted to use an Access forms related > piece of code in Excel... > and it failed miserably when intuitively it should have worked. > I have a heap of cls, bas, and frm/frx modules and I manage them thru Visual > Slickedit projects. > The problem is one of tagging and identifying the original app from where > they originated: > Word, Powerpoint, Outlook, Access, Excel. > Couple this with the problem of related DLL/OCX dependencies...and suddenly > you want to spend > the next year of your life learning Dot Net. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd- >> bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >> Sent: Saturday, January 21, 2012 12:49 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] One Note >> >> For the past couple of years or so, I have been storing snippets of VBA >> code as separate files in a subdir called VBA. But in the past couple >> of >> months, I have switched to OneNote, and I am totally impressed with >> this >> mechanism. I now have a NoteBook called VBA, and it contains several >> sections, and I have copied and pasted all the former txt and bas files >> into OneNote. This solution is WAY slicker than my old method. >> >> We all have different methods. No slight upon anyone here intended; my >> preference is to include all the required code, and only the required >> code, >> in any deployed solution. I do not want to burden the client with an >> "Everything Including the Kitchen Sink" solution; 70%+ of which will go >> unused in any given situation. >> >> Call me old-school: I can deal with that. I want all the required code >> and >> only the required code to be deployed in any given deployment. This >> practice dates to my years in lower-level languages. I admit that. But >> I >> also resist the tendency to include "Everything including the Kitchen >> Sink" >> approaches. >> >> Today I finally got around to importing all the snippets, previously >> stored >> as separate text files, into one single OneNote file. Actually, I have >> several such files now. Of interest here might be the MS-SQL file as >> well, >> which contains several dozen sprocs and views and so on. Another >> contains >> Recipes, since I am a fanatical cook; this file has two sections, Slow >> Cooking and otherwise. >> >> The more I use OneNote, the more I'm loving it. It loads quickly and >> saves >> automatically. Today's project was to import all my Access and SQL >> snippets >> into a corresponding pair of OneNote files, and this solution is >> extremely >> cool. >> >> The next logical step is to share said files with the community. No >> doubt, >> there will be some overlap, but assuming that I send you my OneNote VBA >> file, you could open it and import everything of interest into your own >> equivalent. >> >> This approach strikes me as way more intelligent than than the old >> horse >> "create a library and set a reference to it", for a couple of reasons: >> 1) >> the larger the library, the longer it will take to load the module of >> interest; 2) any code not part of the app of interest ought not to be >> there. >> >> Admittedly this is a tad more work than the old approach, but I like >> lean >> and mean versus the "junk in the trunk" approach. Call me an old-timer >> if >> you wish. >> >> -- >> Arthur >> Cell: 647.710.1314 >> >> Prediction is difficult, especially of the future. >> -- Niels Bohr >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From marksimms at verizon.net Mon Jan 23 14:16:31 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 23 Jan 2012 15:16:31 -0500 Subject: [AccessD] One Note In-Reply-To: <4F1DADA1.8010209@colbyconsulting.com> References: <002601ccd88d$2c2f0890$848d19b0$@net> <4F1DADA1.8010209@colbyconsulting.com> Message-ID: <00f601ccda0b$e604ee40$b20ecac0$@net> Ah yes John...and that's the "big problem"....and this is likely the reason my former client is moving towards litigation with the developer in their Access to DotNet migration and upgrade. It's been over 2 years now, and they still have....nothing. > Whereupon the kitchen sink is there by demand and you are not given the > option. ;) From davidmcafee at gmail.com Mon Jan 23 14:20:00 2012 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 23 Jan 2012 12:20:00 -0800 Subject: [AccessD] Adjust Label width based on caption Message-ID: I have two labels. One (lblHistory) has text which can vary in length. I have another label (lblAlert), to the right on lblHistory which, under certain conditions, may be set to be visible, Red or Black and bold or non bold. I'd have lblAlert butted up next to lblHistory, but if the length of the text is short, it doesn't look right. I can figure out how to position the 2nd label, but at the moment I can't decide how to "trim" the label length. Any ideas? David From davidmcafee at gmail.com Mon Jan 23 15:15:14 2012 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 23 Jan 2012 13:15:14 -0800 Subject: [AccessD] Adjust Label width based on caption In-Reply-To: References: Message-ID: I ended up doing this: Me.lblHistory.Width = ((Len(trim(Me.lblHistory.Caption)) * 107) + 25) Me.lblAlert.Left = (Me.lblHistory.Width + 125) Works good! David On Mon, Jan 23, 2012 at 12:20 PM, David McAfee wrote: > I have two labels. > > One (lblHistory) has text which can vary in length. > > I have another label (lblAlert), to the right on lblHistory which, under > certain conditions, may be set to be visible, Red or Black and bold or non > bold. > > I'd have lblAlert butted up next to lblHistory, but if the length of the > text is short, it doesn't look right. > > I can figure out how to position the 2nd label, but at the moment I can't > decide how to "trim" the label length. > > Any ideas? > > David > From BradM at blackforestltd.com Mon Jan 23 15:32:55 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 15:32:55 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) References: Message-ID: All, I noticed that there is a maximum of 754 controls that can be added over the lifetime to a form. I understand how to determine how many controls are currently on a form, but I don't understand how a person can discern how many have been added "over the lifetime" of the form. Also, if a Form hits this limit, is there an easy way to deal with this issue? Thanks, Brad PS. I tried a search on the AccessD archives but hit a snag. From gustav at cactus.dk Mon Jan 23 15:43:40 2012 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 23 Jan 2012 22:43:40 +0100 Subject: [AccessD] One Note Message-ID: Hi Mark But don't blame .Net or Visual Studio for this. /Gustav >>> marksimms at verizon.net 23-01-12 21:16 >>> Ah yes John...and that's the "big problem"....and this is likely the reason my former client is moving towards litigation with the developer in their Access to DotNet migration and upgrade. It's been over 2 years now, and they still have....nothing. > Whereupon the kitchen sink is there by demand and you are not given the > option. ;) From stuart at lexacorp.com.pg Mon Jan 23 15:55:02 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 07:55:02 +1000 Subject: [AccessD] Adjust Label width based on caption In-Reply-To: References: , Message-ID: <4F1DD736.21300.39B7BC6@stuart.lexacorp.com.pg> If you include Lebans' code at http://www.lebans.com/textwidth-height.htm you can do it more accurately with something like this: Dim lngTemp As Long lblTest.Caption = "ABCDEFGHIJKLMNOP" lngTemp = fTextWidth(lblTest) + 100 lblTest.Width = lngTemp lblTest2.Left = lblTest.Left + lngTemp TextHeightWidth.zip is a replacement for the Report object's TextWidth and TextHeight methods. It is multiline aware and can work in both Report and Form views. Includes a sample report to show you how to autosize individual controls with different formatting on the same line to simulate RTF style text. -- Stuart On 23 Jan 2012 at 13:15, David McAfee wrote: > I ended up doing this: > > > Me.lblHistory.Width = ((Len(trim(Me.lblHistory.Caption)) * 107) + 25) > Me.lblAlert.Left = (Me.lblHistory.Width + 125) > > Works good! > > David > > On Mon, Jan 23, 2012 at 12:20 PM, David McAfee wrote: > > > I have two labels. > > > > One (lblHistory) has text which can vary in length. > > > > I have another label (lblAlert), to the right on lblHistory which, under > > certain conditions, may be set to be visible, Red or Black and bold or non > > bold. > > > > I'd have lblAlert butted up next to lblHistory, but if the length of the > > text is short, it doesn't look right. > > > > I can figure out how to position the 2nd label, but at the moment I can't > > decide how to "trim" the label length. > > > > Any ideas? > > > > David > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From charlotte.foust at gmail.com Mon Jan 23 16:10:56 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 14:10:56 -0800 Subject: [AccessD] One Note In-Reply-To: <00f601ccda0b$e604ee40$b20ecac0$@net> References: <002601ccd88d$2c2f0890$848d19b0$@net> <4F1DADA1.8010209@colbyconsulting.com> <00f601ccda0b$e604ee40$b20ecac0$@net> Message-ID: Mark, If they have nothing after 2 years, then they should litigate. They should at least have had a working interface to replace the basic Access GUI within months and the enhancements to totally replace the functionality should have been down well within 2 years . The capability is all there in .Net, although it's easier to achieve if you work with some of the 3rd party controls and report builders rather than rolling your own in the native Visual Studio environment. Many of the 3rd party tools actually allow you to import from Access, although you have to do a lot of work after the fact to clean them up and the code doesn't work, of course. Never do it with a form, but it can be useful for simple reports. Sounds like someone was using the project for OJT and couldn't actually deliver. Charlotte Foust On Mon, Jan 23, 2012 at 12:16 PM, Mark Simms wrote: > Ah yes John...and that's the "big problem"....and this is likely the reason > my former client is moving towards litigation with the developer in their > Access to DotNet migration and upgrade. It's been over 2 years now, and > they > still have....nothing. > > > Whereupon the kitchen sink is there by demand and you are not given the > > option. ;) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From mcp2004 at mail.ru Mon Jan 23 16:11:47 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 24 Jan 2012 02:11:47 +0400 Subject: [AccessD] =?utf-8?q?One_Note?= In-Reply-To: References: Message-ID: Hi Gustav and Mark, Yes, failure in converting an MS Access app into a .NET-driven one can't be IMO a cause to blame .NET or Visual Studio... Thank you. Shamil 24 ?????? 2012, 01:39 ?? "Gustav Brock" : > Hi Mark > > But don't blame .Net or Visual Studio for this. > > /Gustav > > > >>> marksimms at verizon.net 23-01-12 21:16 >>> > Ah yes John...and that's the "big problem"....and this is likely the reason > my former client is moving towards litigation with the developer in their > Access to DotNet migration and upgrade. It's been over 2 years now, and they > still have....nothing. > > > Whereupon the kitchen sink is there by demand and you are not given the > > option. ;) > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From charlotte.foust at gmail.com Mon Jan 23 16:20:46 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 14:20:46 -0800 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) In-Reply-To: References: Message-ID: Didn't we just have this discussion a few weeks ago? As far as I know, you can't determine how many have been added. The number is stored internally is some arcane form that on Access sees. Ordinarily, well designed forms (which means you don't put everything on a single form) don't hit the limit ever. If you do hit the limit, one cure is to create a new form and copy and paste the controls and code from the old form, then renaming the old and new forms as needed. One suggestion made in our last discussion of this was to save the maxed out form to a text file and then import it into a new form in Access. That will certainly work with the code, but I've never tried more than that. Charlotte Foust On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks wrote: > All, > > I noticed that there is a maximum of 754 controls that can be added over > the lifetime to a form. > > I understand how to determine how many controls are currently on a form, > but I don't understand how a person can discern how many have been added > "over the lifetime" of the form. > > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > > Thanks, > > Brad > > PS. I tried a search on the AccessD archives but hit a snag. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Mon Jan 23 16:22:10 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 08:22:10 +1000 Subject: [AccessD] One Note In-Reply-To: <4F1DADA1.8010209@colbyconsulting.com> References: , <002601ccd88d$2c2f0890$848d19b0$@net>, <4F1DADA1.8010209@colbyconsulting.com> Message-ID: <4F1DDD92.21546.3B452E3@stuart.lexacorp.com.pg> http://betanews.com/2012/01/23/compact-software-development-is-in-bloat-is-out/ Native Coding is making a Comeback! C is the cornerstone of native coding, particularly when it comes to Windows. It is interesting that it continues to show such a strong standing among languages. Even Microsoft, I have read, has shown an interest in getting back to native coding (albiet using C++ most likely). Why the interest in native coding after years of pushing .NET and other frameworks? It can be summed up in two words: Speed and Size! Yes, speed and size of applications. Maybe because of all the interest in tablet PC's and smartphones, whch really need smaller and faster applications because of their form factors (limited hardware). Maybe many are just getting tired of bloated software (takes too much space and memory and runs too slow). Whatever the reasons, it can be summed up with "compact and fast are IN" and "bloat and slow are OUT". On 23 Jan 2012 at 13:57, jwcolby wrote: > >...and suddenly you want to spend the next year of your life learning Dot Net. > > Whereupon the kitchen sink is there by demand and you are not given the option. ;) -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From charlotte.foust at gmail.com Mon Jan 23 16:26:57 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 14:26:57 -0800 Subject: [AccessD] One Note In-Reply-To: <4F1DDD92.21546.3B452E3@stuart.lexacorp.com.pg> References: <002601ccd88d$2c2f0890$848d19b0$@net> <4F1DADA1.8010209@colbyconsulting.com> <4F1DDD92.21546.3B452E3@stuart.lexacorp.com.pg> Message-ID: Are you making remarks about my age and waistline, Stuart?? [?] Charlotte Foust On Mon, Jan 23, 2012 at 2:22 PM, Stuart McLachlan wrote: > > http://betanews.com/2012/01/23/compact-software-development-is-in-bloat-is-out/ > > > > > Native Coding is making a Comeback! > > C is the cornerstone of native coding, particularly when it comes to > Windows. It is interesting > that it continues to show such a strong standing among languages. Even > Microsoft, I have > read, has shown an interest in getting back to native coding (albiet using > C++ most likely). > Why the interest in native coding after years of pushing .NET and other > frameworks? It can > be summed up in two words: > > Speed and Size! > > Yes, speed and size of applications. Maybe because of all the interest in > tablet PC's and > smartphones, whch really need smaller and faster applications because of > their form factors > (limited hardware). Maybe many are just getting tired of bloated software > (takes too much > space and memory and runs too slow). Whatever the reasons, it can be > summed up with > "compact and fast are IN" and "bloat and slow are OUT". > > > > > On 23 Jan 2012 at 13:57, jwcolby wrote: > > > >...and suddenly you want to spend the next year of your life learning > Dot Net. > > > > Whereupon the kitchen sink is there by demand and you are not given the > option. ;) > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From charlotte.foust at gmail.com Mon Jan 23 16:29:11 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 14:29:11 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F1DAB59.3020003@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> <4F1DAB59.3020003@colbyconsulting.com> Message-ID: JC, is you've been working for them since 2002, why are they still in the dark ages of Access?? ;-) Charlotte Foust On Mon, Jan 23, 2012 at 10:47 AM, jwcolby wrote: > LOL, I am not firing this client. I have been working with them since > 2002 and they are good folks. > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/20/2012 10:30 PM, Arthur Fuller wrote: > >> Present them with the alternatives, and be prepared to fire the customer. >> That's my advice. You are risking walking into a mined field. Place your >> helmet over your private parts and enter at your risk. >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.**com > > > From BradM at blackforestltd.com Mon Jan 23 16:35:18 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 16:35:18 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) References: Message-ID: Charlotte, Thanks for the info. I sort of remember this discussion from a few weeks ago, but I wasn't fully paying attention at the time. Today, I started to think about this some more and decided to do some experimenting. I also tried to find the earlier discussion in the AccessD Archives but hit a snag. I have a form with about 10 tabs. Each tab has a number of buttons, etc. I have not been careful with adding and deleting buttons, so I would like to be able to see what the "Lifetime" number is for this form. I appreciate your advice on how to deal with the problem if the limit is reached. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 23, 2012 4:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) Didn't we just have this discussion a few weeks ago? As far as I know, you can't determine how many have been added. The number is stored internally is some arcane form that on Access sees. Ordinarily, well designed forms (which means you don't put everything on a single form) don't hit the limit ever. If you do hit the limit, one cure is to create a new form and copy and paste the controls and code from the old form, then renaming the old and new forms as needed. One suggestion made in our last discussion of this was to save the maxed out form to a text file and then import it into a new form in Access. That will certainly work with the code, but I've never tried more than that. Charlotte Foust On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks wrote: > All, > > I noticed that there is a maximum of 754 controls that can be added over > the lifetime to a form. > > I understand how to determine how many controls are currently on a form, > but I don't understand how a person can discern how many have been added > "over the lifetime" of the form. > > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > > Thanks, > > Brad > > PS. I tried a search on the AccessD archives but hit a snag. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From charlotte.foust at gmail.com Mon Jan 23 16:44:43 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 14:44:43 -0800 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) In-Reply-To: References: Message-ID: OK, tab controls are kind of odd containers, much like option groups. The controls they contain are part of the count for a form, not just the tab control itself. The easiest way to avoid problems is to use subforms on the tab pages, since each subform is a single control but it can also contain up to the lifetime maximum controls, which only count on the subform and not on the parent form. That's how you get around the limits, by using subforms wherever practical. The subforms don't have to show data, they can contain nothing but buttons, if you wish. You can use an unbound subform to call global routines and merely reference the parent form's information to pass the required values to the call. Does that help? Charlotte Foust On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks wrote: > Charlotte, > > Thanks for the info. > > I sort of remember this discussion from a few weeks ago, but I wasn't > fully paying attention at the time. > Today, I started to think about this some more and decided to do some > experimenting. I also tried to find the earlier discussion in the > AccessD Archives but hit a snag. > > I have a form with about 10 tabs. Each tab has a number of buttons, > etc. I have not been careful with adding and deleting buttons, so I > would like to be able to see what the "Lifetime" number is for this > form. > > I appreciate your advice on how to deal with the problem if the limit is > reached. > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, January 23, 2012 4:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > Added Over the Lifetime to a Form (Access 2007) > > Didn't we just have this discussion a few weeks ago? As far as I know, > you > can't determine how many have been added. The number is stored > internally > is some arcane form that on Access sees. Ordinarily, well designed > forms > (which means you don't put everything on a single form) don't hit the > limit > ever. If you do hit the limit, one cure is to create a new form and > copy > and paste the controls and code from the old form, then renaming the old > and new forms as needed. One suggestion made in our last discussion of > this was to save the maxed out form to a text file and then import it > into > a new form in Access. That will certainly work with the code, but I've > never tried more than that. > > Charlotte Foust > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > wrote: > > > All, > > > > I noticed that there is a maximum of 754 controls that can be added > over > > the lifetime to a form. > > > > I understand how to determine how many controls are currently on a > form, > > but I don't understand how a person can discern how many have been > added > > "over the lifetime" of the form. > > > > Also, if a Form hits this limit, is there an easy way to deal with > this > > issue? > > > > Thanks, > > > > Brad > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From BradM at blackforestltd.com Mon Jan 23 16:50:56 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 16:50:56 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) References: Message-ID: Charlotte, Yes, that helps a lot. Being a curious type of person, I would think that there would be some way to see the "Lifetime" count in Access. I don't know if my form in question is in the 200 range, 300 range, or dangerously close to the max. I plan to experiment with Sub-Forms, but I would rather not incur changes if I knew that I was a long ways from the Max. Thanks again, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, January 23, 2012 4:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) OK, tab controls are kind of odd containers, much like option groups. The controls they contain are part of the count for a form, not just the tab control itself. The easiest way to avoid problems is to use subforms on the tab pages, since each subform is a single control but it can also contain up to the lifetime maximum controls, which only count on the subform and not on the parent form. That's how you get around the limits, by using subforms wherever practical. The subforms don't have to show data, they can contain nothing but buttons, if you wish. You can use an unbound subform to call global routines and merely reference the parent form's information to pass the required values to the call. Does that help? Charlotte Foust On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks wrote: > Charlotte, > > Thanks for the info. > > I sort of remember this discussion from a few weeks ago, but I wasn't > fully paying attention at the time. > Today, I started to think about this some more and decided to do some > experimenting. I also tried to find the earlier discussion in the > AccessD Archives but hit a snag. > > I have a form with about 10 tabs. Each tab has a number of buttons, > etc. I have not been careful with adding and deleting buttons, so I > would like to be able to see what the "Lifetime" number is for this > form. > > I appreciate your advice on how to deal with the problem if the limit is > reached. > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, January 23, 2012 4:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > Added Over the Lifetime to a Form (Access 2007) > > Didn't we just have this discussion a few weeks ago? As far as I know, > you > can't determine how many have been added. The number is stored > internally > is some arcane form that on Access sees. Ordinarily, well designed > forms > (which means you don't put everything on a single form) don't hit the > limit > ever. If you do hit the limit, one cure is to create a new form and > copy > and paste the controls and code from the old form, then renaming the old > and new forms as needed. One suggestion made in our last discussion of > this was to save the maxed out form to a text file and then import it > into > a new form in Access. That will certainly work with the code, but I've > never tried more than that. > > Charlotte Foust > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > wrote: > > > All, > > > > I noticed that there is a maximum of 754 controls that can be added > over > > the lifetime to a form. > > > > I understand how to determine how many controls are currently on a > form, > > but I don't understand how a person can discern how many have been > added > > "over the lifetime" of the form. > > > > Also, if a Form hits this limit, is there an easy way to deal with > this > > issue? > > > > Thanks, > > > > Brad > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From garykjos at gmail.com Mon Jan 23 17:05:59 2012 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 23 Jan 2012 17:05:59 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) In-Reply-To: References: Message-ID: This code from here http://www.access-programmers.co.uk/forums/showthread.php?t=211166 will supposedly count your controls Private Sub cmdCountControls_Click() Dim ctl As Access.Control Dim lngCount As Long For Each ctl In Me lngCount = lngCount + 1 Next ctl MsgBox lngCount ' << 219 on the Form I tested it on. End Sub On Mon, Jan 23, 2012 at 3:32 PM, Brad Marks wrote: > All, > > I noticed that there is a maximum of 754 controls that can be added over > the lifetime to a form. > > I understand how to determine how many controls are currently on a form, > but I don't understand how a person can discern how many have been added > "over the lifetime" of the form. > > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > > Thanks, > > Brad > > PS. I tried a search on the AccessD archives but hit a snag. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com From stuart at lexacorp.com.pg Mon Jan 23 17:15:37 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 09:15:37 +1000 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) In-Reply-To: References: , Message-ID: <4F1DEA19.30228.3E543E6@stuart.lexacorp.com.pg> You can see the Lifetime count if you save the form as text and look for ItemSuffix in the resulting file. Here's a quick and dirty function I've just knocked up to do it. Function ControlCount(FormName As String) As Long Dim strTemp As String Dim lngCount As Long SaveAsText acForm, FormName, CurrentProject.Path & FormName & ".txt" Open CurrentProject.Path & FormName & ".txt" For Input As #1 While Not EOF(1) And lngCount = 0 Line Input #1, strTemp strTemp = Trim$(strTemp) If Left$(strTemp, 12) = "ItemSuffix =" Then lngCount = Val(Mid$(strTemp, 13)) End If Wend Close #1 Kill CurrentProject.Path & FormName & ".txt" ControlCount = lngCOunt End Function On 23 Jan 2012 at 16:50, Brad Marks wrote: > Charlotte, > > Yes, that helps a lot. > > Being a curious type of person, I would think that there would be some > way to see the "Lifetime" count in Access. I don't know if my form in > question is in the 200 range, 300 range, or dangerously close to the > max. > > I plan to experiment with Sub-Forms, but I would rather not incur > changes if I knew that I was a long ways from the Max. > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, January 23, 2012 4:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > Added Over the Lifetime to a Form (Access 2007) > > OK, tab controls are kind of odd containers, much like option groups. > The > controls they contain are part of the count for a form, not just the tab > control itself. The easiest way to avoid problems is to use subforms on > the tab pages, since each subform is a single control but it can also > contain up to the lifetime maximum controls, which only count on the > subform and not on the parent form. That's how you get around the > limits, > by using subforms wherever practical. The subforms don't have to show > data, they can contain nothing but buttons, if you wish. You can use an > unbound subform to call global routines and merely reference the parent > form's information to pass the required values to the call. Does that > help? > > Charlotte Foust > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > wrote: > > > Charlotte, > > > > Thanks for the info. > > > > I sort of remember this discussion from a few weeks ago, but I wasn't > > fully paying attention at the time. > > Today, I started to think about this some more and decided to do some > > experimenting. I also tried to find the earlier discussion in the > > AccessD Archives but hit a snag. > > > > I have a form with about 10 tabs. Each tab has a number of buttons, > > etc. I have not been careful with adding and deleting buttons, so I > > would like to be able to see what the "Lifetime" number is for this > > form. > > > > I appreciate your advice on how to deal with the problem if the limit > is > > reached. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > > Added Over the Lifetime to a Form (Access 2007) > > > > Didn't we just have this discussion a few weeks ago? As far as I > know, > > you > > can't determine how many have been added. The number is stored > > internally > > is some arcane form that on Access sees. Ordinarily, well designed > > forms > > (which means you don't put everything on a single form) don't hit the > > limit > > ever. If you do hit the limit, one cure is to create a new form and > > copy > > and paste the controls and code from the old form, then renaming the > old > > and new forms as needed. One suggestion made in our last discussion > of > > this was to save the maxed out form to a text file and then import it > > into > > a new form in Access. That will certainly work with the code, but > I've > > never tried more than that. > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > wrote: > > > > > All, > > > > > > I noticed that there is a maximum of 754 controls that can be added > > over > > > the lifetime to a form. > > > > > > I understand how to determine how many controls are currently on a > > form, > > > but I don't understand how a person can discern how many have been > > added > > > "over the lifetime" of the form. > > > > > > Also, if a Form hits this limit, is there an easy way to deal with > > this > > > issue? > > > > > > Thanks, > > > > > > Brad > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From BradM at blackforestltd.com Mon Jan 23 17:16:11 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 17:16:11 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) References: Message-ID: Gary, Thanks. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, January 23, 2012 5:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) This code from here http://www.access-programmers.co.uk/forums/showthread.php?t=211166 will supposedly count your controls Private Sub cmdCountControls_Click() Dim ctl As Access.Control Dim lngCount As Long For Each ctl In Me lngCount = lngCount + 1 Next ctl MsgBox lngCount ' << 219 on the Form I tested it on. End Sub On Mon, Jan 23, 2012 at 3:32 PM, Brad Marks wrote: > All, > > I noticed that there is a maximum of 754 controls that can be added over > the lifetime to a form. > > I understand how to determine how many controls are currently on a form, > but I don't understand how a person can discern how many have been added > "over the lifetime" of the form. > > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > > Thanks, > > Brad > > PS. I tried a search on the AccessD archives but hit a snag. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Mon Jan 23 17:17:28 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 09:17:28 +1000 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) In-Reply-To: References: , , Message-ID: <4F1DEA88.22362.3E6F598@stuart.lexacorp.com.pg> That doesn't reflect the "lifetime count", only the number of controls currently on the form - excluding any previously created and deleted controls. On 23 Jan 2012 at 17:05, Gary Kjos wrote: > This code from here > > http://www.access-programmers.co.uk/forums/showthread.php?t=211166 > > will supposedly count your controls > > Private Sub cmdCountControls_Click() > Dim ctl As Access.Control > Dim lngCount As Long > > For Each ctl In Me > lngCount = lngCount + 1 > Next ctl > > MsgBox lngCount ' << 219 on the Form I tested it on. > > End Sub > > On Mon, Jan 23, 2012 at 3:32 PM, Brad Marks wrote: > > All, > > > > I noticed that there is a maximum of 754 controls that can be added over > > the lifetime to a form. > > > > I understand how to determine how many controls are currently on a form, > > but I don't understand how a person can discern how many have been added > > "over the lifetime" of the form. > > > > Also, if a Form hits this limit, is there an easy way to deal with this > > issue? > > > > Thanks, > > > > Brad > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From BradM at blackforestltd.com Mon Jan 23 17:21:48 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 17:21:48 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls AddedOver the Lifetime to a Form (Access 2007) References: , <4F1DEA19.30228.3E543E6@stuart.lexacorp.com.pg> Message-ID: Stuart, Thanks for the code sample for the LifeTime Count. This is starting to make sense. Brad PS. I love the expression "Knocked Up" when referring to writing code! It has quite a different meaning on this side of the pond :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, January 23, 2012 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of Controls AddedOver the Lifetime to a Form (Access 2007) You can see the Lifetime count if you save the form as text and look for ItemSuffix in the resulting file. Here's a quick and dirty function I've just knocked up to do it. Function ControlCount(FormName As String) As Long Dim strTemp As String Dim lngCount As Long SaveAsText acForm, FormName, CurrentProject.Path & FormName & ".txt" Open CurrentProject.Path & FormName & ".txt" For Input As #1 While Not EOF(1) And lngCount = 0 Line Input #1, strTemp strTemp = Trim$(strTemp) If Left$(strTemp, 12) = "ItemSuffix =" Then lngCount = Val(Mid$(strTemp, 13)) End If Wend Close #1 Kill CurrentProject.Path & FormName & ".txt" ControlCount = lngCOunt End Function On 23 Jan 2012 at 16:50, Brad Marks wrote: > Charlotte, > > Yes, that helps a lot. > > Being a curious type of person, I would think that there would be some > way to see the "Lifetime" count in Access. I don't know if my form in > question is in the 200 range, 300 range, or dangerously close to the > max. > > I plan to experiment with Sub-Forms, but I would rather not incur > changes if I knew that I was a long ways from the Max. > > Thanks again, > Brad > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Monday, January 23, 2012 4:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > Added Over the Lifetime to a Form (Access 2007) > > OK, tab controls are kind of odd containers, much like option groups. > The > controls they contain are part of the count for a form, not just the tab > control itself. The easiest way to avoid problems is to use subforms on > the tab pages, since each subform is a single control but it can also > contain up to the lifetime maximum controls, which only count on the > subform and not on the parent form. That's how you get around the > limits, > by using subforms wherever practical. The subforms don't have to show > data, they can contain nothing but buttons, if you wish. You can use an > unbound subform to call global routines and merely reference the parent > form's information to pass the required values to the call. Does that > help? > > Charlotte Foust > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > wrote: > > > Charlotte, > > > > Thanks for the info. > > > > I sort of remember this discussion from a few weeks ago, but I wasn't > > fully paying attention at the time. > > Today, I started to think about this some more and decided to do some > > experimenting. I also tried to find the earlier discussion in the > > AccessD Archives but hit a snag. > > > > I have a form with about 10 tabs. Each tab has a number of buttons, > > etc. I have not been careful with adding and deleting buttons, so I > > would like to be able to see what the "Lifetime" number is for this > > form. > > > > I appreciate your advice on how to deal with the problem if the limit > is > > reached. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:21 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > > Added Over the Lifetime to a Form (Access 2007) > > > > Didn't we just have this discussion a few weeks ago? As far as I > know, > > you > > can't determine how many have been added. The number is stored > > internally > > is some arcane form that on Access sees. Ordinarily, well designed > > forms > > (which means you don't put everything on a single form) don't hit the > > limit > > ever. If you do hit the limit, one cure is to create a new form and > > copy > > and paste the controls and code from the old form, then renaming the > old > > and new forms as needed. One suggestion made in our last discussion > of > > this was to save the maxed out form to a text file and then import it > > into > > a new form in Access. That will certainly work with the code, but > I've > > never tried more than that. > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > wrote: > > > > > All, > > > > > > I noticed that there is a maximum of 754 controls that can be added > > over > > > the lifetime to a form. > > > > > > I understand how to determine how many controls are currently on a > > form, > > > but I don't understand how a person can discern how many have been > > added > > > "over the lifetime" of the form. > > > > > > Also, if a Form hits this limit, is there an easy way to deal with > > this > > > issue? > > > > > > Thanks, > > > > > > Brad > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Mon Jan 23 17:32:26 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 09:32:26 +1000 Subject: [AccessD] Questions about the Maximum Number of Controls AddedOver the Lifetime to a Form (Access 2007) In-Reply-To: References: , Message-ID: <4F1DEE0A.14449.3F4AA56@stuart.lexacorp.com.pg> Which pond would that be? (Note my .pg domain ) Here to. You could say I was just screwing around when I wrote it. -- Stuart On 23 Jan 2012 at 17:21, Brad Marks wrote: > Stuart, > > Thanks for the code sample for the LifeTime Count. > > This is starting to make sense. > > Brad > > PS. I love the expression "Knocked Up" when referring to writing code! > It has quite a different meaning on this side of the pond :-) > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Monday, January 23, 2012 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > AddedOver the Lifetime to a Form (Access 2007) > > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > > Here's a quick and dirty function I've just knocked up to do it. > > Function ControlCount(FormName As String) As Long > Dim strTemp As String > Dim lngCount As Long > SaveAsText acForm, FormName, CurrentProject.Path & FormName & ".txt" > Open CurrentProject.Path & FormName & ".txt" For Input As #1 > While Not EOF(1) And lngCount = 0 > Line Input #1, strTemp > strTemp = Trim$(strTemp) > If Left$(strTemp, 12) = "ItemSuffix =" Then > lngCount = Val(Mid$(strTemp, 13)) > End If > Wend > Close #1 > Kill CurrentProject.Path & FormName & ".txt" > ControlCount = lngCOunt > End Function > > > > > > On 23 Jan 2012 at 16:50, Brad Marks wrote: > > > Charlotte, > > > > Yes, that helps a lot. > > > > Being a curious type of person, I would think that there would be some > > way to see the "Lifetime" count in Access. I don't know if my form in > > question is in the 200 range, 300 range, or dangerously close to the > > max. > > > > I plan to experiment with Sub-Forms, but I would rather not incur > > changes if I knew that I was a long ways from the Max. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:45 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > > Added Over the Lifetime to a Form (Access 2007) > > > > OK, tab controls are kind of odd containers, much like option groups. > > The > > controls they contain are part of the count for a form, not just the > tab > > control itself. The easiest way to avoid problems is to use subforms > on > > the tab pages, since each subform is a single control but it can also > > contain up to the lifetime maximum controls, which only count on the > > subform and not on the parent form. That's how you get around the > > limits, > > by using subforms wherever practical. The subforms don't have to show > > data, they can contain nothing but buttons, if you wish. You can use > an > > unbound subform to call global routines and merely reference the > parent > > form's information to pass the required values to the call. Does that > > help? > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > > wrote: > > > > > Charlotte, > > > > > > Thanks for the info. > > > > > > I sort of remember this discussion from a few weeks ago, but I > wasn't > > > fully paying attention at the time. > > > Today, I started to think about this some more and decided to do > some > > > experimenting. I also tried to find the earlier discussion in the > > > AccessD Archives but hit a snag. > > > > > > I have a form with about 10 tabs. Each tab has a number of buttons, > > > etc. I have not been careful with adding and deleting buttons, so I > > > would like to be able to see what the "Lifetime" number is for this > > > form. > > > > > > I appreciate your advice on how to deal with the problem if the > limit > > is > > > reached. > > > > > > Thanks again, > > > Brad > > > > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > > Foust > > > Sent: Monday, January 23, 2012 4:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Questions about the Maximum Number of > Controls > > > Added Over the Lifetime to a Form (Access 2007) > > > > > > Didn't we just have this discussion a few weeks ago? As far as I > > know, > > > you > > > can't determine how many have been added. The number is stored > > > internally > > > is some arcane form that on Access sees. Ordinarily, well designed > > > forms > > > (which means you don't put everything on a single form) don't hit > the > > > limit > > > ever. If you do hit the limit, one cure is to create a new form and > > > copy > > > and paste the controls and code from the old form, then renaming the > > old > > > and new forms as needed. One suggestion made in our last discussion > > of > > > this was to save the maxed out form to a text file and then import > it > > > into > > > a new form in Access. That will certainly work with the code, but > > I've > > > never tried more than that. > > > > > > Charlotte Foust > > > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > > wrote: > > > > > > > All, > > > > > > > > I noticed that there is a maximum of 754 controls that can be > added > > > over > > > > the lifetime to a form. > > > > > > > > I understand how to determine how many controls are currently on a > > > form, > > > > but I don't understand how a person can discern how many have been > > > added > > > > "over the lifetime" of the form. > > > > > > > > Also, if a Form hits this limit, is there an easy way to deal with > > > this > > > > issue? > > > > > > > > Thanks, > > > > > > > > Brad > > > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > This message has been scanned for viruses and > > > dangerous content by MailScanner, and is > > > believed to be clean. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From darryl at whittleconsulting.com.au Mon Jan 23 17:35:58 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 23 Jan 2012 23:35:58 +0000 Subject: [AccessD] Questions about the Maximum Number of Controls AddedOver the Lifetime to a Form (Access 2007) In-Reply-To: <4F1DEE0A.14449.3F4AA56@stuart.lexacorp.com.pg> References: , <4F1DEE0A.14449.3F4AA56@stuart.lexacorp.com.pg> Message-ID: <56653D383CB80341995245C537A9E7B561F79C@SINPRD0402MB099.apcprd04.prod.outlook.com> You are conceiving some great idea there. Pregnant with possibilities.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 24 January 2012 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of Controls AddedOver the Lifetime to a Form (Access 2007) Which pond would that be? (Note my .pg domain ) Here to. You could say I was just screwing around when I wrote it. -- Stuart On 23 Jan 2012 at 17:21, Brad Marks wrote: > Stuart, > > Thanks for the code sample for the LifeTime Count. > > This is starting to make sense. > > Brad > > PS. I love the expression "Knocked Up" when referring to writing code! > It has quite a different meaning on this side of the pond :-) > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Monday, January 23, 2012 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > AddedOver the Lifetime to a Form (Access 2007) > > You can see the Lifetime count if you save the form as text and look > for ItemSuffix in the resulting file. > > > Here's a quick and dirty function I've just knocked up to do it. > > Function ControlCount(FormName As String) As Long Dim strTemp As > String Dim lngCount As Long SaveAsText acForm, FormName, > CurrentProject.Path & FormName & ".txt" > Open CurrentProject.Path & FormName & ".txt" For Input As #1 While Not > EOF(1) And lngCount = 0 Line Input #1, strTemp strTemp = > Trim$(strTemp) If Left$(strTemp, 12) = "ItemSuffix =" Then > lngCount = Val(Mid$(strTemp, 13)) > End If > Wend > Close #1 > Kill CurrentProject.Path & FormName & ".txt" > ControlCount = lngCOunt > End Function > > > > > > On 23 Jan 2012 at 16:50, Brad Marks wrote: > > > Charlotte, > > > > Yes, that helps a lot. > > > > Being a curious type of person, I would think that there would be > > some way to see the "Lifetime" count in Access. I don't know if my > > form in question is in the 200 range, 300 range, or dangerously > > close to the max. > > > > I plan to experiment with Sub-Forms, but I would rather not incur > > changes if I knew that I was a long ways from the Max. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:45 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of > > Controls Added Over the Lifetime to a Form (Access 2007) > > > > OK, tab controls are kind of odd containers, much like option groups. > > The > > controls they contain are part of the count for a form, not just the > tab > > control itself. The easiest way to avoid problems is to use > > subforms > on > > the tab pages, since each subform is a single control but it can > > also contain up to the lifetime maximum controls, which only count > > on the subform and not on the parent form. That's how you get > > around the limits, by using subforms wherever practical. The > > subforms don't have to show data, they can contain nothing but > > buttons, if you wish. You can use > an > > unbound subform to call global routines and merely reference the > parent > > form's information to pass the required values to the call. Does > > that help? > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > > wrote: > > > > > Charlotte, > > > > > > Thanks for the info. > > > > > > I sort of remember this discussion from a few weeks ago, but I > wasn't > > > fully paying attention at the time. > > > Today, I started to think about this some more and decided to do > some > > > experimenting. I also tried to find the earlier discussion in the > > > AccessD Archives but hit a snag. > > > > > > I have a form with about 10 tabs. Each tab has a number of > > > buttons, etc. I have not been careful with adding and deleting > > > buttons, so I would like to be able to see what the "Lifetime" > > > number is for this form. > > > > > > I appreciate your advice on how to deal with the problem if the > limit > > is > > > reached. > > > > > > Thanks again, > > > Brad > > > > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > > Charlotte Foust > > > Sent: Monday, January 23, 2012 4:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Questions about the Maximum Number of > Controls > > > Added Over the Lifetime to a Form (Access 2007) > > > > > > Didn't we just have this discussion a few weeks ago? As far as I > > know, > > > you > > > can't determine how many have been added. The number is stored > > > internally is some arcane form that on Access sees. Ordinarily, > > > well designed forms (which means you don't put everything on a > > > single form) don't hit > the > > > limit > > > ever. If you do hit the limit, one cure is to create a new form > > > and copy and paste the controls and code from the old form, then > > > renaming the > > old > > > and new forms as needed. One suggestion made in our last > > > discussion > > of > > > this was to save the maxed out form to a text file and then import > it > > > into > > > a new form in Access. That will certainly work with the code, but > > I've > > > never tried more than that. > > > > > > Charlotte Foust > > > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > > wrote: > > > > > > > All, > > > > > > > > I noticed that there is a maximum of 754 controls that can be > added > > > over > > > > the lifetime to a form. > > > > > > > > I understand how to determine how many controls are currently on > > > > a > > > form, > > > > but I don't understand how a person can discern how many have > > > > been > > > added > > > > "over the lifetime" of the form. > > > > > > > > Also, if a Form hits this limit, is there an easy way to deal > > > > with > > > this > > > > issue? > > > > > > > > Thanks, > > > > > > > > Brad > > > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > This message has been scanned for viruses and dangerous content by > > > MailScanner, and is believed to be clean. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > This message has been scanned for viruses and dangerous content by > > MailScanner, and is believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Mon Jan 23 17:35:51 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 17:35:51 -0600 Subject: [AccessD] Questions about the Maximum Number of ControlsAddedOver the Lifetime to a Form (Access 2007) References: , <4F1DEE0A.14449.3F4AA56@stuart.lexacorp.com.pg> Message-ID: -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, January 23, 2012 5:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of ControlsAddedOver the Lifetime to a Form (Access 2007) Which pond would that be? (Note my .pg domain ) Here to. You could say I was just screwing around when I wrote it. -- Stuart On 23 Jan 2012 at 17:21, Brad Marks wrote: > Stuart, > > Thanks for the code sample for the LifeTime Count. > > This is starting to make sense. > > Brad > > PS. I love the expression "Knocked Up" when referring to writing code! > It has quite a different meaning on this side of the pond :-) > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Monday, January 23, 2012 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > AddedOver the Lifetime to a Form (Access 2007) > > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > > Here's a quick and dirty function I've just knocked up to do it. > > Function ControlCount(FormName As String) As Long > Dim strTemp As String > Dim lngCount As Long > SaveAsText acForm, FormName, CurrentProject.Path & FormName & ".txt" > Open CurrentProject.Path & FormName & ".txt" For Input As #1 > While Not EOF(1) And lngCount = 0 > Line Input #1, strTemp > strTemp = Trim$(strTemp) > If Left$(strTemp, 12) = "ItemSuffix =" Then > lngCount = Val(Mid$(strTemp, 13)) > End If > Wend > Close #1 > Kill CurrentProject.Path & FormName & ".txt" > ControlCount = lngCOunt > End Function > > > > > > On 23 Jan 2012 at 16:50, Brad Marks wrote: > > > Charlotte, > > > > Yes, that helps a lot. > > > > Being a curious type of person, I would think that there would be some > > way to see the "Lifetime" count in Access. I don't know if my form in > > question is in the 200 range, 300 range, or dangerously close to the > > max. > > > > I plan to experiment with Sub-Forms, but I would rather not incur > > changes if I knew that I was a long ways from the Max. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:45 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > > Added Over the Lifetime to a Form (Access 2007) > > > > OK, tab controls are kind of odd containers, much like option groups. > > The > > controls they contain are part of the count for a form, not just the > tab > > control itself. The easiest way to avoid problems is to use subforms > on > > the tab pages, since each subform is a single control but it can also > > contain up to the lifetime maximum controls, which only count on the > > subform and not on the parent form. That's how you get around the > > limits, > > by using subforms wherever practical. The subforms don't have to show > > data, they can contain nothing but buttons, if you wish. You can use > an > > unbound subform to call global routines and merely reference the > parent > > form's information to pass the required values to the call. Does that > > help? > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > > wrote: > > > > > Charlotte, > > > > > > Thanks for the info. > > > > > > I sort of remember this discussion from a few weeks ago, but I > wasn't > > > fully paying attention at the time. > > > Today, I started to think about this some more and decided to do > some > > > experimenting. I also tried to find the earlier discussion in the > > > AccessD Archives but hit a snag. > > > > > > I have a form with about 10 tabs. Each tab has a number of buttons, > > > etc. I have not been careful with adding and deleting buttons, so I > > > would like to be able to see what the "Lifetime" number is for this > > > form. > > > > > > I appreciate your advice on how to deal with the problem if the > limit > > is > > > reached. > > > > > > Thanks again, > > > Brad > > > > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > > Foust > > > Sent: Monday, January 23, 2012 4:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Questions about the Maximum Number of > Controls > > > Added Over the Lifetime to a Form (Access 2007) > > > > > > Didn't we just have this discussion a few weeks ago? As far as I > > know, > > > you > > > can't determine how many have been added. The number is stored > > > internally > > > is some arcane form that on Access sees. Ordinarily, well designed > > > forms > > > (which means you don't put everything on a single form) don't hit > the > > > limit > > > ever. If you do hit the limit, one cure is to create a new form and > > > copy > > > and paste the controls and code from the old form, then renaming the > > old > > > and new forms as needed. One suggestion made in our last discussion > > of > > > this was to save the maxed out form to a text file and then import > it > > > into > > > a new form in Access. That will certainly work with the code, but > > I've > > > never tried more than that. > > > > > > Charlotte Foust > > > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > > wrote: > > > > > > > All, > > > > > > > > I noticed that there is a maximum of 754 controls that can be > added > > > over > > > > the lifetime to a form. > > > > > > > > I understand how to determine how many controls are currently on a > > > form, > > > > but I don't understand how a person can discern how many have been > > > added > > > > "over the lifetime" of the form. > > > > > > > > Also, if a Form hits this limit, is there an easy way to deal with > > > this > > > > issue? > > > > > > > > Thanks, > > > > > > > > Brad > > > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > This message has been scanned for viruses and > > > dangerous content by MailScanner, and is > > > believed to be clean. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From BradM at blackforestltd.com Mon Jan 23 17:37:49 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 17:37:49 -0600 Subject: [AccessD] Questions about the Maximum Number of ControlsAddedOver the Lifetime to a Form (Access 2007) References: , <4F1DEE0A.14449.3F4AA56@stuart.lexacorp.com.pg> Message-ID: Whoa - I made a wrong assumption. Missed the .pg Thought that you were from Ireland or England. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, January 23, 2012 5:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number of ControlsAddedOver the Lifetime to a Form (Access 2007) Which pond would that be? (Note my .pg domain ) Here to. You could say I was just screwing around when I wrote it. -- Stuart On 23 Jan 2012 at 17:21, Brad Marks wrote: > Stuart, > > Thanks for the code sample for the LifeTime Count. > > This is starting to make sense. > > Brad > > PS. I love the expression "Knocked Up" when referring to writing code! > It has quite a different meaning on this side of the pond :-) > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Monday, January 23, 2012 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > AddedOver the Lifetime to a Form (Access 2007) > > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > > Here's a quick and dirty function I've just knocked up to do it. > > Function ControlCount(FormName As String) As Long > Dim strTemp As String > Dim lngCount As Long > SaveAsText acForm, FormName, CurrentProject.Path & FormName & ".txt" > Open CurrentProject.Path & FormName & ".txt" For Input As #1 > While Not EOF(1) And lngCount = 0 > Line Input #1, strTemp > strTemp = Trim$(strTemp) > If Left$(strTemp, 12) = "ItemSuffix =" Then > lngCount = Val(Mid$(strTemp, 13)) > End If > Wend > Close #1 > Kill CurrentProject.Path & FormName & ".txt" > ControlCount = lngCOunt > End Function > > > > > > On 23 Jan 2012 at 16:50, Brad Marks wrote: > > > Charlotte, > > > > Yes, that helps a lot. > > > > Being a curious type of person, I would think that there would be some > > way to see the "Lifetime" count in Access. I don't know if my form in > > question is in the 200 range, 300 range, or dangerously close to the > > max. > > > > I plan to experiment with Sub-Forms, but I would rather not incur > > changes if I knew that I was a long ways from the Max. > > > > Thanks again, > > Brad > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > Foust > > Sent: Monday, January 23, 2012 4:45 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Questions about the Maximum Number of Controls > > Added Over the Lifetime to a Form (Access 2007) > > > > OK, tab controls are kind of odd containers, much like option groups. > > The > > controls they contain are part of the count for a form, not just the > tab > > control itself. The easiest way to avoid problems is to use subforms > on > > the tab pages, since each subform is a single control but it can also > > contain up to the lifetime maximum controls, which only count on the > > subform and not on the parent form. That's how you get around the > > limits, > > by using subforms wherever practical. The subforms don't have to show > > data, they can contain nothing but buttons, if you wish. You can use > an > > unbound subform to call global routines and merely reference the > parent > > form's information to pass the required values to the call. Does that > > help? > > > > Charlotte Foust > > > > On Mon, Jan 23, 2012 at 2:35 PM, Brad Marks > > wrote: > > > > > Charlotte, > > > > > > Thanks for the info. > > > > > > I sort of remember this discussion from a few weeks ago, but I > wasn't > > > fully paying attention at the time. > > > Today, I started to think about this some more and decided to do > some > > > experimenting. I also tried to find the earlier discussion in the > > > AccessD Archives but hit a snag. > > > > > > I have a form with about 10 tabs. Each tab has a number of buttons, > > > etc. I have not been careful with adding and deleting buttons, so I > > > would like to be able to see what the "Lifetime" number is for this > > > form. > > > > > > I appreciate your advice on how to deal with the problem if the > limit > > is > > > reached. > > > > > > Thanks again, > > > Brad > > > > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > > > Foust > > > Sent: Monday, January 23, 2012 4:21 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Questions about the Maximum Number of > Controls > > > Added Over the Lifetime to a Form (Access 2007) > > > > > > Didn't we just have this discussion a few weeks ago? As far as I > > know, > > > you > > > can't determine how many have been added. The number is stored > > > internally > > > is some arcane form that on Access sees. Ordinarily, well designed > > > forms > > > (which means you don't put everything on a single form) don't hit > the > > > limit > > > ever. If you do hit the limit, one cure is to create a new form and > > > copy > > > and paste the controls and code from the old form, then renaming the > > old > > > and new forms as needed. One suggestion made in our last discussion > > of > > > this was to save the maxed out form to a text file and then import > it > > > into > > > a new form in Access. That will certainly work with the code, but > > I've > > > never tried more than that. > > > > > > Charlotte Foust > > > > > > On Mon, Jan 23, 2012 at 1:32 PM, Brad Marks > > > wrote: > > > > > > > All, > > > > > > > > I noticed that there is a maximum of 754 controls that can be > added > > > over > > > > the lifetime to a form. > > > > > > > > I understand how to determine how many controls are currently on a > > > form, > > > > but I don't understand how a person can discern how many have been > > > added > > > > "over the lifetime" of the form. > > > > > > > > Also, if a Form hits this limit, is there an easy way to deal with > > > this > > > > issue? > > > > > > > > Thanks, > > > > > > > > Brad > > > > > > > > PS. I tried a search on the AccessD archives but hit a snag. > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > > This message has been scanned for viruses and > > > dangerous content by MailScanner, and is > > > believed to be clean. > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Mon Jan 23 17:59:40 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 09:59:40 +1000 Subject: [AccessD] Questions about the Maximum Number of ControlsAddedOver the Lifetime to a Form (Access 2007) In-Reply-To: References: , Message-ID: <4F1DF46C.19267.40D985D@stuart.lexacorp.com.pg> You trying to be insulting? Mine is a fine Scottish name. -- Stuart On 23 Jan 2012 at 17:37, Brad Marks wrote: > Thought that you were from Ireland or England. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From kismert at gmail.com Mon Jan 23 18:20:25 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 23 Jan 2012 18:20:25 -0600 Subject: [AccessD] AccessD Digest, Vol 107, Issue 18 In-Reply-To: References: Message-ID: Recaping the group's earlier thread: > Brad Marks: > > I noticed that there is a maximum of 754 controls that can be added > over the lifetime to a form. > Control Counts by Version (per Jim Dettman): A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 ... I don't understand how a person can discern how many have been > added "over the lifetime" of the form. > Simple: just add a new control to the form. The numeric suffix shows your current lifetime count. > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > if you created the form in Access 2000 or later, just use these two lines of code: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Lots simpler and more accurate than creating a new form and copying all controls and properties over. Caveat: if your form was created in A97, properly fixing the problem is much harder. And, responses to other posts: Gary Kjos: > For Each ctl In Me > lngCount = lngCount + 1 > Next ctl > Otherwise known as Me.Controls.Count Stuart McLachlan: > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > Here's a quick and dirty function I've just knocked up to do it.... > This code works, and the results are identical to the 'add a new control and look at the numeric suffix' method, above. -Ken From kismert at gmail.com Mon Jan 23 18:24:03 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 23 Jan 2012 18:24:03 -0600 Subject: [AccessD] Questions about the Maximum Number of Controls Added Over the Lifetime to a Form (Access 2007) Message-ID: (Re-posting with correct subject) Recapping the group's earlier thread: > Brad Marks: > > I noticed that there is a maximum of 754 controls that can be added > over the lifetime to a form. > Control Counts by Version (per Jim Dettman): A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 ... I don't understand how a person can discern how many have been > added "over the lifetime" of the form. > Simple: just add a new control to the form. The numeric suffix shows your current lifetime count. > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > if you created the form in Access 2000 or later, just use these two lines of code: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Lots simpler and more accurate than creating a new form and copying all controls and properties over. And, responses to other posts in this thread: Gary Kjos: > For Each ctl In Me > lngCount = lngCount + 1 > Next ctl > Otherwise known as Me.Controls.Count Stuart McLachlan: > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > Here's a quick and dirty function I've just knocked up to do it.... > This code works, and the results are identical to the 'add a new control and look at the numeric suffix' method, above. -Ken -- Ken Ismert Cell: 832-528-7788 Skype: kismert From stuart at lexacorp.com.pg Mon Jan 23 18:32:48 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 10:32:48 +1000 Subject: [AccessD] AccessD Digest, Vol 107, Issue 18 In-Reply-To: References: , Message-ID: <4F1DFC30.23717.42BF05C@stuart.lexacorp.com.pg> Not identical - "add a new control" uses up another available slot. -- Stuart On 23 Jan 2012 at 18:20, Kenneth Ismert wrote: > > This code works, and the results are identical to the 'add a new control > and look at the numeric suffix' method, above. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Mon Jan 23 18:34:43 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 10:34:43 +1000 Subject: [AccessD] AccessD Digest, Vol 107, Issue 18 In-Reply-To: References: , Message-ID: <4F1DFCA3.32293.42DB031@stuart.lexacorp.com.pg> That just reloads the same "ItemSuffix" value - how does that reset the "lifetime control count"? On 23 Jan 2012 at 18:20, Kenneth Ismert wrote: > if you created the form in Access 2000 or later, just use these two lines > of code: > > Application.SaveAsText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > Application.LoadFromText acForm, "Form1", CurrentProject.Path & > "\Form_Form1" > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From jwcolby at colbyconsulting.com Mon Jan 23 19:31:35 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 23 Jan 2012 20:31:35 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> <4F1DAB59.3020003@colbyconsulting.com> Message-ID: <4F1E09F7.3000607@colbyconsulting.com> Because they refused to upgrade. This year they finally decided to upgrade to SQL Server on a dedicated server (more or less). John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/23/2012 5:29 PM, Charlotte Foust wrote: > JC, is you've been working for them since 2002, why are they still in the > dark ages of Access?? ;-) > > Charlotte Foust > > On Mon, Jan 23, 2012 at 10:47 AM, jwcolbywrote: > >> LOL, I am not firing this client. I have been working with them since >> 2002 and they are good folks. >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 1/20/2012 10:30 PM, Arthur Fuller wrote: >> >>> Present them with the alternatives, and be prepared to fire the customer. >>> That's my advice. You are risking walking into a mined field. Place your >>> helmet over your private parts and enter at your risk. >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/accessd >> >> >> Website: http://www.databaseadvisors.**com >> >> >> From charlotte.foust at gmail.com Mon Jan 23 19:37:16 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Mon, 23 Jan 2012 17:37:16 -0800 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: <4F1E09F7.3000607@colbyconsulting.com> References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> <4F1DAB59.3020003@colbyconsulting.com> <4F1E09F7.3000607@colbyconsulting.com> Message-ID: Oh, John! I know you're more persuasive than that. Charlotte Foust On Mon, Jan 23, 2012 at 5:31 PM, jwcolby wrote: > Because they refused to upgrade. This year they finally decided to > upgrade to SQL Server on a dedicated server (more or less). > > > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/23/2012 5:29 PM, Charlotte Foust wrote: > >> JC, is you've been working for them since 2002, why are they still in the >> dark ages of Access?? ;-) >> >> Charlotte Foust >> >> On Mon, Jan 23, 2012 at 10:47 AM, jwcolby >> >wrote: >> >> LOL, I am not firing this client. I have been working with them since >>> 2002 and they are good folks. >>> >>> >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> On 1/20/2012 10:30 PM, Arthur Fuller wrote: >>> >>> Present them with the alternatives, and be prepared to fire the >>>> customer. >>>> That's my advice. You are risking walking into a mined field. Place your >>>> helmet over your private parts and enter at your risk. >>>> >>>> >>>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/****mailman/listinfo/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 Mon Jan 23 19:48:53 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 19:48:53 -0600 Subject: [AccessD] AccessD Digest, Vol 107, Issue 18 References: Message-ID: Ken, Thanks. I was sleeping in class when this was first presented. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Kenneth Ismert Sent: Mon 1/23/2012 6:20 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AccessD Digest, Vol 107, Issue 18 Recaping the group's earlier thread: > Brad Marks: > > I noticed that there is a maximum of 754 controls that can be added > over the lifetime to a form. > Control Counts by Version (per Jim Dettman): A97 - 753 A2000 - 800 A2002 - 894 A2007 - 1040 A2010 - 1040 ... I don't understand how a person can discern how many have been > added "over the lifetime" of the form. > Simple: just add a new control to the form. The numeric suffix shows your current lifetime count. > Also, if a Form hits this limit, is there an easy way to deal with this > issue? > if you created the form in Access 2000 or later, just use these two lines of code: Application.SaveAsText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Application.LoadFromText acForm, "Form1", CurrentProject.Path & "\Form_Form1" Lots simpler and more accurate than creating a new form and copying all controls and properties over. Caveat: if your form was created in A97, properly fixing the problem is much harder. And, responses to other posts: Gary Kjos: > For Each ctl In Me > lngCount = lngCount + 1 > Next ctl > Otherwise known as Me.Controls.Count Stuart McLachlan: > You can see the Lifetime count if you save the form as text and look for > ItemSuffix in the > resulting file. > > Here's a quick and dirty function I've just knocked up to do it.... > This code works, and the results are identical to the 'add a new control and look at the numeric suffix' method, above. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From marksimms at verizon.net Mon Jan 23 19:57:12 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 23 Jan 2012 20:57:12 -0500 Subject: [AccessD] One Note In-Reply-To: References: <002601ccd88d$2c2f0890$848d19b0$@net> <4F1DADA1.8010209@colbyconsulting.com> <00f601ccda0b$e604ee40$b20ecac0$@net> Message-ID: <005801ccda3b$7d7cfa90$7876efb0$@net> I know, I know...I shouldn't jump to conclusions here....until all of the facts come out. Partially to blame is the client who had neophyte managers telling them the requirements....which changed, Natch. > Sounds like someone was using the project for OJT and couldn't actually > deliver. > Charlotte Foust From BradM at blackforestltd.com Mon Jan 23 20:04:08 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 23 Jan 2012 20:04:08 -0600 Subject: [AccessD] Questions about the Maximum Number ofControlsAddedOver the Lifetime to a Form (Access 2007) References: , <4F1DF46C.19267.40D985D@stuart.lexacorp.com.pg> Message-ID: Stuart, So sorry... I think that I will drop out of this conversation before I dig the hole deeper :-) I do appreciate the help however. I learned some new things today and I now have a new tool in the bag of tricks. Also, I learned that the Form that I was concerned about has a long ways to go before it hits the max. All and all, not a bad day. Brad BTW - The Scottish band named Silly Wizard is one of my favorites. -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Mon 1/23/2012 5:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Questions about the Maximum Number ofControlsAddedOver the Lifetime to a Form (Access 2007) You trying to be insulting? Mine is a fine Scottish name. -- Stuart On 23 Jan 2012 at 17:37, Brad Marks wrote: > Thought that you were from Ireland or England. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From steve at datamanagementsolutions.biz Mon Jan 23 21:48:03 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 24 Jan 2012 16:48:03 +1300 Subject: [AccessD] double and single quotes Message-ID: Hi all. I know I have done this before, but somehow I can?t get it today! How can I use InStr() to detect that there is a " in "fr"ed" ? How can I use Replace() to change "fr"ed" to "fr'ed" ? Thanks a lot. Regards Steve From stuart at lexacorp.com.pg Mon Jan 23 22:03:03 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 24 Jan 2012 14:03:03 +1000 Subject: [AccessD] double and single quotes In-Reply-To: References: Message-ID: <4F1E2D77.8522.4EC6E75@stuart.lexacorp.com.pg> Use two double quotes in a row inside literal string. Us four double quotes in a row outside of a string The following are synonomous: strTemp = "fr''''ed" 'that's two in a row in the middle strTemp = "fr'' & Chr$(34) & ''ed" strTemp = "fr" & """" & ''ed" 'that's four in a row Use either CHr$(34) or four double quotes in a row """" in your functions INSTR(strTemp,"""") INST(strTemp,Chr$(34)) strTemp = Replace(strTemp,chr$(34),chr$(39)) strTemp = Replace(strTemp,"""","'") -- Stuart On 24 Jan 2012 at 16:48, Steve Schapel wrote: > Hi all. > > I know I have done this before, but somehow I can?t get it today! > > How can I use InStr() to detect that there is a " in "fr"ed" ? > > How can I use Replace() to change "fr"ed" to "fr'ed" ? > > Thanks a lot. > > Regards > Steve > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From steve at datamanagementsolutions.biz Mon Jan 23 22:26:33 2012 From: steve at datamanagementsolutions.biz (Steve Schapel) Date: Tue, 24 Jan 2012 17:26:33 +1300 Subject: [AccessD] double and single quotes In-Reply-To: <4F1E2D77.8522.4EC6E75@stuart.lexacorp.com.pg> References: <4F1E2D77.8522.4EC6E75@stuart.lexacorp.com.pg> Message-ID: <775886B6071145B4925AB1310C2B64DE@stevelaptop> Many thanks, Stuart. I had been trying to test it in the Immediate Window using the literal string with the " in it. Which didn't work. But whacking it into a variable in code, as you have showed, or even just referring to the value of a textbox, it's fine. Appreciate your help! Regards Steve -----Original Message----- From: Stuart McLachlan Sent: Tuesday, January 24, 2012 5:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] double and single quotes Use two double quotes in a row inside literal string. Us four double quotes in a row outside of a string The following are synonomous: strTemp = "fr''''ed" 'that's two in a row in the middle strTemp = "fr'' & Chr$(34) & ''ed" strTemp = "fr" & """" & ''ed" 'that's four in a row Use either CHr$(34) or four double quotes in a row """" in your functions INSTR(strTemp,"""") INST(strTemp,Chr$(34)) strTemp = Replace(strTemp,chr$(34),chr$(39)) strTemp = Replace(strTemp,"""","'") -- Stuart On 24 Jan 2012 at 16:48, Steve Schapel wrote: > Hi all. > > I know I have done this before, but somehow I can?t get it today! > > How can I use InStr() to detect that there is a " in "fr"ed" ? > > How can I use Replace() to change "fr"ed" to "fr'ed" ? > > Thanks a lot. > > Regards > Steve > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Jan 23 22:50:28 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 23 Jan 2012 20:50:28 -0800 Subject: [AccessD] One Note In-Reply-To: References: Message-ID: <426285FBF2884714A3DBD861C26855BB@creativesystemdesigns.com> Blame the developers not the tools. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Monday, January 23, 2012 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] One Note Hi Gustav and Mark, Yes, failure in converting an MS Access app into a .NET-driven one can't be IMO a cause to blame .NET or Visual Studio... Thank you. Shamil 24 ?????? 2012, 01:39 ?? "Gustav Brock" : > Hi Mark > > But don't blame .Net or Visual Studio for this. > > /Gustav > > > >>> marksimms at verizon.net 23-01-12 21:16 >>> > Ah yes John...and that's the "big problem"....and this is likely the reason > my former client is moving towards litigation with the developer in their > Access to DotNet migration and upgrade. It's been over 2 years now, and they > still have....nothing. > > > Whereupon the kitchen sink is there by demand and you are not given the > > option. ;) > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 marklbreen at gmail.com Tue Jan 24 03:32:00 2012 From: marklbreen at gmail.com (Mark Breen) Date: Tue, 24 Jan 2012 09:32:00 +0000 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> Message-ID: Hi Guys, Thank you all for your responses. I tried JetComp for 2000 and for 2003. Failed immediately. I tried Everythingaccess and they failed immediately. We tried another tool (not sure what is was) and it also failed. Everything Access and the other tool did manage to rescue one table, but only about 17 rows. the db contains about 100 tables and tens of thousands of records. Finally, the real disappointment for me is the zip figures, it is zipping from 219 MB to 291k, this is a 99.9% reduction. I have to assume that with statistic, it means there is nothing left. Rocky, if you like, I can ask permission to send it over, but I fear I am wasting your time. re backups: the client has a backup from last Wednesday, but not since then, so the have to re-key all the important data. It is not good but there is nothing else to do at this stage. Finally, when I was posting the message last night (at 17:00 Irish time), I told the client about AccessD and mentioned to her that the people are kind and also typically responded within a few hours. Last night I had valuable responses within 90 mins, thank you for your time. Mark On 23 January 2012 18:24, Rocky Smolin wrote: > Mark: > > 90% compression would not be unusual IME. But from your description it > sounds well and truly hosed. > > How about decompile? Probably not a winner but you could try. > > Dare I ask when their last backup was? > > Possibly you'd have better luck with A2003? Or earlier? > > If you shoot it over I could give it a try here. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Monday, January 23, 2012 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Help - Corrupt Access MDB File > > A pay site to get this fixed is www.everythingaccess.com. I don't know > what > they charge. > > Unfortunately, if this has zipped down to 219K, there may be nothing left. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Monday, January 23, 2012 11:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Help - Corrupt Access MDB File > > Hello AccessD, > > Since Access 1.0, I have not had a corrupt access file, but I have one > today. > > Can you advice me what I should do? it is either 2000 or 2002-2003 format. > > I cannot open, and cannot import objects and cannot compant and repair with > Access 2010. Each time Access says "un recognised database format". > > Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. > > Any suggestions appreciated, > > thanks > > Mark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Tue Jan 24 07:07:33 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 24 Jan 2012 14:07:33 +0100 Subject: [AccessD] Help - Corrupt Access MDB File Message-ID: Hi Mark Are you aware of the MdbTools and the .Net wrapper for this: http://www.codeproject.com/Articles/283626/MsAccess-MdbTools-with-MFC-and-NET The article explains about the physical structure of the mdb file and how to decode it. Nothing new to JimD, I guess, but still ... /gustav >>> marklbreen at gmail.com 23-01-2012 18:15 >>> Hello AccessD, Since Access 1.0, I have not had a corrupt access file, but I have one today. Can you advice me what I should do? it is either 2000 or 2002-2003 format. I cannot open, and cannot import objects and cannot compant and repair with Access 2010. Each time Access says "un recognised database format". Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. Any suggestions appreciated, thanks Mark From rockysmolin at bchacc.com Tue Jan 24 07:59:19 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 24 Jan 2012 05:59:19 -0800 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> Message-ID: I think you're right about me looking at it. I don't think I have anything you haven't tried. Had a client last month whose back end got hosed. They were doing regular backups until the boss got a new machine - his box was the peer server for the back end. At that point no one restarted the daily backup procedure. So their last backup was way too old to be of any use. I put in several hours recovering their database - just lucky that I was able to. Cost him $600 - he cried but had no choice. Think I'll call him today and verify they're now doing backups. Does your client at least have a reliable way to re-create the work that was done since the last backup? Mine would have had a bitch of a time doing it. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Tuesday, January 24, 2012 1:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help - Corrupt Access MDB File Hi Guys, Thank you all for your responses. I tried JetComp for 2000 and for 2003. Failed immediately. I tried Everythingaccess and they failed immediately. We tried another tool (not sure what is was) and it also failed. Everything Access and the other tool did manage to rescue one table, but only about 17 rows. the db contains about 100 tables and tens of thousands of records. Finally, the real disappointment for me is the zip figures, it is zipping from 219 MB to 291k, this is a 99.9% reduction. I have to assume that with statistic, it means there is nothing left. Rocky, if you like, I can ask permission to send it over, but I fear I am wasting your time. re backups: the client has a backup from last Wednesday, but not since then, so the have to re-key all the important data. It is not good but there is nothing else to do at this stage. Finally, when I was posting the message last night (at 17:00 Irish time), I told the client about AccessD and mentioned to her that the people are kind and also typically responded within a few hours. Last night I had valuable responses within 90 mins, thank you for your time. Mark On 23 January 2012 18:24, Rocky Smolin wrote: > Mark: > > 90% compression would not be unusual IME. But from your description > it sounds well and truly hosed. > > How about decompile? Probably not a winner but you could try. > > Dare I ask when their last backup was? > > Possibly you'd have better luck with A2003? Or earlier? > > If you shoot it over I could give it a try here. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Monday, January 23, 2012 10:19 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Help - Corrupt Access MDB File > > A pay site to get this fixed is www.everythingaccess.com. I don't > know what they charge. > > Unfortunately, if this has zipped down to 219K, there may be nothing left. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Monday, January 23, 2012 11:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Help - Corrupt Access MDB File > > Hello AccessD, > > Since Access 1.0, I have not had a corrupt access file, but I have one > today. > > Can you advice me what I should do? it is either 2000 or 2002-2003 format. > > I cannot open, and cannot import objects and cannot compant and repair > with Access 2010. Each time Access says "un recognised database format". > > Finally, the file is 219 MB and it zipped to 219KB, which is way to tiny. > > Any suggestions appreciated, > > thanks > > Mark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Jan 24 08:39:27 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 24 Jan 2012 09:39:27 -0500 Subject: [AccessD] OT: Mac Excel version Message-ID: A reader is asking for a forum for Mac Excel users -- can anyone recommend one? Thanks! Susan H. From Lambert.Heenan at chartisinsurance.com Tue Jan 24 08:53:01 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 24 Jan 2012 09:53:01 -0500 Subject: [AccessD] OT: Mac Excel version In-Reply-To: References: Message-ID: Perhaps Excel-L http://tinyurl.com/77sknjc Or Excel-G http://tinyurl.com/7qvk5cf Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, January 24, 2012 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Mac Excel version A reader is asking for a forum for Mac Excel users -- can anyone recommend one? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 24 08:55:14 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 24 Jan 2012 09:55:14 -0500 Subject: [AccessD] Access 2K subforms bound to SQL Server. In-Reply-To: References: <4F19A8D7.3090205@colbyconsulting.com> <4F1A2EEA.8030505@colbyconsulting.com> <4F1DAB59.3020003@colbyconsulting.com> <4F1E09F7.3000607@colbyconsulting.com> Message-ID: <4F1EC652.9010908@colbyconsulting.com> LOL. This is a guy that bought everything in the company off of ebay. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/23/2012 8:37 PM, Charlotte Foust wrote: > Oh, John! I know you're more persuasive than that. > > Charlotte Foust > > On Mon, Jan 23, 2012 at 5:31 PM, jwcolbywrote: > >> Because they refused to upgrade. This year they finally decided to >> upgrade to SQL Server on a dedicated server (more or less). >> >> >> >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 1/23/2012 5:29 PM, Charlotte Foust wrote: >> >>> JC, is you've been working for them since 2002, why are they still in the >>> dark ages of Access?? ;-) >>> >>> Charlotte Foust >>> >>> On Mon, Jan 23, 2012 at 10:47 AM, jwcolby >>>> wrote: >>> >>> LOL, I am not firing this client. I have been working with them since >>>> 2002 and they are good folks. >>>> >>>> >>>> John W. Colby >>>> Colby Consulting >>>> >>>> Reality is what refuses to go away >>>> when you do not believe in it >>>> >>>> On 1/20/2012 10:30 PM, Arthur Fuller wrote: >>>> >>>> Present them with the alternatives, and be prepared to fire the >>>>> customer. >>>>> That's my advice. You are risking walking into a mined field. Place your >>>>> helmet over your private parts and enter at your risk. >>>>> >>>>> >>>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/****mailman/listinfo/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 Tue Jan 24 09:15:02 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 24 Jan 2012 10:15:02 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> Message-ID: <004701ccdaaa$f2806ce0$d78146a0$@net> Interesting subject. I take it the Backend ACCDB or MDB file cannot be reliably backed-up during daytime hours when the database is being used, correct ? Can users be forced-off before the backup is performed ? From Lambert.Heenan at chartisinsurance.com Tue Jan 24 09:27:23 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 24 Jan 2012 10:27:23 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: <004701ccdaaa$f2806ce0$d78146a0$@net> References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> <004701ccdaaa$f2806ce0$d78146a0$@net> Message-ID: There is a feature of Windows Server called Shadow copying which allows copying of data while in use. http://en.wikipedia.org/wiki/Shadow_Copy Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, January 24, 2012 10:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help - Corrupt Access MDB File Interesting subject. I take it the Backend ACCDB or MDB file cannot be reliably backed-up during daytime hours when the database is being used, correct ? Can users be forced-off before the backup is performed ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Tue Jan 24 09:51:14 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 24 Jan 2012 10:51:14 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: <004701ccdaaa$f2806ce0$d78146a0$@net> References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> <004701ccdaaa$f2806ce0$d78146a0$@net> Message-ID: I use filesytemobject to copy things I am currently working with. Maybe unsaved objects will not be in permanent condition but data is generally intact. From robert at servicexp.com Tue Jan 24 11:37:27 2012 From: robert at servicexp.com (Robert) Date: Tue, 24 Jan 2012 12:37:27 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> <004701ccdaaa$f2806ce0$d78146a0$@net> Message-ID: <002001ccdabe$d9ea15a0$8dbe40e0$@com> Yep, and it works VERY well. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, January 24, 2012 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help - Corrupt Access MDB File There is a feature of Windows Server called Shadow copying which allows copying of data while in use. http://en.wikipedia.org/wiki/Shadow_Copy Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, January 24, 2012 10:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help - Corrupt Access MDB File Interesting subject. I take it the Backend ACCDB or MDB file cannot be reliably backed-up during daytime hours when the database is being used, correct ? Can users be forced-off before the backup is performed ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Tue Jan 24 14:20:58 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 24 Jan 2012 15:20:58 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: <002001ccdabe$d9ea15a0$8dbe40e0$@com> References: <004f01ccd9fb$788591e0$6990b5a0$@comcast.net> <004701ccdaaa$f2806ce0$d78146a0$@net> <002001ccdabe$d9ea15a0$8dbe40e0$@com> Message-ID: <00d101ccdad5$af9887c0$0ec99740$@net> I don't quite see "it". I want to shadow-copy only a certain folder or file. It doesn't' seem to have that granularity....only entire volumes can be specified. > Yep, and it works VERY well. > From darryl at whittleconsulting.com.au Tue Jan 24 16:31:37 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 24 Jan 2012 22:31:37 +0000 Subject: [AccessD] OT: Mac Excel version In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> Hi Susan, There are a handful of folks with XL Mac experience on Excel L and Excel G. Jessica Phu is the list member that seems to have the most experience with XL and Macs - I know she does dev work in the area. In reality not many folks use Office Mac. If they have Macs and use office I think many people would choose to run the Wintel version under bootcamp / parallels etc al... With Excel G / L, it is worth being subbed to both, but you really only need to post to one or the other. Many people are on both so the xpost is usually not required. G is for the more basic stuff, L is for the more advanced, but there is a lot of x-over and they are a friendly and tolerant bunch. I have been subbed to both for years and years. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 25 January 2012 1:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Mac Excel version A reader is asking for a forum for Mac Excel users -- can anyone recommend one? Thanks! Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Jan 24 16:58:40 2012 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 24 Jan 2012 17:58:40 -0500 Subject: [AccessD] OT: Mac Excel version References: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <65DB8571A31848FE89E7E67DFB3B09FA@SusanHarkins> > G is for the more basic stuff, L is for the more advanced, but there is a > lot of x-over and they are a friendly and tolerant bunch. I have been > subbed to both for years and years. ========I know. I see your posts all the time -- I'm on one of those lists, but I don't know which. I just don't pay close attention very often. Thanks! Susan H. From BradM at blackforestltd.com Tue Jan 24 17:06:12 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 24 Jan 2012 17:06:12 -0600 Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form References: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> <65DB8571A31848FE89E7E67DFB3B09FA@SusanHarkins> Message-ID: I have set up a little test Form with 5 buttons. The following code will change the color of the text in each of the buttons to Blue. This all works nicely. Forms.form1.Button1.ForeColor = vbBlue Forms.form1.Button2.ForeColor = vbBlue Forms.form1.Button3.ForeColor = vbBlue Forms.form1.Button4.ForeColor = vbBlue Forms.form1.Button5.ForeColor = vbBlue Now, I would like to set up a loop to change all 5 Buttons' ForeColor with one statement instead of a statement for each button. Is it possible to somehow have a variable in the statement? Here is an example of what I mean. Forms.form1. & MyVariable & .ForeColor = vbBlue Thanks, Brad From charlotte.foust at gmail.com Tue Jan 24 17:13:51 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Tue, 24 Jan 2012 15:13:51 -0800 Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form In-Reply-To: References: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> <65DB8571A31848FE89E7E67DFB3B09FA@SusanHarkins> Message-ID: For i as integer = 1 to 4 Forms.form1("Button" & i).ForeColor = vbBlue Next i Charlotte Foust On Tue, Jan 24, 2012 at 3:06 PM, Brad Marks wrote: > I have set up a little test Form with 5 buttons. > > The following code will change the color of the text in each of the > buttons to Blue. This all works nicely. > > > Forms.form1.Button1.ForeColor = vbBlue > > Forms.form1.Button2.ForeColor = vbBlue > > Forms.form1.Button3.ForeColor = vbBlue > > Forms.form1.Button4.ForeColor = vbBlue > > Forms.form1.Button5.ForeColor = vbBlue > > > > Now, I would like to set up a loop to change all 5 Buttons' ForeColor > with one statement instead of a statement for each button. > > Is it possible to somehow have a variable in the statement? Here is an > example of what I mean. > > Forms.form1. & MyVariable & .ForeColor = vbBlue > > > Thanks, > Brad > > > > -- > 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 Jan 24 17:14:58 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 25 Jan 2012 09:14:58 +1000 Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form In-Reply-To: References: , Message-ID: <4F1F3B72.5.90B0E03@stuart.lexacorp.com.pg> Yes. Use Form("controlname") addressing with string concatenation. For x = 1 to 5 Forms.form1("Button" & x).ForeColor = vbBlue Next -- Stuart On 24 Jan 2012 at 17:06, Brad Marks wrote: > I have set up a little test Form with 5 buttons. > > The following code will change the color of the text in each of the > buttons to Blue. This all works nicely. > > > Forms.form1.Button1.ForeColor = vbBlue > > Forms.form1.Button2.ForeColor = vbBlue > > Forms.form1.Button3.ForeColor = vbBlue > > Forms.form1.Button4.ForeColor = vbBlue > > Forms.form1.Button5.ForeColor = vbBlue > > > > Now, I would like to set up a loop to change all 5 Buttons' ForeColor > with one statement instead of a statement for each button. > > Is it possible to somehow have a variable in the statement? Here is an > example of what I mean. > > Forms.form1. & MyVariable & .ForeColor = vbBlue > > > Thanks, > Brad > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From BradM at blackforestltd.com Tue Jan 24 17:38:09 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 24 Jan 2012 17:38:09 -0600 Subject: [AccessD] Question Regarding Changing Multiple Controls(Buttons) on a Form References: , <4F1F3B72.5.90B0E03@stuart.lexacorp.com.pg> Message-ID: Stuart and Charlotte, Thanks for the help. I really appreciate it. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Tue 1/24/2012 5:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Question Regarding Changing Multiple Controls(Buttons) on a Form Yes. Use Form("controlname") addressing with string concatenation. For x = 1 to 5 Forms.form1("Button" & x).ForeColor = vbBlue Next -- Stuart On 24 Jan 2012 at 17:06, Brad Marks wrote: > I have set up a little test Form with 5 buttons. > > The following code will change the color of the text in each of the > buttons to Blue. This all works nicely. > > > Forms.form1.Button1.ForeColor = vbBlue > > Forms.form1.Button2.ForeColor = vbBlue > > Forms.form1.Button3.ForeColor = vbBlue > > Forms.form1.Button4.ForeColor = vbBlue > > Forms.form1.Button5.ForeColor = vbBlue > > > > Now, I would like to set up a loop to change all 5 Buttons' ForeColor > with one statement instead of a statement for each button. > > Is it possible to somehow have a variable in the statement? Here is an > example of what I mean. > > Forms.form1. & MyVariable & .ForeColor = vbBlue > > > Thanks, > Brad > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From vbacreations at gmail.com Tue Jan 24 17:58:07 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 24 Jan 2012 18:58:07 -0500 Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form In-Reply-To: References: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> <65DB8571A31848FE89E7E67DFB3B09FA@SusanHarkins> Message-ID: <00b101ccdaf4$056aea30$1040be90$@gmail.com> Brad assigning each control of interest to an array element may make future work easier. 'Module Level Dim Btn as Contol Form_Open For i = 1 to 5 Set Btn(i) = Forms.form1("Button" & i) Next End Sub Then anywhere you want to mess with them you no longer have to be specific about the names and you can use For i = lbound (Btn) to ubound(Btn) Btn(i).ForeColor = Vblah Next -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, January 24, 2012 6:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form I have set up a little test Form with 5 buttons. The following code will change the color of the text in each of the buttons to Blue. This all works nicely. Forms.form1.Button1.ForeColor = vbBlue Forms.form1.Button2.ForeColor = vbBlue Forms.form1.Button3.ForeColor = vbBlue Forms.form1.Button4.ForeColor = vbBlue Forms.form1.Button5.ForeColor = vbBlue Now, I would like to set up a loop to change all 5 Buttons' ForeColor with one statement instead of a statement for each button. Is it possible to somehow have a variable in the statement? Here is an example of what I mean. Forms.form1. & MyVariable & .ForeColor = vbBlue Thanks, Brad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vbacreations at gmail.com Tue Jan 24 20:21:52 2012 From: vbacreations at gmail.com (William Benson (VBACreations.Com)) Date: Tue, 24 Jan 2012 21:21:52 -0500 Subject: [AccessD] One Note In-Reply-To: <8E9A074A8CE24F9C82A06EBDC752AADD@creativesystemdesigns.com> References: <4F1B4669.29891.94DD420@stuart.lexacorp.com.pg> <000301ccd8a7$9e0f90a0$da2eb1e0$@net> <4F1B6D03.26154.9E49E35@stuart.lexacorp.com.pg> <8E9A074A8CE24F9C82A06EBDC752AADD@creativesystemdesigns.com> Message-ID: <00c601ccdb08$1b46d530$51d47f90$@gmail.com> Maybe possible, but I can't figure out how to get IE9 One Note on SkyDrive to let me paste an image. There is a message saying that the browser doesn't allow access to the clipboard, but I have added the skydrive website to my trusted sites and have allowed access to clipboard in security settings -- to no avail. If I cannot paste pics in onenote on web, no point in using it really. http://answers.microsoft.com/en-us/office/forum/webapps-onenote/cant-paste-i mages-from-clipboard-into-onenote-web/ed2a79d1-8a99-417e-9ed0-32f1a11d091d Appears to be a documented problem that has existed a year or more. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, January 22, 2012 10:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] One Note The one big issue with OneNote is that it does not have a Android app (yet), which until it does, makes it a nonstarter. Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Jan 25 03:18:37 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Jan 2012 10:18:37 +0100 Subject: [AccessD] Help - Corrupt Access MDB File Message-ID: Hi Mark Yes, volumes only. But what does it matter? Only changed files will be copied. Have in mind though, that "only" the newest 32 copies of a file will be preserved. We run our main file server with DFS replication with a remote file server. The main server runs shadow copy twice a day leaving about two weeks of backups for files changed daily; the remote server runs shadow copy once a week leaving about eight months of backup for frequently changed files - and of course much longer for in-frequently changed files. /gustav >>> marksimms at verizon.net 24-01-2012 21:20 >>> I don't quite see "it". I want to shadow-copy only a certain folder or file. It doesn't' seem to have that granularity....only entire volumes can be specified. > Yep, and it works VERY well. From marksimms at verizon.net Wed Jan 25 08:36:01 2012 From: marksimms at verizon.net (Mark Simms) Date: Wed, 25 Jan 2012 09:36:01 -0500 Subject: [AccessD] Help - Corrupt Access MDB File In-Reply-To: References: Message-ID: <007c01ccdb6e$a9fd3150$fdf793f0$@net> The first pass will backup ALL files, no ? Also, the shadow can't be on another volume can it ? If not, what about the space requirement ? Do I need to double my storage avails ? > Yes, volumes only. But what does it matter? Only changed files will be > copied. From Gustav at cactus.dk Wed Jan 25 09:11:41 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 25 Jan 2012 16:11:41 +0100 Subject: [AccessD] Help - Corrupt Access MDB File Message-ID: Hi Mark No. It only records the state of the files for later to check if a file has been changed. Yes, and it should. You decide. You can specify a max. consumption. Beyond that, oldest copy/copies will be erased to make room for the new. The drive for backups doesn't need to be fast. Get a huge SATA drive and you are set. Please note, shadow copies are in general not a replacement for a normal full backup. However, they are accessible from the properties pane of the drive even for the (super)user and easy to use - a real life-saver when a user overwrites a worksheet or similar. /gustav >>> marksimms at verizon.net 25-01-2012 15:36 >>> The first pass will backup ALL files, no ? Also, the shadow can't be on another volume can it ? If not, what about the space requirement ? Do I need to double my storage avails ? > Yes, volumes only. But what does it matter? Only changed files will be > copied. From BradM at blackforestltd.com Wed Jan 25 13:08:01 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Wed, 25 Jan 2012 13:08:01 -0600 Subject: [AccessD] Question Regarding Changing Multiple Controls(Buttons) on a Form References: <56653D383CB80341995245C537A9E7B561FFEB@SINPRD0402MB099.apcprd04.prod.outlook.com> <65DB8571A31848FE89E7E67DFB3B09FA@SusanHarkins> <00b101ccdaf4$056aea30$1040be90$@gmail.com> Message-ID: William, Thanks for the tip. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson (VBACreations.Com) Sent: Tuesday, January 24, 2012 5:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Question Regarding Changing Multiple Controls(Buttons) on a Form Brad assigning each control of interest to an array element may make future work easier. 'Module Level Dim Btn as Contol Form_Open For i = 1 to 5 Set Btn(i) = Forms.form1("Button" & i) Next End Sub Then anywhere you want to mess with them you no longer have to be specific about the names and you can use For i = lbound (Btn) to ubound(Btn) Btn(i).ForeColor = Vblah Next -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Tuesday, January 24, 2012 6:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Question Regarding Changing Multiple Controls (Buttons) on a Form I have set up a little test Form with 5 buttons. The following code will change the color of the text in each of the buttons to Blue. This all works nicely. Forms.form1.Button1.ForeColor = vbBlue Forms.form1.Button2.ForeColor = vbBlue Forms.form1.Button3.ForeColor = vbBlue Forms.form1.Button4.ForeColor = vbBlue Forms.form1.Button5.ForeColor = vbBlue Now, I would like to set up a loop to change all 5 Buttons' ForeColor with one statement instead of a statement for each button. Is it possible to somehow have a variable in the statement? Here is an example of what I mean. Forms.form1. & MyVariable & .ForeColor = vbBlue 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jwcolby at colbyconsulting.com Wed Jan 25 14:21:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 25 Jan 2012 15:21:37 -0500 Subject: [AccessD] OT: I have a weird one Message-ID: <4F206451.3080508@colbyconsulting.com> I use Hamachi a lot. I have networks set up and all of my machines subscribed to these networks. Over the weekend I went to Nashville with the family. From there I used Remote Desktop back in to my server over the Hamachi tunnel. I connected to my big server (Azul) and processed an order. I had 20 files which zipped were 2 mb each. I needed to send 1/2 of them to one person attached to emails and 1/2 of them to another. When I started sending them I was using MyOrderProc at gmail.com to send. The first file goes fine, the second gets ~75% sent and the Hamachi connection to the server goes down, literally goes gray saying Azul is not connected, and Rd drops its connection. I wait a few and it is back. I try to send the second file and the same thing, Hamachi tunnel drops and RD loses its connection. I switched to a different GMail address and the emails / files go without a problem. Switch back to the problematic gmail address and one file goes, after which the hamachi tunnel drops. I ended up just switching to the working gmail account and everything worked fine, all files went out without a hitch. So riddle me this Batman, how can a specific gmail address cause the Hamachi connection to have problems? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Wed Jan 25 16:08:52 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jan 2012 08:08:52 +1000 Subject: [AccessD] OT: I have a weird one In-Reply-To: <4F206451.3080508@colbyconsulting.com> References: <4F206451.3080508@colbyconsulting.com> Message-ID: <4F207D74.20325.DF4F159@stuart.lexacorp.com.pg> DIfferent addresses routed to different servers by gmail - one having latency problems and timing out on your attachments? On 25 Jan 2012 at 15:21, jwcolby wrote: > > So riddle me this Batman, how can a specific gmail address cause the Hamachi connection to have > problems? > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From jwcolby at colbyconsulting.com Wed Jan 25 18:02:02 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 25 Jan 2012 19:02:02 -0500 Subject: [AccessD] OT: I have a weird one In-Reply-To: <4F207D74.20325.DF4F159@stuart.lexacorp.com.pg> References: <4F206451.3080508@colbyconsulting.com> <4F207D74.20325.DF4F159@stuart.lexacorp.com.pg> Message-ID: <4F2097FA.5060500@colbyconsulting.com> I can see the email timing out but why would the virtual NIC go wacko? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/25/2012 5:08 PM, Stuart McLachlan wrote: > DIfferent addresses routed to different servers by gmail - one having latency problems and > timing out on your attachments? > > > On 25 Jan 2012 at 15:21, jwcolby wrote: > >> >> So riddle me this Batman, how can a specific gmail address cause the Hamachi connection to have >> problems? >> > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > From TSeptav at uniserve.com Thu Jan 26 14:54:32 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Thu, 26 Jan 2012 12:54:32 -0800 Subject: [AccessD] Test Message-ID: <7A8EA3283CD446789236D0C62A18F3D3@TonySeptav> Hey All Just a test From cjlabs at att.net Thu Jan 26 14:55:43 2012 From: cjlabs at att.net (Carolyn Johnson) Date: Thu, 26 Jan 2012 14:55:43 -0600 Subject: [AccessD] Skip labels in report References: Message-ID: I tried using a UNION query to add dummy records but kept getting a Reserved error when opening the report. I've resorted to created 3 versions of the label report: one normal, one indented so the first record prints in the 2nd column of labels, and one indented to start printing in the 3rd column. Based on the number entered to skip, the appropriate report is used. Carolyn Johnson ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, January 17, 2012 8:40 PM Subject: Re: [AccessD] Skip labels in report Keep in mind that the report generator isn't intended for word processing and it prints in bands. The only way I can think of to do what you want would be to set up report using columns and then create dummy records for the used column(s). You might want to try doing a mail merge to Word if you need to control the order that way. It's actually built to handle that. Charlotte Foust On Tue, Jan 17, 2012 at 6:01 PM, Carolyn Johnson wrote: > I have been using code to skip labels so that the new labels start > printing after the used ones. This is the code that Microsoft has -- > entering a number of labels to skip and using me.nextrecord and > me.printsection to move to the correct label. The code works fine if I > have the labels set up to print across, then down. > > However, if I change the labels to print down, then across, I cannot skip > beyond the first column of labels. For example, I want to print the next > label in row 3 column 2 of a 30 label sheet (3 columns of 10 labels). > Printing down, then across means I am skipping 12 labels. When I enter 12 > however, it puts the next label in row 1 of column 2, not row 3. > > If the report is set up to print across, then down and I skip 7 labels, it > prints in the correct place. > > I can't find any information on why this is happening or how to fix it. > For my purposes, it is much easier to use the labels if they print down > first. > > Any help would be appreciated. > > > > > Thanks > Carolyn Johnson > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 vbacreations at gmail.com Thu Jan 26 15:01:39 2012 From: vbacreations at gmail.com (William Benson) Date: Thu, 26 Jan 2012 16:01:39 -0500 Subject: [AccessD] Test In-Reply-To: <7A8EA3283CD446789236D0C62A18F3D3@TonySeptav> References: <7A8EA3283CD446789236D0C62A18F3D3@TonySeptav> Message-ID: Did I pass? On Jan 26, 2012 4:00 PM, "Tony Septav" wrote: > Hey All > Just a test > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From TSeptav at uniserve.com Thu Jan 26 15:11:23 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Thu, 26 Jan 2012 13:11:23 -0800 Subject: [AccessD] Test In-Reply-To: References: <7A8EA3283CD446789236D0C62A18F3D3@TonySeptav> Message-ID: Hey William I have been having trouble with my new EMail account. Your response made me laugh very heartily. Thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Thursday, January 26, 2012 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Test Did I pass? On Jan 26, 2012 4:00 PM, "Tony Septav" wrote: > Hey All > Just a test > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4767 - Release Date: 01/26/12 From jwcolby at colbyconsulting.com Fri Jan 27 07:05:59 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 27 Jan 2012 08:05:59 -0500 Subject: [AccessD] How to shut down Access Message-ID: <4F22A137.3050400@colbyconsulting.com> The client wants to shut down Access for doing a backup. The backup kicks off in the middle of the night and they need a way to terminate the access application. I do not have anything built in to my stuff to do this. Does anyone know a way to directly get a pointer to any open access instances and force them to close? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Fri Jan 27 07:32:29 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Fri, 27 Jan 2012 17:32:29 +0400 Subject: [AccessD] =?utf-8?q?How_to_shut_down_Access?= In-Reply-To: <4F22A137.3050400@colbyconsulting.com> References: <4F22A137.3050400@colbyconsulting.com> Message-ID: Hi John -- The following KB article could help to make the "trick": http://support.microsoft.com/kb/316126 Thank you. -- Shamil 27 ?????? 2012, 17:08 ?? jwcolby : > The client wants to shut down Access for doing a backup. The backup kicks off in the middle of the > night and they need a way to terminate the access application. I do not have anything built in to > my stuff to do this. > > Does anyone know a way to directly get a pointer to any open access instances and force them to close? > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Fri Jan 27 08:00:35 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 27 Jan 2012 09:00:35 -0500 Subject: [AccessD] How to shut down Access In-Reply-To: <4F22A137.3050400@colbyconsulting.com> References: <4F22A137.3050400@colbyconsulting.com> Message-ID: <> Bad idea. You should build it into the app, which is easy enough to do. Just open a hidden form at startup with a timer even set to something like every 60 seconds. Then have it check for a flag to see if the app should be closed (file on disk, record in a table, or whatever) and if so, do cleanup tasks and issue an application.quit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 27, 2012 08:06 AM To: Access Developers discussion and problem solving Subject: [AccessD] How to shut down Access The client wants to shut down Access for doing a backup. The backup kicks off in the middle of the night and they need a way to terminate the access application. I do not have anything built in to my stuff to do this. Does anyone know a way to directly get a pointer to any open access instances and force them to close? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Jan 27 08:03:48 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 27 Jan 2012 09:03:48 -0500 Subject: [AccessD] How to shut down Access In-Reply-To: <4F22A137.3050400@colbyconsulting.com> References: <4F22A137.3050400@colbyconsulting.com> Message-ID: You might also want to go this route: How to detect User Idle Time or Inactivity in Access 2000 http://support.microsoft.com/kb/210297 or a combination of the two methods. But whatever you do, the app should close itself rather then being killed from the outside, or you risk database corruption (unless of course it's a SQL server backend, then kill away). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 27, 2012 08:06 AM To: Access Developers discussion and problem solving Subject: [AccessD] How to shut down Access The client wants to shut down Access for doing a backup. The backup kicks off in the middle of the night and they need a way to terminate the access application. I do not have anything built in to my stuff to do this. Does anyone know a way to directly get a pointer to any open access instances and force them to close? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Jan 27 10:56:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 27 Jan 2012 11:56:37 -0500 Subject: [AccessD] How to shut down Access In-Reply-To: References: <4F22A137.3050400@colbyconsulting.com> Message-ID: <4F22D745.5060705@colbyconsulting.com> I hear ya. However this is an app which runs reports, does imports etc. The things it does is scheduled by records in a table. I guess I could just put something in that table that shuts it down at a specific time. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/27/2012 9:03 AM, Jim Dettman wrote: > > You might also want to go this route: > > How to detect User Idle Time or Inactivity in Access 2000 > http://support.microsoft.com/kb/210297 > > or a combination of the two methods. > > But whatever you do, the app should close itself rather then being killed > from the outside, or you risk database corruption (unless of course it's a > SQL server backend, then kill away). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, January 27, 2012 08:06 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] How to shut down Access > > The client wants to shut down Access for doing a backup. The backup kicks > off in the middle of the > night and they need a way to terminate the access application. I do not > have anything built in to > my stuff to do this. > > Does anyone know a way to directly get a pointer to any open access > instances and force them to close? From edzedz at comcast.net Fri Jan 27 11:11:08 2012 From: edzedz at comcast.net (Edward Zuris) Date: Fri, 27 Jan 2012 10:11:08 -0700 Subject: [AccessD] Compression slows down MDB Message-ID: <00a201ccdd16$a995d650$5bdea8c0@edz1> Looking at MSFT's web site I get the impression that repair and compression of your MDB file is a good thing. However. . . Has anyone had the experience of doing a compress and your MsAccess application slowed way down ? At 170 megabytes in size, it takes 31 minutes to do a days worth of updates. At 850 megabytes it takes just 8 minutes. BTW, this happens on W2K 32bit Pro with Office 2000, and Win-7 64bit Pro, using Access 2003 32bit, using access 2000 file structures. The application didn't change that behavior when converting every thing over to Access 2003 file structures. Any ideas ? Thanks. Sincerely, Ed Zuris. From jwcolby at colbyconsulting.com Fri Jan 27 12:20:16 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 27 Jan 2012 13:20:16 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <00a201ccdd16$a995d650$5bdea8c0@edz1> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: <4F22EAE0.2070008@colbyconsulting.com> I would bet it is taking a long time to expand the file to hold the updates. The bigger size is obviously mostly empty so if it is uncompressed it may be using empty space in the db file. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/27/2012 12:11 PM, Edward Zuris wrote: > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > From dw-murphy at cox.net Fri Jan 27 12:44:44 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 27 Jan 2012 10:44:44 -0800 Subject: [AccessD] Issues with running applications in 64 bit version of Office Message-ID: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> I have used a slightly modified version of the relinking code from the Access Developers Handbook for many years. I liked using it as it didn't depend on the Office Dialogs so could be used in runtime versions on computers without Office installed. I dropped the code modules into a customer's application as usual when we split their database and all was well. Until they tried running the application on a computer with Office 10 64 bit. Code breaks on the 32 bit api calls. Not good. Has anyone run into this and figured out how to work with both 32 bit and 64 bit versions of Access? For the short term I am going to use the Office dialogs, but would prefer to use the Windows api. Doug From charlotte.foust at gmail.com Fri Jan 27 13:03:10 2012 From: charlotte.foust at gmail.com (Charlotte Foust) Date: Fri, 27 Jan 2012 11:03:10 -0800 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> Message-ID: So did you want to check for the version of Windows that's running on the machine and branch your code accordingly? Charlotte Foust On Fri, Jan 27, 2012 at 10:44 AM, Doug Murphy wrote: > > I have used a slightly modified version of the relinking code from the > Access Developers Handbook for many years. I liked using it as it didn't > depend on the Office Dialogs so could be used in runtime versions on > computers without Office installed. I dropped the code modules into a > customer's application as usual when we split their database and all was > well. Until they tried running the application on a computer with Office 10 > 64 bit. Code breaks on the 32 bit api calls. Not good. > > Has anyone run into this and figured out how to work with both 32 bit and > 64 > bit versions of Access? For the short term I am going to use the Office > dialogs, but would prefer to use the Windows api. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Fri Jan 27 13:12:43 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 27 Jan 2012 11:12:43 -0800 Subject: [AccessD] How to shut down Access In-Reply-To: <4F22D745.5060705@colbyconsulting.com> References: <4F22A137.3050400@colbyconsulting.com> <4F22D745.5060705@colbyconsulting.com> Message-ID: Hi John: Question; if the application automatically runs report and imports through out the evening, when this maintenance has been completed it can also check the time and if past a certain time then it closes itself down? It would just be a batch process. You can also use the internal AT command set on in window? http://tinyurl.com/ymwk85 I use this all the time to start overnight backups at various sites. It is built in to all Windows computers. (Windows has a GUI for the AT command called the schedular...but there is a small bug in the schedular interface.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, January 27, 2012 8:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to shut down Access I hear ya. However this is an app which runs reports, does imports etc. The things it does is scheduled by records in a table. I guess I could just put something in that table that shuts it down at a specific time. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/27/2012 9:03 AM, Jim Dettman wrote: > > You might also want to go this route: > > How to detect User Idle Time or Inactivity in Access 2000 > http://support.microsoft.com/kb/210297 > > or a combination of the two methods. > > But whatever you do, the app should close itself rather then being killed > from the outside, or you risk database corruption (unless of course it's a > SQL server backend, then kill away). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, January 27, 2012 08:06 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] How to shut down Access > > The client wants to shut down Access for doing a backup. The backup kicks > off in the middle of the > night and they need a way to terminate the access application. I do not > have anything built in to > my stuff to do this. > > Does anyone know a way to directly get a pointer to any open access > instances and force them to close? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri Jan 27 13:46:25 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 27 Jan 2012 11:46:25 -0800 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> Message-ID: <00d501ccdd2c$5aed6a70$10c83f50$@cox.net> Actually I was hoping that some smart person could give me a universal approach. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, January 27, 2012 11:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office So did you want to check for the version of Windows that's running on the machine and branch your code accordingly? Charlotte Foust On Fri, Jan 27, 2012 at 10:44 AM, Doug Murphy wrote: > > I have used a slightly modified version of the relinking code from the > Access Developers Handbook for many years. I liked using it as it > didn't depend on the Office Dialogs so could be used in runtime > versions on computers without Office installed. I dropped the code > modules into a customer's application as usual when we split their > database and all was well. Until they tried running the application on > a computer with Office 10 > 64 bit. Code breaks on the 32 bit api calls. Not good. > > Has anyone run into this and figured out how to work with both 32 bit > and > 64 > bit versions of Access? For the short term I am going to use the > Office dialogs, but would prefer to use the Windows api. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Jan 27 14:01:50 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 27 Jan 2012 15:01:50 -0500 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> Message-ID: Doug, Here's a link to an EE question which runs through that (it's a logged in view, no need to sign-up). You need to use compiler constants and conditional statements if you want to run one version under both 32 and 64 bit editions: http://rdsrc.us/4FpMQU Also in my second to last comment are links on the compatibility checker, 64 bit calls, etc. Now with that said, I would avoid 64 bit Office at all costs. Even Microsoft has said that it's better to avoid it unless you need large spreadsheets in Excel. There is an overall lack of support for 64 bit, although that is starting to change. Also, I would do two version rather then trying a single version. Very often you will find that an alternative method is required because you can't port something to 64 bit. For example, any of Stephan Lebans code like the snapshot to PDF is not going to run under 64 bit office. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, January 27, 2012 01:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Issues with running applications in 64 bit version of Office I have used a slightly modified version of the relinking code from the Access Developers Handbook for many years. I liked using it as it didn't depend on the Office Dialogs so could be used in runtime versions on computers without Office installed. I dropped the code modules into a customer's application as usual when we split their database and all was well. Until they tried running the application on a computer with Office 10 64 bit. Code breaks on the 32 bit api calls. Not good. Has anyone run into this and figured out how to work with both 32 bit and 64 bit versions of Access? For the short term I am going to use the Office dialogs, but would prefer to use the Windows api. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Jan 27 14:17:39 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 27 Jan 2012 15:17:39 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <00a201ccdd16$a995d650$5bdea8c0@edz1> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: <08A018278BE8445D8A1948BE55D7E71A@XPS> Ed, I'm not sure this explains this, but part of the compact and repair process is to reset the table statistics. Those are used by the query parser to "cost" different ways of doing a query. Also part of the repair and compact process is that each query is flagged to be re-costed. So first time it's run, you get a new costing plan calculated (rather then using the save one). Sometimes on rare occasions, the query parser on queries involving large tables will choose an inefficient plan depending on whether the table is full or not. But with all that said, you query plan would remain inefficient even if the database grew until it was re-costed again, at which point it would be back up to speed. So besides the compact and repair, what else are you doing within the DB in terms of records? Why does it go from 850MB down to 170? Are you doing a large amount of inserting/deleting? Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Friday, January 27, 2012 12:11 PM To: accessd at databaseadvisors.com Subject: [AccessD] Compression slows down MDB Looking at MSFT's web site I get the impression that repair and compression of your MDB file is a good thing. However. . . Has anyone had the experience of doing a compress and your MsAccess application slowed way down ? At 170 megabytes in size, it takes 31 minutes to do a days worth of updates. At 850 megabytes it takes just 8 minutes. BTW, this happens on W2K 32bit Pro with Office 2000, and Win-7 64bit Pro, using Access 2003 32bit, using access 2000 file structures. The application didn't change that behavior when converting every thing over to Access 2003 file structures. Any ideas ? Thanks. Sincerely, Ed Zuris. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Fri Jan 27 14:21:30 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 27 Jan 2012 14:21:30 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: All, I am experimenting with building a generic routine that will in turn call other routines based on a variable. The following statement works nicely of course. Call Report100_Compound_Filters However, I would like to able to do something like shown below so that I can plug in the first part of the name (such as "Report100") DIM MySub as String Dim MyReport as String MyReport = "Report100" MySub = MyReport & "_Compound_Filters" CALL MySub ~~~~~~~~~~~~~~~~~~~~~ This CALL does not work, but I thought that perhaps there is some sort of method to accomplish this with VBA. Thanks, Brad From davidmcafee at gmail.com Fri Jan 27 14:32:15 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 27 Jan 2012 12:32:15 -0800 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: wrap eval() around it: call eval(MyReport & "_Compound_Filters") On Fri, Jan 27, 2012 at 12:21 PM, Brad Marks wrote: > All, > > I am experimenting with building a generic routine that will in turn > call other routines based on a variable. > > The following statement works nicely of course. > > Call Report100_Compound_Filters > > > > However, I would like to able to do something like shown below so that I > can plug in the first part of the name (such as "Report100") > > DIM MySub as String > > Dim MyReport as String > > MyReport = "Report100" > > MySub = MyReport & "_Compound_Filters" > > CALL MySub > > ~~~~~~~~~~~~~~~~~~~~~ > > This CALL does not work, but I thought that perhaps there is some sort > of method to accomplish this with VBA. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Jan 27 14:36:28 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 15:36:28 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: Brad, Look at application.run or evaluate(). On Jan 27, 2012 3:23 PM, "Brad Marks" wrote: > All, > > I am experimenting with building a generic routine that will in turn > call other routines based on a variable. > > The following statement works nicely of course. > > Call Report100_Compound_Filters > > > > However, I would like to able to do something like shown below so that I > can plug in the first part of the name (such as "Report100") > > DIM MySub as String > > Dim MyReport as String > > MyReport = "Report100" > > MySub = MyReport & "_Compound_Filters" > > CALL MySub > > ~~~~~~~~~~~~~~~~~~~~~ > > This CALL does not work, but I thought that perhaps there is some sort > of method to accomplish this with VBA. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Jan 27 14:37:26 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 15:37:26 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: Correction: Eval() Darned "smart" phone! On Jan 27, 2012 3:36 PM, "William Benson" wrote: > Brad, > > Look at application.run or evaluate(). > On Jan 27, 2012 3:23 PM, "Brad Marks" wrote: > >> All, >> >> I am experimenting with building a generic routine that will in turn >> call other routines based on a variable. >> >> The following statement works nicely of course. >> >> Call Report100_Compound_Filters >> >> >> >> However, I would like to able to do something like shown below so that I >> can plug in the first part of the name (such as "Report100") >> >> DIM MySub as String >> >> Dim MyReport as String >> >> MyReport = "Report100" >> >> MySub = MyReport & "_Compound_Filters" >> >> CALL MySub >> >> ~~~~~~~~~~~~~~~~~~~~~ >> >> This CALL does not work, but I thought that perhaps there is some sort >> of method to accomplish this with VBA. >> >> Thanks, >> >> Brad >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From dw-murphy at cox.net Fri Jan 27 15:00:45 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 27 Jan 2012 13:00:45 -0800 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> Message-ID: <00e401ccdd36$bcef17a0$36cd46e0$@cox.net> Thanks Jim, That will help. I wouldn't use office 64 but can't dictate what other folks use. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, January 27, 2012 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office Doug, Here's a link to an EE question which runs through that (it's a logged in view, no need to sign-up). You need to use compiler constants and conditional statements if you want to run one version under both 32 and 64 bit editions: http://rdsrc.us/4FpMQU Also in my second to last comment are links on the compatibility checker, 64 bit calls, etc. Now with that said, I would avoid 64 bit Office at all costs. Even Microsoft has said that it's better to avoid it unless you need large spreadsheets in Excel. There is an overall lack of support for 64 bit, although that is starting to change. Also, I would do two version rather then trying a single version. Very often you will find that an alternative method is required because you can't port something to 64 bit. For example, any of Stephan Lebans code like the snapshot to PDF is not going to run under 64 bit office. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, January 27, 2012 01:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Issues with running applications in 64 bit version of Office I have used a slightly modified version of the relinking code from the Access Developers Handbook for many years. I liked using it as it didn't depend on the Office Dialogs so could be used in runtime versions on computers without Office installed. I dropped the code modules into a customer's application as usual when we split their database and all was well. Until they tried running the application on a computer with Office 10 64 bit. Code breaks on the 32 bit api calls. Not good. Has anyone run into this and figured out how to work with both 32 bit and 64 bit versions of Access? For the short term I am going to use the Office dialogs, but would prefer to use the Windows api. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Jan 27 15:01:52 2012 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 27 Jan 2012 13:01:52 -0800 Subject: [AccessD] Help with creating an Excel Conditional Format from within Access Message-ID: I have this stored procedure that I export into an excel sheet. I'd like to add two conditional formats that highlight column M (light) red (pink?) if the value is <0. The other format would color column N Yellow if the value >.2 (20%) I could do the coloring, but the user wants the conditional formatting instead in case they play with the sheet's numbers. Does anyone know how to do this off the top of their head? Existing code: Private Sub cmdExpExcel_Click() Dim strmySql As String, strOutPutFile As String, objXL As Object, row As Integer On Error GoTo cmdExpExcel_Click_Error strmySql = ("EXEC RRMS.dbo.stpR6Payouts '" & Trim(Me.txtStart) & "','" & Trim(Me.txtEnd) & "','" & Nz(Me.txtComp, "") & "'") strOutPutFile = Me.Application.CurrentProject.Path & "\Type6Payouts.xls" DoCmd.OutputTo acOutputStoredProcedure, strmySql, acFormatXLS, strOutPutFile, False 'Format the sheet Set objXL = CreateObject("Excel.Application") With objXL.Application .Visible = True .Workbooks.Open strOutPutFile .cells.EntireColumn.AutoFit .Worksheets("EXEC RRMS.dbo.stpR6Payouts '12_").Name = "R6Payouts" row = .CountA(.Worksheets("R6Payouts").Range("A:A")) With .Worksheets("R6Payouts").Range(.cells(2, 13).cells(row, 13)) .Select .FormatConditions.Delete .FormatConditions.Add 'If cells in this range are <0 make the cell's fill color light red End With With .Worksheets("R6Payouts").Range(.cells(2, 14).cells(row, 14)) 'If cells in this range are >.2 make the cell's fill color YELLOW End With ' row = objXL.CountA(objXL.Worksheets("R6Payouts").Range("A:A")) ' With objXL.Worksheets("R6Payouts").Range(.Cells(1, 1), .Cells(row, 11)) ' .Borders(7).LineStyle = 1 'xlEdgeLeft ' .Borders(8).LineStyle = 1 'xlEdgeTop ' .Borders(9).LineStyle = 1 'xlEdgeBottom ' .Borders(10).LineStyle = 1 'xlEdgeRight ' .Borders(11).LineStyle = 1 'xlInsideVertical ' .Borders(12).LineStyle = 1 'xlInsideHorizontal ' End With End With Set objXL = Nothing On Error GoTo 0 Exit Sub cmdExpExcel_Click_Error: If Err.Number = 2302 Then MsgBox "R6Payout cannot be exported. It is possible that you currently have the file open", vbOKOnly, "Can't export data" Else MsgBox "Error " & Err.Number & " (" & Err.description & ") in procedure cmdExpExcel_Click of VBA Document Form_frmType6PayOutHdr" End If End Sub From mcp2004 at mail.ru Fri Jan 27 15:27:26 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 28 Jan 2012 01:27:26 +0400 Subject: [AccessD] =?utf-8?q?Is_it_Possible_to_Have_a_Variable_in_a_VBA_?= =?utf-8?q?=22CALL=22_Statement=3F?= In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: Hi Brad -- You can consider one of the three options: 1. Function Eval(StringExpr As String) Member of Access.Application 2 Function Run(Procedure As String, [Arg1], [Arg2], [Arg3], [Arg4], [Arg5], [Arg6], [Arg7], [Arg8], [Arg9], [Arg10], [Arg11], [Arg12], [Arg13], [Arg14], [Arg15], [Arg16], [Arg17], [Arg18], [Arg19], [Arg20], [Arg21], [Arg22], [Arg23], [Arg24], [Arg25], [Arg26], [Arg27], [Arg28], [Arg29], [Arg30]) Member of Access.Application 3. Function CallByName(Object As Object, ProcName As String, CallType As VbCallType, Args() As Variant) Member of VBA.Interaction Thank you. -- Shamil 28 ?????? 2012, 00:23 ?? "Brad Marks" : > All, > > I am experimenting with building a generic routine that will in turn > call other routines based on a variable. > > The following statement works nicely of course. > > Call Report100_Compound_Filters > > However, I would like to able to do something like shown below so that I > can plug in the first part of the name (such as "Report100") > > DIM MySub as String > > Dim MyReport as String > > MyReport = "Report100" > > MySub = MyReport & "_Compound_Filters" > > CALL MySub > > ~~~~~~~~~~~~~~~~~~~~~ > > This CALL does not work, but I thought that perhaps there is some sort > of method to accomplish this with VBA. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BradM at blackforestltd.com Fri Jan 27 15:51:54 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 27 Jan 2012 15:51:54 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: All, Thanks for the assistance. The ?Application.Run? approach works nicely. I have never used ?Eval? before. Here is my test code. This does not work. I must be missing something. ?~~~~~~~~~~~~~~~ Sub Sub_1() Call Eval("Sub_2") End Sub ?~~~~~~~~~~~~~~~~ Sub Sub_2() MsgBox "Now in Sub_2" End Sub ?~~~~~~~~~~~~~~~~~ Thanks again for the help. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Friday, January 27, 2012 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? Hi Brad -- You can consider one of the three options: 1. Function Eval(StringExpr As String) Member of Access.Application 2 Function Run(Procedure As String, [Arg1], [Arg2], [Arg3], [Arg4], [Arg5], [Arg6], [Arg7], [Arg8], [Arg9], [Arg10], [Arg11], [Arg12], [Arg13], [Arg14], [Arg15], [Arg16], [Arg17], [Arg18], [Arg19], [Arg20], [Arg21], [Arg22], [Arg23], [Arg24], [Arg25], [Arg26], [Arg27], [Arg28], [Arg29], [Arg30]) Member of Access.Application 3. Function CallByName(Object As Object, ProcName As String, CallType As VbCallType, Args() As Variant) Member of VBA.Interaction Thank you. -- Shamil 28 ?????? 2012, 00:23 ?? "Brad Marks" : > All, > > I am experimenting with building a generic routine that will in turn > call other routines based on a variable. > > The following statement works nicely of course. > > Call Report100_Compound_Filters > > However, I would like to able to do something like shown below so that I > can plug in the first part of the name (such as "Report100") > > DIM MySub as String > > Dim MyReport as String > > MyReport = "Report100" > > MySub = MyReport & "_Compound_Filters" > > CALL MySub > > ~~~~~~~~~~~~~~~~~~~~~ > > This CALL does not work, but I thought that perhaps there is some sort > of method to accomplish this with VBA. > > Thanks, > > Brad > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Fri Jan 27 16:21:47 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 08:21:47 +1000 Subject: [AccessD] How to shut down Access In-Reply-To: <4F22D745.5060705@colbyconsulting.com> References: <4F22A137.3050400@colbyconsulting.com>, , <4F22D745.5060705@colbyconsulting.com> Message-ID: <4F23237B.18396.3687466@stuart.lexacorp.com.pg> If it's a fully automated application, with a scheduler built in, it should be trivial to add the ability to shut itself down at a specified time. It's also not that difficult to create a "one-off" scheduled task at the same time to restart the application x minutes later. -- Stuart On 27 Jan 2012 at 11:56, jwcolby wrote: > I hear ya. However this is an app which runs reports, does imports etc. The things it does is > scheduled by records in a table. I guess I could just put something in that table that shuts it > down at a specific time. > > John W. Colby > Colby Consulting > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From Benson at ge.com Fri Jan 27 16:59:34 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Fri, 27 Jan 2012 22:59:34 +0000 Subject: [AccessD] How to shut down Access In-Reply-To: <4F23237B.18396.3687466@stuart.lexacorp.com.pg> References: <4F22A137.3050400@colbyconsulting.com>, , <4F22D745.5060705@colbyconsulting.com> <4F23237B.18396.3687466@stuart.lexacorp.com.pg> Message-ID: <93D10F008B998B4A83BCA855A33EEF37014E0C@cinmldgcna02.e2k.ad.ge.com> >> shut itself down at a specified time Assuming the database is not otherwise occupied? Or do you trust a Windows Scheduler and a programmer's forethought to know whether it is cool to kill a database which has been running manually or via automagic? I would lean towards your tables route if you want the application to be self-aware and only quit when *it* thinks it is ok to quit, John. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, January 27, 2012 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to shut down Access If it's a fully automated application, with a scheduler built in, it should be trivial to add the ability to shut itself down at a specified time. It's also not that difficult to create a "one-off" scheduled task at the same time to restart the application x minutes later. -- Stuart On 27 Jan 2012 at 11:56, jwcolby wrote: > I hear ya. However this is an app which runs reports, does imports > etc. The things it does is scheduled by records in a table. I guess > I could just put something in that table that shuts it down at a specific time. > > John W. Colby > Colby Consulting > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jan 27 17:25:43 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 09:25:43 +1000 Subject: [AccessD] How to shut down Access In-Reply-To: <93D10F008B998B4A83BCA855A33EEF37014E0C@cinmldgcna02.e2k.ad.ge.com> References: <4F22A137.3050400@colbyconsulting.com>, <4F23237B.18396.3687466@stuart.lexacorp.com.pg>, <93D10F008B998B4A83BCA855A33EEF37014E0C@cinmldgcna02.e2k.ad.ge.com> Message-ID: <4F233277.26527.3A2FECB@stuart.lexacorp.com.pg> I think you misunderstood me. I was not suggesting a Windows Scheduled Task to shut down, I was talking about using the internal table driven tasks to quit the application, but before doing so, create a Windows Task to re-start the application after an appropriate time has been elapsed. Something like: Sub Shutdown(QuietTime as long) strTask = currentproject.name ... If QuietTime > 0 Then dtStart = Now() + quiettime strRestart = " /D " & Format$(dtStart,"mm/dd/yyyy") & _ " /T " & Format$(dtStart,"hh:mm") strSched = "SCHTASK /CREATE " & ... & strTask & strReStart SHELL(strSched) End If Application.Quit End Sub -- Stuart On 27 Jan 2012 at 22:59, Benson, William (GE Global Re wrote: > >> shut itself down at a specified time > > Assuming the database is not otherwise occupied? Or do you trust a > Windows Scheduler and a programmer's forethought to know whether it is > cool to kill a database which has been running manually or via > automagic? > > I would lean towards your tables route if you want the application to > be self-aware and only quit when *it* thinks it is ok to quit, John. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Friday, January 27, 2012 5:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] How to shut down Access > > If it's a fully automated application, with a scheduler built in, it should be trivial to add the > ability to shut itself down at a specified time. It's also not that difficult to create a "one-off" > scheduled task at the same time to restart the application x minutes later. > > -- > Stuart > > On 27 Jan 2012 at 11:56, jwcolby wrote: > > > I hear ya. However this is an app which runs reports, does imports > > etc. The things it does is scheduled by records in a table. I guess > > I could just put something in that table that shuts it down at a specific time. > > > > John W. Colby > > Colby Consulting > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From vbacreations at gmail.com Fri Jan 27 17:36:01 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 18:36:01 -0500 Subject: [AccessD] How to shut down Access In-Reply-To: <4F233277.26527.3A2FECB@stuart.lexacorp.com.pg> References: <4F22A137.3050400@colbyconsulting.com> <4F23237B.18396.3687466@stuart.lexacorp.com.pg> <93D10F008B998B4A83BCA855A33EEF37014E0C@cinmldgcna02.e2k.ad.ge.com> <4F233277.26527.3A2FECB@stuart.lexacorp.com.pg> Message-ID: Uh huh I did misunderstood. ;) Slow today. On Jan 27, 2012 6:27 PM, "Stuart McLachlan" wrote: > I think you misunderstood me. I was not suggesting a Windows Scheduled > Task to shut > down, I was talking about using the internal table driven tasks to quit > the application, but > before doing so, create a Windows Task to re-start the application after > an appropriate time > has been elapsed. > > Something like: > > Sub Shutdown(QuietTime as long) > > strTask = currentproject.name > ... > If QuietTime > 0 Then > dtStart = Now() + quiettime > strRestart = " /D " & Format$(dtStart,"mm/dd/yyyy") & _ > " /T " & Format$(dtStart,"hh:mm") > strSched = "SCHTASK /CREATE " & ... & strTask & strReStart > SHELL(strSched) > End If > > Application.Quit > End Sub > > -- > Stuart > > On 27 Jan 2012 at 22:59, Benson, William (GE Global Re wrote: > > > >> shut itself down at a specified time > > > > Assuming the database is not otherwise occupied? Or do you trust a > > Windows Scheduler and a programmer's forethought to know whether it is > > cool to kill a database which has been running manually or via > > automagic? > > > > I would lean towards your tables route if you want the application to > > be self-aware and only quit when *it* thinks it is ok to quit, John. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > > Sent: Friday, January 27, 2012 5:22 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] How to shut down Access > > > > If it's a fully automated application, with a scheduler built in, it > should be trivial to add the > > ability to shut itself down at a specified time. It's also not that > difficult to create a "one-off" > > scheduled task at the same time to restart the application x minutes > later. > > > > -- > > Stuart > > > > On 27 Jan 2012 at 11:56, jwcolby wrote: > > > > > I hear ya. However this is an app which runs reports, does imports > > > etc. The things it does is scheduled by records in a table. I guess > > > I could just put something in that table that shuts it down at a > specific time. > > > > > > John W. Colby > > > Colby Consulting > > > > > -- > > Stuart McLachlan > > > > Ph: +675 340 4392 > > Mob: +675 7100 2028 > > Web: http://www.lexacorp.com.pg > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Jan 27 17:38:05 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 18:38:05 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: Eval evaluates functions not subs. On Jan 27, 2012 4:53 PM, "Brad Marks" wrote: > All, > > Thanks for the assistance. > > The ?Application.Run? approach works nicely. > > > > I have never used ?Eval? before. Here is my test code. This does not > work. I must be missing something. > > ?~~~~~~~~~~~~~~~ > > Sub Sub_1() > > Call Eval("Sub_2") > > End Sub > > ?~~~~~~~~~~~~~~~~ > > > Sub Sub_2() > > MsgBox "Now in Sub_2" > > End Sub > > > ?~~~~~~~~~~~~~~~~~ > > > > Thanks again for the help. > Brad > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Friday, January 27, 2012 3:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" > Statement? > > Hi Brad -- > > You can consider one of the three options: > > 1. > > Function Eval(StringExpr As String) > > Member of Access.Application > > 2 > Function Run(Procedure As String, [Arg1], [Arg2], [Arg3], [Arg4], [Arg5], > [Arg6], [Arg7], [Arg8], [Arg9], [Arg10], [Arg11], [Arg12], [Arg13], > [Arg14], [Arg15], [Arg16], [Arg17], [Arg18], [Arg19], [Arg20], [Arg21], > [Arg22], [Arg23], [Arg24], [Arg25], [Arg26], [Arg27], [Arg28], [Arg29], > [Arg30]) > > Member of Access.Application > > 3. > Function CallByName(Object As Object, ProcName As String, CallType As > VbCallType, Args() As Variant) > > Member of VBA.Interaction > > Thank you. > > -- Shamil > > 28 ?????? 2012, 00:23 ?? "Brad Marks" : > > All, > > > > I am experimenting with building a generic routine that will in turn > > call other routines based on a variable. > > > > The following statement works nicely of course. > > > > Call Report100_Compound_Filters > > > > However, I would like to able to do something like shown below so that I > > can plug in the first part of the name (such as "Report100") > > > > DIM MySub as String > > > > Dim MyReport as String > > > > MyReport = "Report100" > > > > MySub = MyReport & "_Compound_Filters" > > > > CALL MySub > > > > ~~~~~~~~~~~~~~~~~~~~~ > > > > This CALL does not work, but I thought that perhaps there is some sort > > of method to accomplish this with VBA. > > > > Thanks, > > > > Brad > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Fri Jan 27 18:55:34 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Jan 2012 19:55:34 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: Why on this particular planet you would choose to write such code, I confess, escapes me completely, not least because it totally defeats code-walking, trace, etc. Alternatively, perhaps I'm simply too old and too stupid to recognize the advantage(s) gained by such an arcane manouvre. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From BradM at blackforestltd.com Fri Jan 27 19:13:36 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 27 Jan 2012 19:13:36 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: Arthur, Sorry, I should have explained earlier in more detail what I am trying to do. I am building an Access 2007 "Reporting" application. I have written a number of small chunks of VBA code to support "Compound Dynamic Report Filters". Much of the code is "Common" code, but some of the code needs to be customized slightly for each Report. In the "common" code that calls the "Specialized" code, I current use IF statements to call the proper sub. This will require one IF statement for each report (someday we might have 50+ reports) By being able to use a variable in the VBA CALL statement, we will be able to have just a few lines of code, instead of all the code needed to support 50+ different reports. I hope that this explains what we are trying to do. Also, I am still learning about Access and I often ask questions and do experiments just to learn new things. The folks here on AccessD have been wonderful with their help and suggestions. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Fri 1/27/2012 6:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? Why on this particular planet you would choose to write such code, I confess, escapes me completely, not least because it totally defeats code-walking, trace, etc. Alternatively, perhaps I'm simply too old and too stupid to recognize the advantage(s) gained by such an arcane manouvre. -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fuller.artful at gmail.com Fri Jan 27 19:33:43 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Jan 2012 20:33:43 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> Message-ID: Ok, I get your point. I would suggest that you pursue your chosen path and add a table housing these report names, along with an appropriate Autonumber PK. Then, however you choose to select the appropriate report (UI, code, whatever) you can grab the name of the report and pass it into your generic call. That approach would eliminate all if If clauses and keep the code to about 3 lines. You'd pay a small penalty in performance, but it would be almost endlessly flexible. On Fri, Jan 27, 2012 at 8:13 PM, Brad Marks wrote: > Arthur, > > Sorry, I should have explained earlier in more detail what I am trying to > do. > > I am building an Access 2007 "Reporting" application. > > I have written a number of small chunks of VBA code to support "Compound > Dynamic Report Filters". Much of the code is "Common" code, but some of > the code needs to be customized slightly for each Report. > > In the "common" code that calls the "Specialized" code, I current use IF > statements to call the proper sub. This will require one IF statement for > each report (someday we might have 50+ reports) > > By being able to use a variable in the VBA CALL statement, we will be able > to have just a few lines of code, instead of all the code needed to support > 50+ different reports. > > I hope that this explains what we are trying to do. > > Also, I am still learning about Access and I often ask questions and do > experiments just to learn new things. > > The folks here on AccessD have been wonderful with their help and > suggestions. > > Brad > -- Arthur Cell: 647.710.1314 The most difficult thing to understand about the universe is that the universe is understandable. -- Albert E. From fuller.artful at gmail.com Fri Jan 27 19:42:57 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 27 Jan 2012 20:42:57 -0500 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <00e401ccdd36$bcef17a0$36cd46e0$@cox.net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <00e401ccdd36$bcef17a0$36cd46e0$@cox.net> Message-ID: Yes you can! On Fri, Jan 27, 2012 at 4:00 PM, Doug Murphy wrote: > Thanks Jim, > > That will help. I wouldn't use office 64 but can't dictate what other folks > use. > > Doug > -- > Arthur Cell: 647.710.1314 Multiply any bit-count by two and rest assured that some client or other will have either a longer penis or larger hardware. -- Arthur From stuart at lexacorp.com.pg Fri Jan 27 19:49:16 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 11:49:16 +1000 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1>, Message-ID: <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> I would consider this much easier to follow. It encapsulates the conditional in it's own Sub and it is a simple Copy/Paste of two lines followed by a minor edit each time you add a new report: Sub CommonCode(rptname as String) 'Do common stuff ..... 'Do specific Stuff Call SpecificCode(rptname) 'Do more common stuff ..... End Sub Sub SpecificCode(rptName as String) Select Case rptName Case "rptOne" Call rptOne_CompoundFilters Case "rptTwo" Call rptTwo_CompoundFilters Case "rptThree" Call rptThree_CompoundFilters Case "rptFour" Call rptFour_CompoundFilters End Select End Sub On 27 Jan 2012 at 19:13, Brad Marks wrote: > > I have written a number of small chunks of VBA code to support > "Compound Dynamic Report Filters". Much of the code is "Common" code, > but some of the code needs to be customized slightly for each Report. > > In the "common" code that calls the "Specialized" code, I current use > IF statements to call the proper sub. This will require one IF > statement for each report (someday we might have 50+ reports) > > By being able to use a variable in the VBA CALL statement, we will be > able to have just a few lines of code, instead of all the code needed > to support 50+ different reports. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From BradM at blackforestltd.com Fri Jan 27 20:17:17 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Fri, 27 Jan 2012 20:17:17 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA"CALL"Statement? References: <00a201ccdd16$a995d650$5bdea8c0@edz1>, <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> Message-ID: Arthur and Stuart, Thanks for your ideas and insights. I am planning to spend some time experimenting with these ideas over the weekend. This will hopefully get me out of some work that my wife has planned for me :-) I appreciate your help. Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan Sent: Fri 1/27/2012 7:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA"CALL"Statement? I would consider this much easier to follow. It encapsulates the conditional in it's own Sub and it is a simple Copy/Paste of two lines followed by a minor edit each time you add a new report: Sub CommonCode(rptname as String) 'Do common stuff ..... 'Do specific Stuff Call SpecificCode(rptname) 'Do more common stuff ..... End Sub Sub SpecificCode(rptName as String) Select Case rptName Case "rptOne" Call rptOne_CompoundFilters Case "rptTwo" Call rptTwo_CompoundFilters Case "rptThree" Call rptThree_CompoundFilters Case "rptFour" Call rptFour_CompoundFilters End Select End Sub On 27 Jan 2012 at 19:13, Brad Marks wrote: > > I have written a number of small chunks of VBA code to support > "Compound Dynamic Report Filters". Much of the code is "Common" code, > but some of the code needs to be customized slightly for each Report. > > In the "common" code that calls the "Specialized" code, I current use > IF statements to call the proper sub. This will require one IF > statement for each report (someday we might have 50+ reports) > > By being able to use a variable in the VBA CALL statement, we will be > able to have just a few lines of code, instead of all the code needed > to support 50+ different reports. > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From stuart at lexacorp.com.pg Fri Jan 27 20:47:56 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 12:47:56 +1000 Subject: [AccessD] Is it Possible to Have a Variable in a VBA"CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1>, Message-ID: <4F2361DC.5601.45C2033@stuart.lexacorp.com.pg> It always pays to think about things a bit more before setting your methods in stone :-) You can just do this: SubMain() PrepareReport "rpt1" PrepareReport "rpt2" End Sub Sub PrepareReport(rptname As String) MsgBox "About to run " & rptname & "Code" Application.Run rptname & "Code" MsgBox "Done" End Sub Sub Rpt1Code() MsgBox "Report 1 Stuff" End Sub Sub Rpt2Code() MsgBox "Report 1 Stuff" End Sub On 27 Jan 2012 at 20:17, Brad Marks wrote: > Arthur and Stuart, > > Thanks for your ideas and insights. > > I am planning to spend some time experimenting with these ideas over the weekend. > This will hopefully get me out of some work that my wife has planned for me :-) > > > I appreciate your help. > > Brad > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com on behalf of Stuart McLachlan > Sent: Fri 1/27/2012 7:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA"CALL"Statement? > > I would consider this much easier to follow. It encapsulates the conditional in it's own Sub > and it is a simple Copy/Paste of two lines followed by a minor edit each time you add a new > report: > > Sub CommonCode(rptname as String) > 'Do common stuff > ..... > 'Do specific Stuff > Call SpecificCode(rptname) > 'Do more common stuff > ..... > End Sub > > Sub SpecificCode(rptName as String) > Select Case rptName > Case "rptOne" > Call rptOne_CompoundFilters > Case "rptTwo" > Call rptTwo_CompoundFilters > Case "rptThree" > Call rptThree_CompoundFilters > Case "rptFour" > Call rptFour_CompoundFilters > End Select > End Sub > > > On 27 Jan 2012 at 19:13, Brad Marks wrote: > > > > > I have written a number of small chunks of VBA code to support > > "Compound Dynamic Report Filters". Much of the code is "Common" code, > > but some of the code needs to be customized slightly for each Report. > > > > In the "common" code that calls the "Specialized" code, I current use > > IF statements to call the proper sub. This will require one IF > > statement for each report (someday we might have 50+ reports) > > > > By being able to use a variable in the VBA CALL statement, we will be > > able to have just a few lines of code, instead of all the code needed > > to support 50+ different reports. > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From vbacreations at gmail.com Fri Jan 27 20:48:06 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 21:48:06 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> Message-ID: I have sometimes put proc names in a table. Run the code required for a particular value from a group of records selected from the table. I also added refernce to vba extensibility to the project so that I could loop vbe components to verify that " "& procname & ")" could be found in the code project. I was just kinda playing around- no real advantage - but I enjoyed selecting a list of required procs in a recordset according to some parameters then looping the recordset to call the needed functions in required sequence, by name using either evaluate() or application.run On Jan 27, 2012 8:50 PM, "Stuart McLachlan" wrote: > I would consider this much easier to follow. It encapsulates the > conditional in it's own Sub > and it is a simple Copy/Paste of two lines followed by a minor edit each > time you add a new > report: > > Sub CommonCode(rptname as String) > 'Do common stuff > ..... > 'Do specific Stuff > Call SpecificCode(rptname) > 'Do more common stuff > ..... > End Sub > > Sub SpecificCode(rptName as String) > Select Case rptName > Case "rptOne" > Call rptOne_CompoundFilters > Case "rptTwo" > Call rptTwo_CompoundFilters > Case "rptThree" > Call rptThree_CompoundFilters > Case "rptFour" > Call rptFour_CompoundFilters > End Select > End Sub > > > On 27 Jan 2012 at 19:13, Brad Marks wrote: > > > > > I have written a number of small chunks of VBA code to support > > "Compound Dynamic Report Filters". Much of the code is "Common" code, > > but some of the code needs to be customized slightly for each Report. > > > > In the "common" code that calls the "Specialized" code, I current use > > IF statements to call the proper sub. This will require one IF > > statement for each report (someday we might have 50+ reports) > > > > By being able to use a variable in the VBA CALL statement, we will be > > able to have just a few lines of code, instead of all the code needed > > to support 50+ different reports. > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Jan 27 20:51:14 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 12:51:14 +1000 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1>, <4F23541C.12490.42669DF@stuart.lexacorp.com.pg>, Message-ID: <4F2362A2.11895.45F282F@stuart.lexacorp.com.pg> See my other post. I must have thought of application.run at the same time as you were drafting this. GMTA :-) -- Stuart On 27 Jan 2012 at 21:48, William Benson wrote: > I have sometimes put proc names in a table. Run the code required for a > particular value from a group of records selected from the table. I also > added refernce to vba extensibility to the project so that I could loop vbe > components to verify that " "& procname & ")" could be found in the code > project. > > I was just kinda playing around- no real advantage - but I enjoyed > selecting a list of required procs in a recordset according to some > parameters then looping the recordset to call the needed functions in > required sequence, by name using either evaluate() or application.run -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From vbacreations at gmail.com Fri Jan 27 20:59:56 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 21:59:56 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: <4F2362A2.11895.45F282F@stuart.lexacorp.com.pg> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> <4F2362A2.11895.45F282F@stuart.lexacorp.com.pg> Message-ID: Yep. But hopefully you don't advocate the same table driven approach. It was purely for fun and you can be sure that a programmer will hate it (they would rather read code). However I found it somewhat Demystifying for the user because I can actually show them a list of programs that will run under a filtered set of parameters. And also if they want to add a new function they can add the procname to the table, stick that in a standard module.... and I will take care of the rest. On Jan 27, 2012 9:52 PM, "Stuart McLachlan" wrote: > See my other post. I must have thought of application.run at the same > time as you were > drafting this. GMTA :-) > > -- > Stuart > > On 27 Jan 2012 at 21:48, William Benson wrote: > > > I have sometimes put proc names in a table. Run the code required for a > > particular value from a group of records selected from the table. I also > > added refernce to vba extensibility to the project so that I could loop > vbe > > components to verify that " "& procname & ")" could be found in the code > > project. > > > > I was just kinda playing around- no real advantage - but I enjoyed > > selecting a list of required procs in a recordset according to some > > parameters then looping the recordset to call the needed functions in > > required sequence, by name using either evaluate() or application.run > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Fri Jan 27 21:03:15 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 22:03:15 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> <4F2362A2.11895.45F282F@stuart.lexacorp.com.pg> Message-ID: Skip the part about sticking it I'm a standard module. That of course would be developers job. Done before they choose the function (like from a dropdown or a menu) which I would have code that inserts that selected proc in the table of procs to be run. On Jan 27, 2012 9:59 PM, "William Benson" wrote: > Yep. > > But hopefully you don't advocate the same table driven approach. It was > purely for fun and you can be sure that a programmer will hate it (they > would rather read code). > > However I found it somewhat Demystifying for the user because I can > actually show them a list of programs that will run under a filtered set of > parameters. And also if they want to add a new function they can add the > procname to the table, stick that in a standard module.... and I will take > care of the rest. > On Jan 27, 2012 9:52 PM, "Stuart McLachlan" > wrote: > >> See my other post. I must have thought of application.run at the same >> time as you were >> drafting this. GMTA :-) >> >> -- >> Stuart >> >> On 27 Jan 2012 at 21:48, William Benson wrote: >> >> > I have sometimes put proc names in a table. Run the code required for a >> > particular value from a group of records selected from the table. I also >> > added refernce to vba extensibility to the project so that I could loop >> vbe >> > components to verify that " "& procname & ")" could be found in the code >> > project. >> > >> > I was just kinda playing around- no real advantage - but I enjoyed >> > selecting a list of required procs in a recordset according to some >> > parameters then looping the recordset to call the needed functions in >> > required sequence, by name using either evaluate() or application.run >> -- >> Stuart McLachlan >> >> Ph: +675 340 4392 >> Mob: +675 7100 2028 >> Web: http://www.lexacorp.com.pg >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From vbacreations at gmail.com Fri Jan 27 21:07:25 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 22:07:25 -0500 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <4F23541C.12490.42669DF@stuart.lexacorp.com.pg> <4F2362A2.11895.45F282F@stuart.lexacorp.com.pg> Message-ID: Too much pain medicine today. Not that this is my brand (Valium) but here is a joke. Latin singular : Valium Latin plural when < 3 Valiums Latin plural when >=3. Vyehyeh On Jan 27, 2012 10:03 PM, "William Benson" wrote: > Skip the part about sticking it I'm a standard module. That of course > would be developers job. Done before they choose the function (like from a > dropdown or a menu) which I would have code that inserts that selected proc > in the table of procs to be run. > On Jan 27, 2012 9:59 PM, "William Benson" wrote: > >> Yep. >> >> But hopefully you don't advocate the same table driven approach. It was >> purely for fun and you can be sure that a programmer will hate it (they >> would rather read code). >> >> However I found it somewhat Demystifying for the user because I can >> actually show them a list of programs that will run under a filtered set of >> parameters. And also if they want to add a new function they can add the >> procname to the table, stick that in a standard module.... and I will take >> care of the rest. >> On Jan 27, 2012 9:52 PM, "Stuart McLachlan" >> wrote: >> >>> See my other post. I must have thought of application.run at the same >>> time as you were >>> drafting this. GMTA :-) >>> >>> -- >>> Stuart >>> >>> On 27 Jan 2012 at 21:48, William Benson wrote: >>> >>> > I have sometimes put proc names in a table. Run the code required for a >>> > particular value from a group of records selected from the table. I >>> also >>> > added refernce to vba extensibility to the project so that I could >>> loop vbe >>> > components to verify that " "& procname & ")" could be found in the >>> code >>> > project. >>> > >>> > I was just kinda playing around- no real advantage - but I enjoyed >>> > selecting a list of required procs in a recordset according to some >>> > parameters then looping the recordset to call the needed functions in >>> > required sequence, by name using either evaluate() or application.run >>> -- >>> Stuart McLachlan >>> >>> Ph: +675 340 4392 >>> Mob: +675 7100 2028 >>> Web: http://www.lexacorp.com.pg >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> From vbacreations at gmail.com Fri Jan 27 21:27:35 2012 From: vbacreations at gmail.com (William Benson) Date: Fri, 27 Jan 2012 22:27:35 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <08A018278BE8445D8A1948BE55D7E71A@XPS> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the repair > and compact process is that each query is flagged to be re-costed. So > first > time it's run, you get a new costing plan calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving large > tables will choose an inefficient plan depending on whether the table is > full or not. > > But with all that said, you query plan would remain inefficient even if > the database grew until it was re-costed again, at which point it would be > back up to speed. > > So besides the compact and repair, what else are you doing within the DB > in terms of records? Why does it go from 850MB down to 170? Are you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sat Jan 28 07:21:07 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 28 Jan 2012 08:21:07 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> Message-ID: <9250B00AFA2345C1946148EBA090609C@XPS> William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the repair > and compact process is that each query is flagged to be re-costed. So > first > time it's run, you get a new costing plan calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving large > tables will choose an inefficient plan depending on whether the table is > full or not. > > But with all that said, you query plan would remain inefficient even if > the database grew until it was re-costed again, at which point it would be > back up to speed. > > So besides the compact and repair, what else are you doing within the DB > in terms of records? Why does it go from 850MB down to 170? Are you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Sat Jan 28 09:17:53 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 28 Jan 2012 10:17:53 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <9250B00AFA2345C1946148EBA090609C@XPS> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> Message-ID: <003001ccddd0$01ffd020$05ff7060$@net> Very impressive knowledge Jim. I was unaware of the fact that SQL built on-the-fly actually had a temp query associated with it. Is it easy to associate the tilde queries with the corresponding VBA statements I wonder ? Or does one try to match on the source statements ? From jimdettman at verizon.net Sat Jan 28 10:28:57 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 28 Jan 2012 11:28:57 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <003001ccddd0$01ffd020$05ff7060$@net> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> <003001ccddd0$01ffd020$05ff7060$@net> Message-ID: <> Not really; you just have to hang around long enough <> I should have been clearer; it's only if a SQL statement is used in a record source or row source. SQL in VBA code doesn't get treated that way. It's only for Access objects. <> Yes, the naming is fairly consistent. Here's an example: ~sq_cfrmARInvoiceBatch~sq_ccboBillToID ~sq_cfrmARInvoiceBatch~sq_ccboBillToName ~sq_cfrmARInvoiceBatch~sq_ccboCreatedBy ~sq_cfrmARInvoiceBatch~sq_ccboModifiedBy ~sq_cfrmARInvoiceRptDialog~sq_cSelectList ~sq_cfrmARPrintPostInvBatch~sq_clstSelectBatchID ~sq_cfrmCompanyInfo1~sq_ccboCountryID ~sq_cfrmCurrentUsers~sq_cfrmAnnouncementsSubForm ~sq_cfrmCustomer~sq_ccboCountryID ~sq_cfrmCustomer~sq_ccboCustomerType ~sq_cfrmCustomer~sq_ccboInvoiceTerms ~sq_cfrmDepartment~sq_cfrmDepartmentSubForm ~sq_cfrmLookupLocation~sq_cembfrmLookupLocationSF ~sq_cfrmRTY~sq_ccboYards ~sq_cfrmVisits~sq_cembfrmVisitsDetailSF ~sq_cfrmVisits~sq_cembfrmVisitsPaymentsSF ~sq_cfrmVisits~sq_cembfrmVisitsSummarySF ~sq_cfrmVisitsPatientInfo~sq_ccboEnthicityID ~sq_cfrmVisitsPatientInfo~sq_cembfrmPatientInquirysfProcedures ~sq_cfrmVisitsPatientInfo~sq_cembfrmPatientInquirysfVisits ~sq_drptVisitInfo~sq_dChild106 ~sq_drptVisitInfo~sq_dembrptVisitInfoSRBillings ~sq_ffrmAnnouncementEdit ~sq_ffrmAnnouncementView ~sq_ffrmChangePassword ~sq_ffrmCurrentUsersSubForm ~sq_ffrmLocations ~sq_ffrmUser ~sq_ffrmVisitsPatientInfo I've never really looked at them before because Access manages all of it. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Saturday, January 28, 2012 10:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB Very impressive knowledge Jim. I was unaware of the fact that SQL built on-the-fly actually had a temp query associated with it. Is it easy to associate the tilde queries with the corresponding VBA statements I wonder ? Or does one try to match on the source statements ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Jan 28 11:01:48 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 28 Jan 2012 12:01:48 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> <003001ccddd0$01ffd020$05ff7060$@net> Message-ID: Perhaps because I often upgrade Access apps to SQL BEs, I've got into the habit of finding all these occurrences and replacing them with named queries. I wrote a simple little utility that finds all these "offending occurrences" and lists them, so I can walk the list of forms, etc. and replace them all with named queries. That part (the replace) isn't automated, but assuming that I walk the list, it does eliminate them all. In case there's a chance that you'll ever migrate an Access app to use a SQL BE, then I suggest that you follow this path. It makes things far easier. On Sat, Jan 28, 2012 at 11:28 AM, Jim Dettman wrote: > <> > > Not really; you just have to hang around long enough > > < query associated with it.>> > > I should have been clearer; it's only if a SQL statement is used in a > record source or row source. SQL in VBA code doesn't get treated that way. > It's only for Access objects. > > < statements I wonder ?>> > > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From marksimms at verizon.net Sat Jan 28 11:36:49 2012 From: marksimms at verizon.net (Mark Simms) Date: Sat, 28 Jan 2012 12:36:49 -0500 Subject: [AccessD] SQL Queries vs. String SQL In-Reply-To: References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> <003001ccddd0$01ffd020$05ff7060$@net> Message-ID: <002701ccdde3$6afa3940$40eeabc0$@net> No doubt about it. However, I have a funny feeling that 90% (or more) Access apps worth migrating have NOT used cataloged Access queries for recordsources. Then add to that all of the dynamic "string SQL" in VBA....and you've got a nightmare of a conversion project. Strange that Microsoft didn't provide adequate guidelines from the beginning....now it's too late ! > In case there's a chance that you'll ever migrate an Access app to use > a SQL BE, then I suggest that you follow this path. It makes things far > easier. > From fuller.artful at gmail.com Sat Jan 28 14:31:22 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 28 Jan 2012 15:31:22 -0500 Subject: [AccessD] SQL Queries vs. String SQL In-Reply-To: <002701ccdde3$6afa3940$40eeabc0$@net> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> <003001ccddd0$01ffd020$05ff7060$@net> <002701ccdde3$6afa3940$40eeabc0$@net> Message-ID: Well, perhaps for some Access developers. But I had the fortune to migrate to ADP back in Access 2000, and after the first migration (no, make that "During"), I wrote said utility to grab every RowSource and RecordSource that began with the word "SELECT". The rest was trivial. Not only that, but the benefits were obvious even sticking with an MDB BE. For example, a combo-box RecordSource presenting CustomerID, formerly a SELECT statement on several forms, now a named query Customer_qs (my convention: the suffix in this case indicates Query Select). I think that God, in creating man, somewhat overestimated his ability. -- Oscar Wilde On Sat, Jan 28, 2012 at 12:36 PM, Mark Simms wrote: > No doubt about it. However, I have a funny feeling that 90% (or more) > Access > apps worth migrating have NOT used cataloged Access queries for > recordsources. Then add to that all of the dynamic "string SQL" in > VBA....and you've got a nightmare of a conversion project. > Strange that Microsoft didn't provide adequate guidelines from the > beginning....now it's too late ! > > From Benson at ge.com Sat Jan 28 22:37:53 2012 From: Benson at ge.com (Benson, William (GE Global Research, consultant)) Date: Sun, 29 Jan 2012 04:37:53 +0000 Subject: [AccessD] Compression slows down MDB In-Reply-To: <9250B00AFA2345C1946148EBA090609C@XPS> References: <00a201ccdd16$a995d650$5bdea8c0@edz1> <08A018278BE8445D8A1948BE55D7E71A@XPS> <9250B00AFA2345C1946148EBA090609C@XPS> Message-ID: <93D10F008B998B4A83BCA855A33EEF3701510F@cinmldgcna02.e2k.ad.ge.com> Thanks Jim. I have a lot to study here... and I will. I hope you don't mind a follow up question or two ... five or six weeks later ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, January 28, 2012 8:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the > repair and compact process is that each query is flagged to be > re-costed. So first time it's run, you get a new costing plan > calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving > large tables will choose an inefficient plan depending on whether the > table is full or not. > > But with all that said, you query plan would remain inefficient even > if the database grew until it was re-costed again, at which point it > would be back up to speed. > > So besides the compact and repair, what else are you doing within the > DB in terms of records? Why does it go from 850MB down to 170? Are > you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward > Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression that repair and > compression of your MDB file is a good thing. > > However. . . > > Has anyone had the experience of doing a compress and your MsAccess > application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do a days worth of > updates. At 850 megabytes it takes just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, and Win-7 64bit > Pro, using Access 2003 32bit, using access 2000 file structures. > > The application didn't change that behavior when converting every > thing over to Access 2003 file structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 darryl at whittleconsulting.com.au Sun Jan 29 16:40:18 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 29 Jan 2012 22:40:18 +0000 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> Message-ID: <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> Doug, Check out conditional formatting (Google" #IF VBA7"). Here is a good example of what we use here for 64bit and 32 bit compatibility between PC's <> Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, 28 January 2012 5:45 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Issues with running applications in 64 bit version of Office I have used a slightly modified version of the relinking code from the Access Developers Handbook for many years. I liked using it as it didn't depend on the Office Dialogs so could be used in runtime versions on computers without Office installed. I dropped the code modules into a customer's application as usual when we split their database and all was well. Until they tried running the application on a computer with Office 10 64 bit. Code breaks on the 32 bit api calls. Not good. Has anyone run into this and figured out how to work with both 32 bit and 64 bit versions of Access? For the short term I am going to use the Office dialogs, but would prefer to use the Windows api. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sun Jan 29 17:13:11 2012 From: marksimms at verizon.net (Mark Simms) Date: Sun, 29 Jan 2012 18:13:11 -0500 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <002b01ccdedb$92376610$b6a63230$@net> OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... And Win64 implies Windows 64 bit with Office 32 bit. Am I right ? Better directive naming: VBA64WIN64, VBAWIN64 > > < between-vba-6-0-and-vba-7-0>> From darryl at whittleconsulting.com.au Sun Jan 29 17:51:51 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Sun, 29 Jan 2012 23:51:51 +0000 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <002b01ccdedb$92376610$b6a63230$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> <002b01ccdedb$92376610$b6a63230$@net> Message-ID: <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> I don't disagree, but I think #VBA7 is the only build in constant available in VBA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, 30 January 2012 10:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... And Win64 implies Windows 64 bit with Office 32 bit. Am I right ? Better directive naming: VBA64WIN64, VBAWIN64 > > < between-vba-6-0-and-vba-7-0>> -- 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 Jan 29 18:11:43 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 30 Jan 2012 10:11:43 +1000 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> It is poorly explained in the stackoverflow link. A better reference is: http://msdn.microsoft.com/en-us/library/ee691831%28loband%29.aspx#odc_office2010_Co mpatibility32bit64bit_IntroducingVBA7CodeBase VBA 7 is a new code base, replacing the earlier version of VBA. VBA 7 exists for both the 32-bit and 64-bit versions of Office 2010. It provides two conditional compilation constants: VBA7 and Win64. The VBA7 constant helps ensure the backward compatibility of your code by testing whether your application is using VBA 7 or the previous version of VBA. The Win64 constant is used to test whether code is running as 32-bit or as 64-bit. Both of these compilation constants are demonstrated later in this article. -- Stuart On 29 Jan 2012 at 23:51, Darryl Collins wrote: > I don't disagree, but I think #VBA7 is the only build in constant available in VBA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, 30 January 2012 10:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office > > OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... > And Win64 implies Windows 64 bit with Office 32 bit. > Am I right ? > > Better directive naming: VBA64WIN64, VBAWIN64 > > > > > < > between-vba-6-0-and-vba-7-0>> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 dw-murphy at cox.net Sun Jan 29 18:45:34 2012 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 29 Jan 2012 16:45:34 -0800 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> Message-ID: <00b601ccdee8$7a09e6f0$6e1db4d0$@cox.net> Great. Thanks for the reference. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, January 29, 2012 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office It is poorly explained in the stackoverflow link. A better reference is: http://msdn.microsoft.com/en-us/library/ee691831%28loband%29.aspx#odc_office 2010_Co mpatibility32bit64bit_IntroducingVBA7CodeBase VBA 7 is a new code base, replacing the earlier version of VBA. VBA 7 exists for both the 32-bit and 64-bit versions of Office 2010. It provides two conditional compilation constants: VBA7 and Win64. The VBA7 constant helps ensure the backward compatibility of your code by testing whether your application is using VBA 7 or the previous version of VBA. The Win64 constant is used to test whether code is running as 32-bit or as 64-bit. Both of these compilation constants are demonstrated later in this article. -- Stuart On 29 Jan 2012 at 23:51, Darryl Collins wrote: > I don't disagree, but I think #VBA7 is the only build in constant available in VBA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms > Sent: Monday, 30 January 2012 10:13 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office > > OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... > And Win64 implies Windows 64 bit with Office 32 bit. > Am I right ? > > Better directive naming: VBA64WIN64, VBAWIN64 > > > > > < > between-vba-6-0-and-vba-7-0>> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Mon Jan 30 06:58:20 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 07:58:20 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> <002b01ccdedb$92376610$b6a63230$@net> <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: No, there are other constants. Check the EE thread I posted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, January 29, 2012 06:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice I don't disagree, but I think #VBA7 is the only build in constant available in VBA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, 30 January 2012 10:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... And Win64 implies Windows 64 bit with Office 32 bit. Am I right ? Better directive naming: VBA64WIN64, VBAWIN64 > > < between-vba-6-0-and-vba-7-0>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Jan 30 07:02:00 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 08:02:00 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <002b01ccdedb$92376610$b6a63230$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> <002b01ccdedb$92376610$b6a63230$@net> Message-ID: No, not really, but yes. Office 64 bit can only run under a 64 bit OS. So yes, VBA7 means you have a 64 bit OS. You don't need to check. VBA6 can run on 32 bit or 64 bit, so you need to check which OS with WIN64 if you want to know which OS your running under. But understand that running 32 bit Office under a 64 bit OS still let's you make 32 bit calls, so you really don't care. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Sunday, January 29, 2012 06:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... And Win64 implies Windows 64 bit with Office 32 bit. Am I right ? Better directive naming: VBA64WIN64, VBAWIN64 > > < between-vba-6-0-and-vba-7-0>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Jan 30 07:20:49 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 08:20:49 -0500 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> Message-ID: <007601ccdf51$fc5b5210$f511f630$@net> I've never seen VBA7 and WIN64 directives used together. So if VBA7 is true, do the API calls need to have Longs replaced by LongPtr for example ? Or only if WIN64 is true. I'm still confused....are there 4 combination of conditions to handle here ? Or only 2 ? or 3 ? VBA7 must be explicitly set to False in Excel 2003 ? #Const VBA7=False From marksimms at verizon.net Mon Jan 30 07:28:16 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 08:28:16 -0500 Subject: [AccessD] Burn-out In-Reply-To: <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> Message-ID: <007c01ccdf53$06828b40$1387a1c0$@net> I read this and was shocked: http://www.techrepublic.com/blog/10things/10-things-it-pros-do-that-lead-to- burnout/3018?tag=nl.e101 I'm actually doing ALL of these. No vacation in 5 years. I blame much of this on the IT Services marketplace, not myself per-se. From stuart at lexacorp.com.pg Mon Jan 30 07:33:43 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 30 Jan 2012 23:33:43 +1000 Subject: [AccessD] Issues with running applications in 64 bit version of Office In-Reply-To: <007601ccdf51$fc5b5210$f511f630$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg>, <007601ccdf51$fc5b5210$f511f630$@net> Message-ID: <4F269C37.9648.10F829F5@stuart.lexacorp.com.pg> I've only built one application which has to run under Win7/Office 10 64bit. The only changes I had to make to the A2003 code was to conditionally declare API calls along the lines of: #If VBA7 Then Declare PtrSafe Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long Declare PtrSafe Function CreateProcessA Lib "kernel32" (ByVal lpApplicationName As Long, ByVal lpCommandLine As String, ByVal lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long Declare PtrSafe Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long #Else Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long Declare Function CreateProcessA Lib "kernel32" (ByVal lpApplicationName As Long, ByVal lpCommandLine As String, ByVal lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long #End If Once I did that, the same MDB runs under anything from A2003, A2007 and A2010 32 bit and 64bit. You only need to change API calls from LONG to LONGPTR if you are calling 64bit DLLs. -- Stuart On 30 Jan 2012 at 8:20, Mark Simms wrote: > I've never seen VBA7 and WIN64 directives used together. > So if VBA7 is true, do the API calls need to have Longs replaced by LongPtr > for example ? > Or only if WIN64 is true. > I'm still confused....are there 4 combination of conditions to handle here ? > Or only 2 ? or 3 ? > VBA7 must be explicitly set to False in Excel 2003 ? > #Const VBA7=False > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Jan 30 08:02:59 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jan 2012 15:02:59 +0100 Subject: [AccessD] Burn-out Message-ID: Hi Mark Blame management for poor resource planning. That's the essence of this. /gustav >>> marksimms at verizon.net 30-01-2012 14:28:16 >>> I read this and was shocked: http://www.techrepublic.com/blog/10things/10-things-it-pros-do-that-lead-to-burnout/3018?tag=nl.e101 I'm actually doing ALL of these. No vacation in 5 years. I blame much of this on the IT Services marketplace, not myself per-se. From jimdettman at verizon.net Mon Jan 30 08:02:59 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 09:02:59 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <007601ccdf51$fc5b5210$f511f630$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> Message-ID: Your right, going back over this, it's confusing to say the least. I thought I understood it, but it looks like I got it screwed up (again :( ). If you read: http://msdn.microsoft.com/en-us/library/ee691831(office.14).aspx You'll see that: VBA7 Means simply Office 2010 VBA code base vs earlier versions. WIN64 means if *VBA* is running as 32 bit or 64 bit, not the OS! And you can see why this is confusing, because part of the answer is if you using the 64 bit version or not (which is the only one with the additional pointer types) and the way you code the declares. Also if there are two versions of the declare; one for 64 bit and one for 32 bits, or if they are both the same. Here's the example out of the article: #if Win64 then Declare PtrSafe Function MyMathFunc Lib "User32" (ByVal N As LongLong) As LongLong #else Declare Function MyMathFunc Lib "User32" (ByVal N As Long) As Long #end if This is an example of where the declare for 32 bit vs 64 is different. In the first declare, LongLong was used, so it's only valid under VBA in 64 bit mode, which implies VBA7 as well as the only VBA that has these new types is VBA7 64 bit (VBA7 32 bit does not have them). So I doing think there'd be any harm in doing: #if VBA7 and Win64 then as that would always be true anyway. The VBA7 is not needed though. In this one: #if VBA7 then Declare PtrSafe Sub MessageBeep Lib "User32" (ByVal N AS Long) #else Declare Sub MessageBeep Lib "User32" (ByVal N AS Long) #end if The declares are the same for 32 and 64 bits, but to operate correctly in 64 bits, you need to use the first declare. There's no need to use the Win64 constant, because it's the same call in either case, but you need to handle working in both 32 and 64 bit additions. I can see a lot of people getting goofed up over this. I suppose your best bet would be using the compatibility checker. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 08:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice I've never seen VBA7 and WIN64 directives used together. So if VBA7 is true, do the API calls need to have Longs replaced by LongPtr for example ? Or only if WIN64 is true. I'm still confused....are there 4 combination of conditions to handle here ? Or only 2 ? or 3 ? VBA7 must be explicitly set to False in Excel 2003 ? #Const VBA7=False -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Mon Jan 30 09:31:19 2012 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 30 Jan 2012 08:31:19 -0700 Subject: [AccessD] Compression slows down MDB In-Reply-To: <9250B00AFA2345C1946148EBA090609C@XPS> Message-ID: <000001ccdf64$373dea70$5bdea8c0@edz1> Hi Jim, I think you are on to something. The application in question is to help manage the internal tasks with in several busy Hotels. After processing two and half days, (2.5), worth of data I would take a chunk of code like: +------------------------------------------------------------+ ' ***************************************************** ' Open Form @Clone Recordset ' Set rScreen = [Forms]![ft069JMaidUpd]![SubForm2].Form.RecordsetClone lMaidCount = 0 On Error Resume Next rScreen.MoveLast lMaidCount = rScreen.RecordCount rScreen.MoveFirst On Error GoTo 0 +------------------------------------------------------------+ Cut it out into a Temp notepad file, do a debug compile and save the MDB. Then paste the code back in to where it goes, repeat the debug compile and MDB save. Then the processing times would improve from 13-14 seconds per guest room, down to 2-3 seconds per guest room. Why would doing that kind of compile cause such improvement ? I started to record the times each routine was taking and storing the results in a table. +------------------------------------------------------------+ ' ******************************************************* ' ******************************************************* ' This is where the @Big update for @tt051 tables are called. ' Update all the buckets and special stuff. ' dcboAssignedDate = Timer Call Forms("ft069JMaidUpd").cboAssignedDate_Click dcboAssignedDate = Timer - dcboAssignedDate +------------------------------------------------------------+ Furthermore, there are many SQL statements, plus lots of VBA .MoveNext, .MovePrevious, .Edit and .Update commands. Complex three way joins, and lots of record delegating and record inserting going on. Thus at times tables are empty or filled with lots of space, chr$(32)'s. +------------------------------------------------------------+ ' ***************************************************** ' Out with the old data ' s1SQL = "" s1SQL = s1SQL & " DELETE " s1SQL = s1SQL & " tt051bToDoRpt.zRowID " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051bToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True ' ***************************************************** ' Transfer Housekeeping data into tt051bToDoRpt ' s1SQL = "" s1SQL = s1SQL & " INSERT INTO " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " ( " s1SQL = s1SQL & " Department, zRoomTask, Task_Description, " s1SQL = s1SQL & " SpanishText, Priority, " s1SQL = s1SQL & " Assigned, WorkDate, zLoadDate, zHotel, HouseKeepKey, Housekeeper, " s1SQL = s1SQL & " RmType, Ppl, RmStatus, Condition, StayOCC, Service, " s1SQL = s1SQL & " zIndicator, zOrder, zFlag, Active, DateAdded, " s1SQL = s1SQL & " DateModified, RoomNumID, TaskShortDesc, zType, ToDoListKey, MaidReassign ) " s1SQL = s1SQL & " SELECT " s1SQL = s1SQL & " tt051aToDoRpt.Department, tt051aToDoRpt.zRoomTask, " s1SQL = s1SQL & " tt051aToDoRpt.Task_Description, " s1SQL = s1SQL & " tt051aToDoRpt.SpanishText, " s1SQL = s1SQL & " tt051aToDoRpt.Priority, tt051aToDoRpt.Assigned, tt051aToDoRpt.WorkDate, " s1SQL = s1SQL & " tt051aToDoRpt.zLoadDate, " s1SQL = s1SQL & " tt051aToDoRpt.zHotel, tt051aToDoRpt.HouseKeepKey, " s1SQL = s1SQL & " tt051aToDoRpt.Housekeeper, tt051aToDoRpt.RmType, " s1SQL = s1SQL & " tt051aToDoRpt.Ppl, tt051aToDoRpt.RmStatus, " s1SQL = s1SQL & " tt051aToDoRpt.Condition, tt051aToDoRpt.StayOCC, " s1SQL = s1SQL & " tt051aToDoRpt.Service, 7 AS zInd, tt051aToDoRpt.zOrder, " s1SQL = s1SQL & " tt051aToDoRpt.zFlag, tt051aToDoRpt.Active, " s1SQL = s1SQL & " tt051aToDoRpt.DateAdded, tt051aToDoRpt.DateModified, " s1SQL = s1SQL & " tt051aToDoRpt.RoomNumID, tt051aToDoRpt.TaskShortDesc, " s1SQL = s1SQL & " tt051aToDoRpt.zType, tt051aToDoRpt.ToDoListKey, tt051aToDoRpt.MaidReassign " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051aToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051aToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " And " s1SQL = s1SQL & " tt051aToDoRpt.zIndicator = 2 " s1SQL = s1SQL & " ORDER BY " s1SQL = s1SQL & " tt051aToDoRpt.Department, " s1SQL = s1SQL & " tt051aToDoRpt.zRoomTask " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True +------------------------------------------------------------+ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, January 28, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the > repair and compact process is that each query is flagged to be > re-costed. So first time it's run, you get a new costing plan > calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving > large tables will choose an inefficient plan depending on whether the > table is full or not. > > But with all that said, you query plan would remain inefficient even > if the database grew until it was re-costed again, at which point it > would be back up to speed. > > So besides the compact and repair, what else are you doing within the > DB in terms of records? Why does it go from 850MB down to 170? Are > you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward > Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 marksimms at verizon.net Mon Jan 30 09:41:32 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 10:41:32 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <00c401ccdf65$a462c890$ed2859b0$@net> Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of > this. From marksimms at verizon.net Mon Jan 30 09:48:04 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 10:48:04 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> Message-ID: <00c501ccdf66$8e937b30$abba7190$@net> What if I'm running Access 2003 under Windows XP or 7 - 64 bit - now what ? Does 2003 have a VBA7 directive already declared internally ? If so, that means MSFT was preparing for this 4 years in advance ? Wow. From Gustav at cactus.dk Mon Jan 30 10:08:57 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 30 Jan 2012 17:08:57 +0100 Subject: [AccessD] Burn-out Message-ID: Hi Mark Ha! I missed that completely. This makes the situation clear and simple: You are the only one to blame, and the only one in power to make a change. You just have to learn the words NO and LATER. And supplement with different charges, where you favour those of your clients that are able to plan in a decent way. Those over-the-weekend clients always calling in Friday at Noon (because they "suddenly" remember, and have to call you before they turn off for a wonderful weekend!) are used to, that they can get away with this and Mark never says no. Also, couldn't you team up with someone? I know, I know ... you are the best, but probably not for everything. And that is needed if someone should be able to jump in for you while you are on holiday - with e-mail and remote access shut down. /gustav >>> marksimms at verizon.net 30-01-2012 16:41:32 >>> Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of this. From jimdettman at verizon.net Mon Jan 30 10:06:25 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 11:06:25 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <00c501ccdf66$8e937b30$abba7190$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> <00c501ccdf66$8e937b30$abba7190$@net> Message-ID: <34F798FD6AB14279B788A0F14041E07D@XPS> <> You do nothing. It will just run. Office 2003 is 32 bit, and it will run under both 32 and 64 bit OS's. With Office 2010, if your only going to use the 32 bit version, you need to do nothing. If you are going to run the same DB under both 32 bit and 64 bit editions of Office 2010, then you need to use the VBA7 constant and pointer safe on all the declares. If your going to make 64 bit calls with the new data types in Office 2010 64 bit, then you need to use the Win64 constant. <> No. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice What if I'm running Access 2003 under Windows XP or 7 - 64 bit - now what ? Does 2003 have a VBA7 directive already declared internally ? If so, that means MSFT was preparing for this 4 years in advance ? Wow. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Jan 30 10:35:29 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 11:35:29 -0500 Subject: [AccessD] Burn-out In-Reply-To: <00c401ccdf65$a462c890$ed2859b0$@net> References: <00c401ccdf65$a462c890$ed2859b0$@net> Message-ID: <507DB9328465405A85D5A85D84654B97@XPS> Mark, I'm more or less in the same boat; for a one-man shop, time management is always a problem. I'm generally steady or going crazy. Right now it's crazy...have worked the past three weekends and a forth is coming up. I think part of the answer is making sure your clients set priorities on what they want done, then work on them in that order. I'm a bit different though in that I don't work on contracts, but strictly by the hour. That keeps things flexible and minimizes scope creep. But there's no happy place for a one-man shop. Just the nature of the beast. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of > this. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Jan 30 10:36:14 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 11:36:14 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <34F798FD6AB14279B788A0F14041E07D@XPS> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> <00c501ccdf66$8e937b30$abba7190$@net> <34F798FD6AB14279B788A0F14041E07D@XPS> Message-ID: <00f301ccdf6d$492ff210$db8fd630$@net> I'm just trying to strategize on how to make the code transparent to 2003,2007,2010, 32 and 64 bit. How to handle 2003 if VBA7 and WIN64 don't exist ? I can't set my own VBA7 directive as that will override the internal one. Getting the version doesn't help, that's at run-time. I need make a POST2003VERSION directive...I believe....and just change that one line of code to make it work with all releases. #Const POST2003VERSION = False ' Change only this one line of code to support older releases #If POST2003VERSION Then #If VBA7 Then ' LongPtr, PtrSage declares etc. goes here #End If #Else ' standard declares go here #End If > > <> > No. From edzedz at comcast.net Mon Jan 30 11:00:12 2012 From: edzedz at comcast.net (Edward Zuris) Date: Mon, 30 Jan 2012 10:00:12 -0700 Subject: [AccessD] Burn-out In-Reply-To: <507DB9328465405A85D5A85D84654B97@XPS> Message-ID: <001201ccdf70$a20109d0$5bdea8c0@edz1> I too am a one man shop, with a dog. The dog's job is to bark when the door bell rings. Scope creep is a big deal with my life, but it is a living. Where else is an old over 50 year old going to work. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, January 30, 2012 9:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Mark, I'm more or less in the same boat; for a one-man shop, time management is always a problem. I'm generally steady or going crazy. Right now it's crazy...have worked the past three weekends and a forth is coming up. I think part of the answer is making sure your clients set priorities on what they want done, then work on them in that order. I'm a bit different though in that I don't work on contracts, but strictly by the hour. That keeps things flexible and minimizes scope creep. But there's no happy place for a one-man shop. Just the nature of the beast. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of > this. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 kismert at gmail.com Mon Jan 30 11:04:19 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Mon, 30 Jan 2012 11:04:19 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL" Statement? Message-ID: Brad, One thought: have code behind each report that sets up your custom filtering. Use a standard public method name. Then, use CallByName to setup the report: CallByName(Reports("name"), "SetupFilter", VbMethod) This way, the filter code that is specific to a report stays with that report. I used to be much more of a purist in VBA, but I got spoiled by languages like JavaScript that support functional programming. See: Can Your Programming Language Do This? http://www.joelonsoftware.com/items/2006/08/01.html So, I think your approach fine. Big nested If or Case statements should be avoided, especially if they must be touched every time a new report is added. -Ken From jimdettman at verizon.net Mon Jan 30 11:37:37 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 12:37:37 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <00f301ccdf6d$492ff210$db8fd630$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> <00c501ccdf66$8e937b30$abba7190$@net> <34F798FD6AB14279B788A0F14041E07D@XPS> <00f301ccdf6d$492ff210$db8fd630$@net> Message-ID: <> I think I mis-lead you when I said no. They don't exist, but if you use them in code, they are just ignored. So this: #If VBA7 Then ' PTRSafe used #ELSE ' no PTRSafe used. #End If Is perfectly valid and will compile in 2003 and execute correctly. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 11:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice I'm just trying to strategize on how to make the code transparent to 2003,2007,2010, 32 and 64 bit. How to handle 2003 if VBA7 and WIN64 don't exist ? I can't set my own VBA7 directive as that will override the internal one. Getting the version doesn't help, that's at run-time. I need make a POST2003VERSION directive...I believe....and just change that one line of code to make it work with all releases. #Const POST2003VERSION = False ' Change only this one line of code to support older releases #If POST2003VERSION Then #If VBA7 Then ' LongPtr, PtrSage declares etc. goes here #End If #Else ' standard declares go here #End If > > <> > No. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Jan 30 11:39:23 2012 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 30 Jan 2012 09:39:23 -0800 Subject: [AccessD] Burn-out In-Reply-To: <001201ccdf70$a20109d0$5bdea8c0@edz1> References: <507DB9328465405A85D5A85D84654B97@XPS> <001201ccdf70$a20109d0$5bdea8c0@edz1> Message-ID: <0DF2A01F82144E5BB27ACCFDF73CB32F@HAL9007> I too am a lone ranger and I have the same arrangement with my dog as well. However, recently I was contacted by her shop steward... R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Monday, January 30, 2012 9:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out I too am a one man shop, with a dog. The dog's job is to bark when the door bell rings. Scope creep is a big deal with my life, but it is a living. Where else is an old over 50 year old going to work. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, January 30, 2012 9:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Mark, I'm more or less in the same boat; for a one-man shop, time management is always a problem. I'm generally steady or going crazy. Right now it's crazy...have worked the past three weekends and a forth is coming up. I think part of the answer is making sure your clients set priorities on what they want done, then work on them in that order. I'm a bit different though in that I don't work on contracts, but strictly by the hour. That keeps things flexible and minimizes scope creep. But there's no happy place for a one-man shop. Just the nature of the beast. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of > this. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Jan 30 11:48:20 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 12:48:20 -0500 Subject: [AccessD] Burn-out In-Reply-To: <001201ccdf70$a20109d0$5bdea8c0@edz1> References: <507DB9328465405A85D5A85D84654B97@XPS> <001201ccdf70$a20109d0$5bdea8c0@edz1> Message-ID: <001b01ccdf77$5b8b7470$12a25d50$@net> Amen to that Ed. Gotta live with it....or go back to zero MPH.....forever. Again, I'm making my "escape plans"...they're just not firm at the moment. Since I've got a finance master's degree, I've been hit with a double whammy: First the Indianization of IT, and now the bank and insurance company massive layoffs. > Where else is an old over 50 year old > going to work. From jimdettman at verizon.net Mon Jan 30 11:54:33 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 12:54:33 -0500 Subject: [AccessD] Compression slows down MDB In-Reply-To: <000001ccdf64$373dea70$5bdea8c0@edz1> References: <9250B00AFA2345C1946148EBA090609C@XPS> <000001ccdf64$373dea70$5bdea8c0@edz1> Message-ID: <5C98DB0A52F540129194443D00C7477B@XPS> Ed, Were talking about two different things here: 1. SQL statement and execution and the costing plans used to execute them. 2. VBA Code compilation With what you are doing (#2), what I would do before the cutting code out is do: ? Application.IsCompiled In the debug window or check the menu and see of the compiled option is grayed out. It may be that something in your app is causing the application to become decompiled. This would slow down all the VBA code that executes. What I was talking about (#1), is triggered by a compact and repair and has nothing to do with VBA code. If your not doing a C&R when you mess with the code, then your problem is with code in some way, not the SQL statements. If you do a C&R when you do the code thing, then the code manipulation may just be a red herring and the change in performance might be due to what I was talking about. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Monday, January 30, 2012 10:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Compression slows down MDB Hi Jim, I think you are on to something. The application in question is to help manage the internal tasks with in several busy Hotels. After processing two and half days, (2.5), worth of data I would take a chunk of code like: +------------------------------------------------------------+ ' ***************************************************** ' Open Form @Clone Recordset ' Set rScreen = [Forms]![ft069JMaidUpd]![SubForm2].Form.RecordsetClone lMaidCount = 0 On Error Resume Next rScreen.MoveLast lMaidCount = rScreen.RecordCount rScreen.MoveFirst On Error GoTo 0 +------------------------------------------------------------+ Cut it out into a Temp notepad file, do a debug compile and save the MDB. Then paste the code back in to where it goes, repeat the debug compile and MDB save. Then the processing times would improve from 13-14 seconds per guest room, down to 2-3 seconds per guest room. Why would doing that kind of compile cause such improvement ? I started to record the times each routine was taking and storing the results in a table. +------------------------------------------------------------+ ' ******************************************************* ' ******************************************************* ' This is where the @Big update for @tt051 tables are called. ' Update all the buckets and special stuff. ' dcboAssignedDate = Timer Call Forms("ft069JMaidUpd").cboAssignedDate_Click dcboAssignedDate = Timer - dcboAssignedDate +------------------------------------------------------------+ Furthermore, there are many SQL statements, plus lots of VBA .MoveNext, .MovePrevious, .Edit and .Update commands. Complex three way joins, and lots of record delegating and record inserting going on. Thus at times tables are empty or filled with lots of space, chr$(32)'s. +------------------------------------------------------------+ ' ***************************************************** ' Out with the old data ' s1SQL = "" s1SQL = s1SQL & " DELETE " s1SQL = s1SQL & " tt051bToDoRpt.zRowID " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051bToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True ' ***************************************************** ' Transfer Housekeeping data into tt051bToDoRpt ' s1SQL = "" s1SQL = s1SQL & " INSERT INTO " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " ( " s1SQL = s1SQL & " Department, zRoomTask, Task_Description, " s1SQL = s1SQL & " SpanishText, Priority, " s1SQL = s1SQL & " Assigned, WorkDate, zLoadDate, zHotel, HouseKeepKey, Housekeeper, " s1SQL = s1SQL & " RmType, Ppl, RmStatus, Condition, StayOCC, Service, " s1SQL = s1SQL & " zIndicator, zOrder, zFlag, Active, DateAdded, " s1SQL = s1SQL & " DateModified, RoomNumID, TaskShortDesc, zType, ToDoListKey, MaidReassign ) " s1SQL = s1SQL & " SELECT " s1SQL = s1SQL & " tt051aToDoRpt.Department, tt051aToDoRpt.zRoomTask, " s1SQL = s1SQL & " tt051aToDoRpt.Task_Description, " s1SQL = s1SQL & " tt051aToDoRpt.SpanishText, " s1SQL = s1SQL & " tt051aToDoRpt.Priority, tt051aToDoRpt.Assigned, tt051aToDoRpt.WorkDate, " s1SQL = s1SQL & " tt051aToDoRpt.zLoadDate, " s1SQL = s1SQL & " tt051aToDoRpt.zHotel, tt051aToDoRpt.HouseKeepKey, " s1SQL = s1SQL & " tt051aToDoRpt.Housekeeper, tt051aToDoRpt.RmType, " s1SQL = s1SQL & " tt051aToDoRpt.Ppl, tt051aToDoRpt.RmStatus, " s1SQL = s1SQL & " tt051aToDoRpt.Condition, tt051aToDoRpt.StayOCC, " s1SQL = s1SQL & " tt051aToDoRpt.Service, 7 AS zInd, tt051aToDoRpt.zOrder, " s1SQL = s1SQL & " tt051aToDoRpt.zFlag, tt051aToDoRpt.Active, " s1SQL = s1SQL & " tt051aToDoRpt.DateAdded, tt051aToDoRpt.DateModified, " s1SQL = s1SQL & " tt051aToDoRpt.RoomNumID, tt051aToDoRpt.TaskShortDesc, " s1SQL = s1SQL & " tt051aToDoRpt.zType, tt051aToDoRpt.ToDoListKey, tt051aToDoRpt.MaidReassign " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051aToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051aToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " And " s1SQL = s1SQL & " tt051aToDoRpt.zIndicator = 2 " s1SQL = s1SQL & " ORDER BY " s1SQL = s1SQL & " tt051aToDoRpt.Department, " s1SQL = s1SQL & " tt051aToDoRpt.zRoomTask " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True +------------------------------------------------------------+ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, January 28, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the > repair and compact process is that each query is flagged to be > re-costed. So first time it's run, you get a new costing plan > calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving > large tables will choose an inefficient plan depending on whether the > table is full or not. > > But with all that said, you query plan would remain inefficient even > if the database grew until it was re-costed again, at which point it > would be back up to speed. > > So besides the compact and repair, what else are you doing within the > DB in terms of records? Why does it go from 850MB down to 170? Are > you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward > Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Jan 30 12:01:25 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 30 Jan 2012 13:01:25 -0500 Subject: [AccessD] OT Burn-out In-Reply-To: <001201ccdf70$a20109d0$5bdea8c0@edz1> References: <507DB9328465405A85D5A85D84654B97@XPS> <001201ccdf70$a20109d0$5bdea8c0@edz1> Message-ID: <5F7DC0022CD34696839BA1B5CD4BF831@XPS> << The dog's job is to bark when the door bell rings.>> Ditto here, although he barks at odd noises as well, which is a problem at times. << Where else is an old over 50 year old going to work.>> Ditto as well, although I've seriously been thinking about taking down the shingle and going to work for someone. Going to start looking around at the start of summer and see what's out there. I turn 52 this year and have yet to manage to come up to speed on anything new development wise. Getting too far behind the curve and I don't think Access is going to be around for another 15 - 20 (at least as a development tool). Too many other products have come down to the desktop level (ie. SQL Server) and new products (ie lightswitch) are appearing, plus everything is heading to the web anyway, which is something I've totally avoid to date (gonna pay big time for that decision). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Monday, January 30, 2012 12:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out I too am a one man shop, with a dog. The dog's job is to bark when the door bell rings. Scope creep is a big deal with my life, but it is a living. Where else is an old over 50 year old going to work. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, January 30, 2012 9:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Mark, I'm more or less in the same boat; for a one-man shop, time management is always a problem. I'm generally steady or going crazy. Right now it's crazy...have worked the past three weekends and a forth is coming up. I think part of the answer is making sure your clients set priorities on what they want done, then work on them in that order. I'm a bit different though in that I don't work on contracts, but strictly by the hour. That keeps things flexible and minimizes scope creep. But there's no happy place for a one-man shop. Just the nature of the beast. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Sorry no - I'm the management !!! But I've got clients with deadlines and budgets....that THEY SET. I just can't seem to get to a cruising speed of 60 mph. I'm either at zero(doing nothing) or 100 mph(multiple concurrent contracts)....and veering out-of-control. That's my current state. > > Hi Mark > Blame management for poor resource planning. That's the essence of > this. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Mon Jan 30 12:00:33 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 13:00:33 -0500 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, <002b01ccdedb$92376610$b6a63230$@net>, <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> <4F25E03F.15092.E19E587@stuart.lexacorp.com.pg> <007601ccdf51$fc5b5210$f511f630$@net> <00c501ccdf66$8e937b30$abba7190$@net> <34F798FD6AB14279B788A0F14041E07D@XPS> <00f301ccdf6d$492ff210$db8fd630$@net> Message-ID: <001c01ccdf79$109fb280$31df1780$@net> AH...thanks for that Jim. In other words any referenced DIRECTIVE is defaulted automatically... And doesn't need to be declared: #Const VBA7 = False So VBA7 defaults to False when referenced in an IF statement. I was not aware of that. > I think I mis-lead you when I said no. They don't exist, but if you > use > them in code, they are just ignored. So this: From fuller.artful at gmail.com Mon Jan 30 13:36:26 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 30 Jan 2012 14:36:26 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: I'm entirely with you on the points you made, Gustav. Frankly, I am pretty expert at saying NO and LATER, but it took me years and numerous battle scars to arrive at that wisdom. Now I go even further: I read the specs, do my best guess at hours required, then double the hours, because I have learned to defend against my optimism, and because I know that there will be feature-creep, regardless of the precision of the specs. On the team concept, I also agree, for several reasons: 1. In any app, there are parts that a novice could perform under guidance. 2. In any app, there are parts that demand a little rocket-science, and those are best left to the most seasoned member of the team. 3. In most situations, design of the UI is fundamentally different than implementing the code required -- different skill sets, and ideally, different people. 4. The strength of a chain is defined by its weakest link -- a superb reason to hire an accountant rather than do it yourself. On Mon, Jan 30, 2012 at 11:08 AM, Gustav Brock wrote: > Hi Mark > > Ha! I missed that completely. > This makes the situation clear and simple: You are the only one to blame, > and the only one in power to make a change. > > You just have to learn the words NO and LATER. And supplement with > different charges, where you favour those of your clients that are able to > plan in a decent way. > Those over-the-weekend clients always calling in Friday at Noon (because > they "suddenly" remember, and have to call you before they turn off for a > wonderful weekend!) are used to, that they can get away with this and Mark > never says no. > > Also, couldn't you team up with someone? I know, I know ... you are the > best, but probably not for everything. And that is needed if someone should > be able to jump in for you while you are on holiday - with e-mail and > remote access shut down. > > /gustav > > > >>> marksimms at verizon.net 30-01-2012 16:41:32 >>> > Sorry no - I'm the management !!! > But I've got clients with deadlines and budgets....that THEY SET. > > I just can't seem to get to a cruising speed of 60 mph. > I'm either at zero(doing nothing) or 100 mph(multiple concurrent > contracts)....and veering out-of-control. > That's my current state. > > > > > Hi Mark > > Blame management for poor resource planning. That's the essence of this. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From marksimms at verizon.net Mon Jan 30 15:27:36 2012 From: marksimms at verizon.net (Mark Simms) Date: Mon, 30 Jan 2012 16:27:36 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <003601ccdf95$fcc4d160$f64e7420$@net> Thanks for all of this wisdom....greatly appreciated. Here's a story: Back in early November, our gas grille died of rust and I desperately tried to get one on Craigslist.... mainly because I felt I wasn't going to have the time to put a new one together. I couldn't find a decent used one to save my soul....so I went to Lowes and got a new one for just a little more than what people wanted for their used grilles. Last nite we had steak....cooked on a chincy electric grill.....the new gas grille from Lowes is still in the box....unopened and unassembled from November ! I do have plans to hire someone to assemble it...when he gets free. It's been 24x7 since November. In mid-March, it goes to 0x0....I've had little to no inquiries or calls in the past 3 months....and the contracting market's about to get much worse. My autobiography title: "Zero to 100 and Back to Zero Again"....my life as an IT contractor. What a wild and crazy ride. From darryl at whittleconsulting.com.au Mon Jan 30 16:25:05 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 30 Jan 2012 22:25:05 +0000 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net> <56653D383CB80341995245C537A9E7B5631053@SINPRD0402MB099.apcprd04.prod.outlook.com> <002b01ccdedb$92376610$b6a63230$@net> <56653D383CB80341995245C537A9E7B563116F@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <56653D383CB80341995245C537A9E7B56314A6@SINPRD0402MB099.apcprd04.prod.outlook.com> Thanks Jim, I didn't explain that too well. I did know there were other constants, for some reason I was thinking of one for XL2007 and XL2010 vs Xl2003, which isn't built in AFAIK. Should pay more attention! Been really busy at work this week. Cheers darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, 30 January 2012 11:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice No, there are other constants. Check the EE thread I posted. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Sunday, January 29, 2012 06:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Issues with running applications in 64 bit version ofOffice I don't disagree, but I think #VBA7 is the only build in constant available in VBA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, 30 January 2012 10:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Issues with running applications in 64 bit version of Office OMIGOSH - that is a horrible convention ! It implies VBA7 = Office 2010 64 bit under Win64... And Win64 implies Windows 64 bit with Office 32 bit. Am I right ? Better directive naming: VBA64WIN64, VBAWIN64 > > < between-vba-6-0-and-vba-7-0>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 BradM at blackforestltd.com Mon Jan 30 16:30:05 2012 From: BradM at blackforestltd.com (Brad Marks) Date: Mon, 30 Jan 2012 16:30:05 -0600 Subject: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? References: Message-ID: Ken, Thanks for the ideas, I appreciate it. Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Monday, January 30, 2012 11:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Is it Possible to Have a Variable in a VBA "CALL"Statement? Brad, One thought: have code behind each report that sets up your custom filtering. Use a standard public method name. Then, use CallByName to setup the report: CallByName(Reports("name"), "SetupFilter", VbMethod) This way, the filter code that is specific to a report stays with that report. I used to be much more of a purist in VBA, but I got spoiled by languages like JavaScript that support functional programming. See: Can Your Programming Language Do This? http://www.joelonsoftware.com/items/2006/08/01.html So, I think your approach fine. Big nested If or Case statements should be avoided, especially if they must be touched every time a new report is added. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From darryl at whittleconsulting.com.au Mon Jan 30 16:32:03 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Mon, 30 Jan 2012 22:32:03 +0000 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> "do my best guess at hours required, then double the hours" That, my friend, is excellent and valuable advice that I strongly support. Happy to double it again in some instances, depending on how busy I am. Cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, 31 January 2012 6:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out I'm entirely with you on the points you made, Gustav. Frankly, I am pretty expert at saying NO and LATER, but it took me years and numerous battle scars to arrive at that wisdom. Now I go even further: I read the specs, do my best guess at hours required, then double the hours, because I have learned to defend against my optimism, and because I know that there will be feature-creep, regardless of the precision of the specs. On the team concept, I also agree, for several reasons: 1. In any app, there are parts that a novice could perform under guidance. 2. In any app, there are parts that demand a little rocket-science, and those are best left to the most seasoned member of the team. 3. In most situations, design of the UI is fundamentally different than implementing the code required -- different skill sets, and ideally, different people. 4. The strength of a chain is defined by its weakest link -- a superb reason to hire an accountant rather than do it yourself. On Mon, Jan 30, 2012 at 11:08 AM, Gustav Brock wrote: > Hi Mark > > Ha! I missed that completely. > This makes the situation clear and simple: You are the only one to > blame, and the only one in power to make a change. > > You just have to learn the words NO and LATER. And supplement with > different charges, where you favour those of your clients that are > able to plan in a decent way. > Those over-the-weekend clients always calling in Friday at Noon > (because they "suddenly" remember, and have to call you before they > turn off for a wonderful weekend!) are used to, that they can get away > with this and Mark never says no. > > Also, couldn't you team up with someone? I know, I know ... you are > the best, but probably not for everything. And that is needed if > someone should be able to jump in for you while you are on holiday - > with e-mail and remote access shut down. > > /gustav > > > >>> marksimms at verizon.net 30-01-2012 16:41:32 >>> > Sorry no - I'm the management !!! > But I've got clients with deadlines and budgets....that THEY SET. > > I just can't seem to get to a cruising speed of 60 mph. > I'm either at zero(doing nothing) or 100 mph(multiple concurrent > contracts)....and veering out-of-control. > That's my current state. > > > > > Hi Mark > > Blame management for poor resource planning. That's the essence of this. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Jan 30 16:45:41 2012 From: darren at activebilling.com.au (Darren - Active Billing) Date: Tue, 31 Jan 2012 09:45:41 +1100 Subject: [AccessD] Burn-out In-Reply-To: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> Message-ID: <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> Howdy, I don't work for myself at all now and I do very little Access work, but in relation to hours, I remember My Colby saying a long time ago something like this... "Come up with your number - then triple it." When I first saw that written - I thought...noooo, surely not. But I have since used it on many occasions to great effect. And in the place where I work now the programmers seem to be very optimistic about their abilities (Ruby developers seem to all be like that) I then tell 'em whatever money or time guestimate you get, triple it. Works out right almost every single time. See y'all D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Tuesday, 31 January 2012 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out "do my best guess at hours required, then double the hours" That, my friend, is excellent and valuable advice that I strongly support. Happy to double it again in some instances, depending on how busy I am. Cheers Darryl From stuart at lexacorp.com.pg Mon Jan 30 16:50:27 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 31 Jan 2012 08:50:27 +1000 Subject: [AccessD] Issues with running applications in 64 bit version ofOffice In-Reply-To: <00c501ccdf66$8e937b30$abba7190$@net> References: <00ad01ccdd23$bce8a9a0$36b9fce0$@cox.net>, , <00c501ccdf66$8e937b30$abba7190$@net> Message-ID: <4F271EB3.12850.12F5E1C9@stuart.lexacorp.com.pg> Any unrecognised compiler constant is treated as false. That's the only way version specific conditional compiling can work. You can replace VBA7 with XYZ123 and it will still compile correctly in 2003. -- Stuart On 30 Jan 2012 at 10:48, Mark Simms wrote: > What if I'm running Access 2003 under Windows XP or 7 - 64 bit - now what ? > Does 2003 have a VBA7 directive already declared internally ? > If so, that means MSFT was preparing for this 4 years in advance ? > Wow. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From vbacreations at gmail.com Tue Jan 31 01:05:27 2012 From: vbacreations at gmail.com (William Benson) Date: Tue, 31 Jan 2012 02:05:27 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: Art, I disagree only with the "in any app" part and I don't feel I am even splitting hairs. Unless your definition of a novice is someone more advanced than I have in mind. While I might give an app to a novice to do for me I, i dont like to share work until mostly in production. MS Access apps require constant awareness of most of what the database is doing and I have learned painful lessons about handing off my database to someone else to split load. Almost always I find they can't do much without fiddling with what I have done or am working on and vice versa... no matter how close or far apart we are in skill level. Therefore in any serious MS Access database with moving parts and VBA... there is no way I will again give a project I am doing to another novice developer to share. The only exception might be table setup. But even then i have to inspect and test and there are handoff and schedule issues... not worth it, i find i may as well dive in myself when i am ready to focus on it. Where I have made an exception is letting another developer chew on my database so he could learn. But that was investment for each of us, not dividing up the work per se. That person may be reading this ;) so let me be clear I am not disparaging him or his work! Just pointing. Out it was frustrating for both of us and if not for the non-production (ie, professional development ) side benefits, I am sure no novice nor I would consider it a winning development strategy. Otherwise I agree with all you said. On Jan 30, 2012 2:38 PM, "Arthur Fuller" wrote: > I'm entirely with you on the points you made, Gustav. Frankly, I am pretty > expert at saying NO and LATER, but it took me years and numerous battle > scars to arrive at that wisdom. Now I go even further: I read the specs, do > my best guess at hours required, then double the hours, because I have > learned to defend against my optimism, and because I know that there will > be feature-creep, regardless of the precision of the specs. > > On the team concept, I also agree, for several reasons: > > 1. In any app, there are parts that a novice could perform under guidance. > 2. In any app, there are parts that demand a little rocket-science, and > those are best left to the most seasoned member of the team. > 3. In most situations, design of the UI is fundamentally different than > implementing the code required -- different skill sets, and ideally, > different people. > 4. The strength of a chain is defined by its weakest link -- a superb > reason to hire an accountant rather than do it yourself. > > On Mon, Jan 30, 2012 at 11:08 AM, Gustav Brock wrote: > > > Hi Mark > > > > Ha! I missed that completely. > > This makes the situation clear and simple: You are the only one to blame, > > and the only one in power to make a change. > > > > You just have to learn the words NO and LATER. And supplement with > > different charges, where you favour those of your clients that are able > to > > plan in a decent way. > > Those over-the-weekend clients always calling in Friday at Noon (because > > they "suddenly" remember, and have to call you before they turn off for a > > wonderful weekend!) are used to, that they can get away with this and > Mark > > never says no. > > > > Also, couldn't you team up with someone? I know, I know ... you are the > > best, but probably not for everything. And that is needed if someone > should > > be able to jump in for you while you are on holiday - with e-mail and > > remote access shut down. > > > > /gustav > > > > > > >>> marksimms at verizon.net 30-01-2012 16:41:32 >>> > > Sorry no - I'm the management !!! > > But I've got clients with deadlines and budgets....that THEY SET. > > > > I just can't seem to get to a cruising speed of 60 mph. > > I'm either at zero(doing nothing) or 100 mph(multiple concurrent > > contracts)....and veering out-of-control. > > That's my current state. > > > > > > > > Hi Mark > > > Blame management for poor resource planning. That's the essence of > this. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Tue Jan 31 05:51:36 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 31 Jan 2012 15:51:36 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> Message-ID: Hi Darryl -- > "Come up with your number - then triple it." >From real life custom software development experience: when you have to quote a prospect project deadlines quickly without thorough analysis then multiply your optimistic estimations by four otherwise you'll have to work on weekends, nights, no vacation - non-stop... As for the subject line of this project: In my opinion periodical burn-outs are inevitable side-effects of a contractor's life - your payment for your freedom. Freedom is costly, if you'll not find your way to be paid for your freedom by your customers, then just relax and take periodical burn-outs easy, or "surrender" to an employer... I personally can't find one here to "surrender" for many years :) (I have been employed for ten years in the beginning of my programming carrier - that were exciting times, great energetic skilled team etc. - it got broken apart very quickly a long ago, there were a few similar occasions later, and they all went broken, that was painful...) Thank you. -- Shamil 31 ?????? 2012, 02:46 ?? "Darren - Active Billing" : > Howdy, > I don't work for myself at all now and I do very little Access work, but in > relation to hours, I remember My Colby saying a long time ago something like > this... > "Come up with your number - then triple it." > When I first saw that written - I thought...noooo, surely not. > But I have since used it on many occasions to great effect. > And in the place where I work now the programmers seem to be very optimistic > about their abilities (Ruby developers seem to all be like that) > I then tell 'em whatever money or time guestimate you get, triple it. > Works out right almost every single time. > See y'all > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins > Sent: Tuesday, 31 January 2012 9:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Burn-out > > "do my best guess at hours required, then double the hours" > > That, my friend, is excellent and valuable advice that I strongly support. > Happy to double it again in some instances, depending on how busy I am. > > Cheers > Darryl > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Jan 31 08:31:17 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 09:31:17 -0500 Subject: [AccessD] Selectively disable UAC for your trusted Vista applications | TechRepublic Message-ID: <4F27FB35.5070503@colbyconsulting.com> I am trying to discover how to allow specific apps to open without getting the User Account Control prompt (Windows 7). What this thing seems to do is to run an application in compatibility mode, with a specific level of privilege. This article purports to allow that, however I have followed the instructions and it does not appear to be working. Has anyone ever tried this? Seen it work? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.techrepublic.com/blog/window-on-windows/selectively-disable-uac-for-your-trusted-vista-applications/635 From marksimms at verizon.net Tue Jan 31 08:55:49 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 09:55:49 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> Message-ID: <00bb01cce028$6c21cd50$446567f0$@net> Very profound Shamil...and your experience with the busted development teams is quite a tell with regards to the recent problems in the industry. The Freedom aspect is interesting: in my current case, I've two work-at-home-office contracts....which does provide for some freedom....er at least "flexibility" i.e. working at 3 am to spend time AM to work-out at the gym, etc. When I was on remote contract, it really stunk: no flexibility, long commute, lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little time to work-out....which I think is essential for this stressful business. Lately, I'm been getting some ridiculous offers to work at remote locations several hundred miles away....with no compensation for travel or stay over night expenses. After expenses, I'd be making like $30/hr ! I guess there's a lot of desperate programmers out there. The other development lately has been major corps forcing everyone into W2 contracts instead of more favorable 1099 or corp-to-corp arrangements. All of these are valid reasons to leave the industry. From jwcolby at colbyconsulting.com Tue Jan 31 09:37:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 10:37:28 -0500 Subject: [AccessD] Burn-out In-Reply-To: <00bb01cce028$6c21cd50$446567f0$@net> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> Message-ID: <4F280AB8.10606@colbyconsulting.com> I too am a one man show. I have always focused on very small business, as in 100 person or less. What I find is that these small businesses are: 1) Hard to find 2) Easy to get into once found 3) Easy to work with 4) Pay well enough to make it worthwhile. 5) Won't even consider overseas IT. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 9:55 AM, Mark Simms wrote: > Very profound Shamil...and your experience with the busted development teams > is quite a tell with regards to the recent problems in the industry. > The Freedom aspect is interesting: in my current case, I've two > work-at-home-office contracts....which does provide for some freedom....er at > least "flexibility" i.e. working at 3 am to spend time AM to work-out at the > gym, etc. > When I was on remote contract, it really stunk: no flexibility, long commute, > lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little > time to work-out....which I think is essential for this stressful business. > > Lately, I'm been getting some ridiculous offers to work at remote locations > several hundred miles away....with no compensation for travel or stay over > night expenses. After expenses, I'd be making like $30/hr ! I guess there's a > lot of desperate programmers out there. > The other development lately has been major corps forcing everyone into W2 > contracts instead of more favorable 1099 or corp-to-corp arrangements. > All of these are valid reasons to leave the industry. > > > From edzedz at comcast.net Tue Jan 31 10:02:02 2012 From: edzedz at comcast.net (Edward Zuris) Date: Tue, 31 Jan 2012 09:02:02 -0700 Subject: [AccessD] Compression slows down MDB In-Reply-To: <5C98DB0A52F540129194443D00C7477B@XPS> Message-ID: <001401cce031$abf1ed80$5bdea8c0@edz1> Thanks Jim, I'll check out the compiled option staying grayed out after a compile. But I am able to recreate the issue, over and over by just doing (C&R), and the pattern returns. Will be doing to more testing then get back to you. Ed- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, January 30, 2012 10:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB Ed, Were talking about two different things here: 1. SQL statement and execution and the costing plans used to execute them. 2. VBA Code compilation With what you are doing (#2), what I would do before the cutting code out is do: ? Application.IsCompiled In the debug window or check the menu and see of the compiled option is grayed out. It may be that something in your app is causing the application to become decompiled. This would slow down all the VBA code that executes. What I was talking about (#1), is triggered by a compact and repair and has nothing to do with VBA code. If your not doing a C&R when you mess with the code, then your problem is with code in some way, not the SQL statements. If you do a C&R when you do the code thing, then the code manipulation may just be a red herring and the change in performance might be due to what I was talking about. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Monday, January 30, 2012 10:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Compression slows down MDB Hi Jim, I think you are on to something. The application in question is to help manage the internal tasks with in several busy Hotels. After processing two and half days, (2.5), worth of data I would take a chunk of code like: +------------------------------------------------------------+ ' ***************************************************** ' Open Form @Clone Recordset ' Set rScreen = [Forms]![ft069JMaidUpd]![SubForm2].Form.RecordsetClone lMaidCount = 0 On Error Resume Next rScreen.MoveLast lMaidCount = rScreen.RecordCount rScreen.MoveFirst On Error GoTo 0 +------------------------------------------------------------+ Cut it out into a Temp notepad file, do a debug compile and save the MDB. Then paste the code back in to where it goes, repeat the debug compile and MDB save. Then the processing times would improve from 13-14 seconds per guest room, down to 2-3 seconds per guest room. Why would doing that kind of compile cause such improvement ? I started to record the times each routine was taking and storing the results in a table. +------------------------------------------------------------+ ' ******************************************************* ' ******************************************************* ' This is where the @Big update for @tt051 tables are called. ' Update all the buckets and special stuff. ' dcboAssignedDate = Timer Call Forms("ft069JMaidUpd").cboAssignedDate_Click dcboAssignedDate = Timer - dcboAssignedDate +------------------------------------------------------------+ Furthermore, there are many SQL statements, plus lots of VBA .MoveNext, .MovePrevious, .Edit and .Update commands. Complex three way joins, and lots of record delegating and record inserting going on. Thus at times tables are empty or filled with lots of space, chr$(32)'s. +------------------------------------------------------------+ ' ***************************************************** ' Out with the old data ' s1SQL = "" s1SQL = s1SQL & " DELETE " s1SQL = s1SQL & " tt051bToDoRpt.zRowID " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051bToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True ' ***************************************************** ' Transfer Housekeeping data into tt051bToDoRpt ' s1SQL = "" s1SQL = s1SQL & " INSERT INTO " s1SQL = s1SQL & " tt051bToDoRpt " s1SQL = s1SQL & " ( " s1SQL = s1SQL & " Department, zRoomTask, Task_Description, " s1SQL = s1SQL & " SpanishText, Priority, " s1SQL = s1SQL & " Assigned, WorkDate, zLoadDate, zHotel, HouseKeepKey, Housekeeper, " s1SQL = s1SQL & " RmType, Ppl, RmStatus, Condition, StayOCC, Service, " s1SQL = s1SQL & " zIndicator, zOrder, zFlag, Active, DateAdded, " s1SQL = s1SQL & " DateModified, RoomNumID, TaskShortDesc, zType, ToDoListKey, MaidReassign ) " s1SQL = s1SQL & " SELECT " s1SQL = s1SQL & " tt051aToDoRpt.Department, tt051aToDoRpt.zRoomTask, " s1SQL = s1SQL & " tt051aToDoRpt.Task_Description, " s1SQL = s1SQL & " tt051aToDoRpt.SpanishText, " s1SQL = s1SQL & " tt051aToDoRpt.Priority, tt051aToDoRpt.Assigned, tt051aToDoRpt.WorkDate, " s1SQL = s1SQL & " tt051aToDoRpt.zLoadDate, " s1SQL = s1SQL & " tt051aToDoRpt.zHotel, tt051aToDoRpt.HouseKeepKey, " s1SQL = s1SQL & " tt051aToDoRpt.Housekeeper, tt051aToDoRpt.RmType, " s1SQL = s1SQL & " tt051aToDoRpt.Ppl, tt051aToDoRpt.RmStatus, " s1SQL = s1SQL & " tt051aToDoRpt.Condition, tt051aToDoRpt.StayOCC, " s1SQL = s1SQL & " tt051aToDoRpt.Service, 7 AS zInd, tt051aToDoRpt.zOrder, " s1SQL = s1SQL & " tt051aToDoRpt.zFlag, tt051aToDoRpt.Active, " s1SQL = s1SQL & " tt051aToDoRpt.DateAdded, tt051aToDoRpt.DateModified, " s1SQL = s1SQL & " tt051aToDoRpt.RoomNumID, tt051aToDoRpt.TaskShortDesc, " s1SQL = s1SQL & " tt051aToDoRpt.zType, tt051aToDoRpt.ToDoListKey, tt051aToDoRpt.MaidReassign " s1SQL = s1SQL & " FROM " s1SQL = s1SQL & " tt051aToDoRpt " s1SQL = s1SQL & " WHERE " s1SQL = s1SQL & " tt051aToDoRpt.zHotel = " s1SQL = s1SQL & " " & Chr$(34) & gscboHotelSite & Chr$(34) & " " s1SQL = s1SQL & " And " s1SQL = s1SQL & " tt051aToDoRpt.zIndicator = 2 " s1SQL = s1SQL & " ORDER BY " s1SQL = s1SQL & " tt051aToDoRpt.Department, " s1SQL = s1SQL & " tt051aToDoRpt.zRoomTask " s1SQL = s1SQL & " ; " DoCmd.SetWarnings False DoCmd.RunSQL s1SQL, False DoCmd.SetWarnings True +------------------------------------------------------------+ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Saturday, January 28, 2012 6:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compression slows down MDB William, <> As determined by looking at the table statistics. I have a DB here somewhere that is an example of this. It had a three table join which would be cause the wrong execution plan to be chosen if one of the tables, which was a large one, was full of records or empty. Using JET show plan, you could clearly see that the query parser used two different plans of execution based on the table being full or empty. One was efficient, one was not. As a result, the query went from <2 sec execution to more then 30 seconds. The table in question was filled/emptied on a regular basis and sometimes when a C&R done, happened to be empty. Took forever to track down why sometimes it would work well and other times not. <> Because a DB changes over time and it doesn't track statistics like that. JET is pretty simplistic. The assumption was made that after a C&R, the DB is its most efficient form and that most tables are relatively static in size. After a C&R, pages have been reorganized, indexes re-balanced, table statistics updated, etc. So every query plan at that point is invalidated. First execution after that generates a new plan, which is then saved with the query and used until the next C&R or you modify the query and save it. <> Any and all SQL query parsers given a specific statement "cost" it, which means that it tries as several different ways of executing it and then chooses the plan that is the most efficient or "costs" the least. It does this based on the SQL statement, indexes available and type of indexes (ie. having a unique index vs a non-unique one allows for different types of index-merge operations), and the number of records in the tables involved. In the case I mentioned above the parser decided that with the table empty, it cost less to sort the main table and then perform other operations. However with the table full, sorting the table was a very expensive operation and should have been done on the result set as a finial step, which was only a couple of records. JET doesn't expose this costing, but SQL server does and you can view the costing plan for any SQL statement. It will show you each and every step it performs (index joins, sorts, table scan, etc) and the cost to executing the overall statement. SQL even allows you to override the parser costing by using plan hints to force the parser to weight certain plans more. JET does not have this feature. If it did, the problem above could have been avoided even with the table empty. We also lost one of the old performance tricks that you could use with JET; using a SQL statement instead of a saved query. In the past, SQL statements were always costed at every execution. So if you had a very dynamic table, you would just use SQL statements with it rather then saved queries. However many developers started using SQL everywhere and started having performance problems as a result (because a query plan was being done every time). Rather then document the difference and force people to use saved queries, Microsoft decided to create a temp query (a saved query) for any SQL statement it found. These start with a tilde (~) and you can see them in the querydefs collection. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Benson Sent: Friday, January 27, 2012 10:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compression slows down MDB Jim I had to admit I could not make any sense out of what you explained. How would a query parser know whether a table is "full or not"? Trust me I am not debating you it just doesn't get thru my thick head what you are saying. Why would access throw away valuable info such as the most efficient way to plan out and run a query. And what does "recosted" mean? Sorry I am such an ignoramus, if you prefer to reply with a link that I can read up on this I would appreciate. This seems to indicate it is a bad idea to compact on close of a database. On Jan 27, 2012 3:18 PM, "Jim Dettman" wrote: > Ed, > > I'm not sure this explains this, but part of the compact and repair > process is to reset the table statistics. Those are used by the query > parser to "cost" different ways of doing a query. Also part of the > repair and compact process is that each query is flagged to be > re-costed. So first time it's run, you get a new costing plan > calculated (rather then using the > save one). > > Sometimes on rare occasions, the query parser on queries involving > large tables will choose an inefficient plan depending on whether the > table is full or not. > > But with all that said, you query plan would remain inefficient even > if the database grew until it was re-costed again, at which point it > would be back up to speed. > > So besides the compact and repair, what else are you doing within the > DB in terms of records? Why does it go from 850MB down to 170? Are > you doing > a large amount of inserting/deleting? > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward > Zuris > Sent: Friday, January 27, 2012 12:11 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Compression slows down MDB > > > Looking at MSFT's web site I get the impression > that repair and compression of your MDB file is > a good thing. > > However. . . > > Has anyone had the experience of doing a compress > and your MsAccess application slowed way down ? > > At 170 megabytes in size, it takes 31 minutes to do > a days worth of updates. At 850 megabytes it takes > just 8 minutes. > > BTW, this happens on W2K 32bit Pro with Office 2000, > and Win-7 64bit Pro, using Access 2003 32bit, using > access 2000 file structures. > > The application didn't change that behavior when > converting every thing over to Access 2003 file > structures. > > Any ideas ? > > Thanks. > > Sincerely, > Ed Zuris. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From TSeptav at uniserve.com Tue Jan 31 10:09:18 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 31 Jan 2012 08:09:18 -0800 Subject: [AccessD] VBEErrorHandler.dll Message-ID: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks From edzedz at comcast.net Tue Jan 31 10:10:57 2012 From: edzedz at comcast.net (Edward Zuris) Date: Tue, 31 Jan 2012 09:10:57 -0700 Subject: [AccessD] Burn-out In-Reply-To: <001b01ccdf77$5b8b7470$12a25d50$@net> Message-ID: <001601cce032$eac64230$5bdea8c0@edz1> I think many of us are in that boat. But glad to working, it seems I burn-out at times, but have keep plowing ahead anyway. It is either 1/2 MPH or the speed of sound. With very little in between. The Dog, Dudley Do-Right, takes me for a walk if I start to feel overwhelmed. Ed- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Amen to that Ed. Gotta live with it....or go back to zero MPH.....forever. Again, I'm making my "escape plans"...they're just not firm at the moment. Since I've got a finance master's degree, I've been hit with a double whammy: First the Indianization of IT, and now the bank and insurance company massive layoffs. > Where else is an old over 50 year old > going to work. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Tue Jan 31 10:20:47 2012 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 31 Jan 2012 08:20:47 -0800 Subject: [AccessD] Burn-out In-Reply-To: <4F280AB8.10606@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> Message-ID: All my clients have ended up being small businesses as well. I'd add another point: small businesses are so used to getting bad service from contractors, that when they do find a contractor who is doing good work and isn't ripping them off, they tend to keep the contractor forever. Doug. On Tue, Jan 31, 2012 at 7:37 AM, jwcolby wrote: > I too am a one man show. I have always focused on very small business, as > in 100 person or less. What I find is that these small businesses are: > > 1) Hard to find > 2) Easy to get into once found > 3) Easy to work with > 4) Pay well enough to make it worthwhile. > 5) Won't even consider overseas IT. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > > On 1/31/2012 9:55 AM, Mark Simms wrote: > >> Very profound Shamil...and your experience with the busted development >> teams >> is quite a tell with regards to the recent problems in the industry. >> The Freedom aspect is interesting: in my current case, I've two >> work-at-home-office contracts....which does provide for some >> freedom....er at >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at >> the >> gym, etc. >> When I was on remote contract, it really stunk: no flexibility, long >> commute, >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had >> little >> time to work-out....which I think is essential for this stressful >> business. >> >> Lately, I'm been getting some ridiculous offers to work at remote >> locations >> several hundred miles away....with no compensation for travel or stay over >> night expenses. After expenses, I'd be making like $30/hr ! I guess >> there's a >> lot of desperate programmers out there. >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. >> All of these are valid reasons to leave the industry. >> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/accessd > Website: http://www.databaseadvisors.**com > From marksimms at verizon.net Tue Jan 31 10:24:43 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 11:24:43 -0500 Subject: [AccessD] Burn-out In-Reply-To: <4F280AB8.10606@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> Message-ID: <004a01cce034$d73863e0$85a92ba0$@net> Yes John, one of my clients fits this profile perfectly. I do counsel everyone not to consider Mom-and-Pop level however.... I've been burnt with non-payment from these guys. > What I find is that these small businesses are: > > 1) Hard to find > 2) Easy to get into once found > 3) Easy to work with > 4) Pay well enough to make it worthwhile. > 5) Won't even consider overseas IT. > > John W. Colby From mcp2004 at mail.ru Tue Jan 31 10:34:59 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 31 Jan 2012 20:34:59 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: <00bb01cce028$6c21cd50$446567f0$@net> References: <00bb01cce028$6c21cd50$446567f0$@net> Message-ID: Hi Mark -- > All of these are valid reasons to leave the industry. One can find reasons to leave any/most of the industries these days - you say "Inidianazation of IT", I can say Tajikistanization, Uzbekinistanazation,,, (name all of ex-USSR republics as well as Chinese and even Vietnamese workers) of building business of all kinds and many other real businesses - guest-workers have got "flooded" Russia, and of course they agree to work based on ridiculous pay rate... ... but as JC say - you have the luxury to find strong small businesses there whose business will be driven by your custom development - and then you'll be safe, and there will be no need to leave our industry - just keep looking for such businesses :) > The other development lately has been major corps forcing everyone into W2 > contracts instead of more favorable 1099 or corp-to-corp arrangements. One can say this is "lightweight" maphia, another one will say - equal opportunity employment - both will be right. This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) Thank you. -- Shamil 31 ?????? 2012, 18:57 ?? "Mark Simms" : > Very profound Shamil...and your experience with the busted development teams > is quite a tell with regards to the recent problems in the industry. > The Freedom aspect is interesting: in my current case, I've two > work-at-home-office contracts....which does provide for some freedom....er at > least "flexibility" i.e. working at 3 am to spend time AM to work-out at the > gym, etc. > When I was on remote contract, it really stunk: no flexibility, long commute, > lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little > time to work-out....which I think is essential for this stressful business. > > Lately, I'm been getting some ridiculous offers to work at remote locations > several hundred miles away....with no compensation for travel or stay over > night expenses. After expenses, I'd be making like $30/hr ! I guess there's a > lot of desperate programmers out there. > The other development lately has been major corps forcing everyone into W2 > contracts instead of more favorable 1099 or corp-to-corp arrangements. > All of these are valid reasons to leave the industry. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Tue Jan 31 10:40:42 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 31 Jan 2012 20:40:42 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: References: <4F280AB8.10606@colbyconsulting.com> Message-ID: Hi Doug, > small businesses are so used to getting bad service from > contractors, Yes. > when they do find a contractor who is doing good work and > isn't ripping them off, they tend to keep the contractor forever.. Yes. Note for Mark Simms: The latter is a 'Win-win' case. It happens - the more often the better your services/skills are. Just keep mastering your skillset and keep looking for strong fair small business customers ... Thank you. -- Shamil 31 ?????? 2012, 20:21 ?? Doug Steele : > All my clients have ended up being small businesses as well. I'd add > another point: small businesses are so used to getting bad service from > contractors, that when they do find a contractor who is doing good work and > isn't ripping them off, they tend to keep the contractor forever. > > Doug. > > On Tue, Jan 31, 2012 at 7:37 AM, jwcolby wrote: > > > I too am a one man show. I have always focused on very small business, as > > in 100 person or less. What I find is that these small businesses are: > > > > 1) Hard to find > > 2) Easy to get into once found > > 3) Easy to work with > > 4) Pay well enough to make it worthwhile. > > 5) Won't even consider overseas IT. > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > > > On 1/31/2012 9:55 AM, Mark Simms wrote: > > > >> Very profound Shamil...and your experience with the busted development > >> teams > >> is quite a tell with regards to the recent problems in the industry. > >> The Freedom aspect is interesting: in my current case, I've two > >> work-at-home-office contracts....which does provide for some > >> freedom....er at > >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at > >> the > >> gym, etc. > >> When I was on remote contract, it really stunk: no flexibility, long > >> commute, > >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had > >> little > >> time to work-out....which I think is essential for this stressful > >> business. > >> > >> Lately, I'm been getting some ridiculous offers to work at remote > >> locations > >> several hundred miles away....with no compensation for travel or stay over > >> night expenses. After expenses, I'd be making like $30/hr ! I guess > >> there's a > >> lot of desperate programmers out there. > >> The other development lately has been major corps forcing everyone into W2 > >> contracts instead of more favorable 1099 or corp-to-corp arrangements. > >> All of these are valid reasons to leave the industry. > >> > >> > >> > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/accessd > > Website: http://www.databaseadvisors.**com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Jan 31 11:26:45 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 09:26:45 -0800 Subject: [AccessD] Burn-out In-Reply-To: <00bb01cce028$6c21cd50$446567f0$@net> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> Message-ID: I have been watching this discussion with some interest. I have basically worked as a free-lancers for almost 35 years. I have discovered that I either work alone or have to be in charge. Working with a group has quite another dynamic. I had my own company, for a number of years. That was a total burn-out...seven days a week, minimum of 12 hours a day for over two years. I worked as senior developer for another company for a few more and had to learn how to set standards, break up projects into components, managing those components, assign tasks, monitor production, assemble the pieces and testing, testing and testing some more. Sometimes things went together without issues but that was rare...mostly the engineering looked like a bridge, starting at two sides of the rivers and not meeting exactly in the middle. (Something like Access and Excel.) I think it is one of the toughest task to manage a group of super creative people...as they have a tendency to loose focus and wander. They are very sensitive, they don't take orders well...expect fights, tears and sulking. There is of course the accountant type programmer and they are good at the straight ahead stuff and they tend to have a memory like a steel-trap but don't expect an brilliance from a meat and potatoes type fellow. The other thing to remember is that no matter how beautiful the code is the client cares nothing about that and they only thing they like is a pretty interface and an application the works. The truth is some hacker that pours out spaghetti code but makes a pretty front end looks like a star. Looks are more important than anything else...good looks always says quality. Any time you have your own business, you can burn out. You just have to learn to set standards, work reasonable hours and try and remember you are not twenty any more and you do have a family with greater responsibilities. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, January 31, 2012 6:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Very profound Shamil...and your experience with the busted development teams is quite a tell with regards to the recent problems in the industry. The Freedom aspect is interesting: in my current case, I've two work-at-home-office contracts....which does provide for some freedom....er at least "flexibility" i.e. working at 3 am to spend time AM to work-out at the gym, etc. When I was on remote contract, it really stunk: no flexibility, long commute, lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little time to work-out....which I think is essential for this stressful business. Lately, I'm been getting some ridiculous offers to work at remote locations several hundred miles away....with no compensation for travel or stay over night expenses. After expenses, I'd be making like $30/hr ! I guess there's a lot of desperate programmers out there. The other development lately has been major corps forcing everyone into W2 contracts instead of more favorable 1099 or corp-to-corp arrangements. All of these are valid reasons to leave the industry. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 11:51:19 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 09:51:19 -0800 Subject: [AccessD] Burn-out In-Reply-To: <4F280AB8.10606@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> Message-ID: <3D542CF0678246A3B96D50662D2C614C@creativesystemdesigns.com> Good point John. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 31, 2012 7:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out I too am a one man show. I have always focused on very small business, as in 100 person or less. What I find is that these small businesses are: 1) Hard to find 2) Easy to get into once found 3) Easy to work with 4) Pay well enough to make it worthwhile. 5) Won't even consider overseas IT. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 9:55 AM, Mark Simms wrote: > Very profound Shamil...and your experience with the busted development teams > is quite a tell with regards to the recent problems in the industry. > The Freedom aspect is interesting: in my current case, I've two > work-at-home-office contracts....which does provide for some freedom....er at > least "flexibility" i.e. working at 3 am to spend time AM to work-out at the > gym, etc. > When I was on remote contract, it really stunk: no flexibility, long commute, > lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little > time to work-out....which I think is essential for this stressful business. > > Lately, I'm been getting some ridiculous offers to work at remote locations > several hundred miles away....with no compensation for travel or stay over > night expenses. After expenses, I'd be making like $30/hr ! I guess there's a > lot of desperate programmers out there. > The other development lately has been major corps forcing everyone into W2 > contracts instead of more favorable 1099 or corp-to-corp arrangements. > All of these are valid reasons to leave the industry. > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 11:53:58 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 09:53:58 -0800 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> Message-ID: <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Hi Tony: We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 8:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBEErrorHandler.dll Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 11:56:52 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 09:56:52 -0800 Subject: [AccessD] Burn-out In-Reply-To: <001601cce032$eac64230$5bdea8c0@edz1> References: <001b01ccdf77$5b8b7470$12a25d50$@net> <001601cce032$eac64230$5bdea8c0@edz1> Message-ID: The importance of kids and pets and even the commander-in-chief (your wife) can not be under estimated. They all keep you grounded. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward Zuris Sent: Tuesday, January 31, 2012 8:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Burn-out I think many of us are in that boat. But glad to working, it seems I burn-out at times, but have keep plowing ahead anyway. It is either 1/2 MPH or the speed of sound. With very little in between. The Dog, Dudley Do-Right, takes me for a walk if I start to feel overwhelmed. Ed- -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Monday, January 30, 2012 10:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn-out Amen to that Ed. Gotta live with it....or go back to zero MPH.....forever. Again, I'm making my "escape plans"...they're just not firm at the moment. Since I've got a finance master's degree, I've been hit with a double whammy: First the Indianization of IT, and now the bank and insurance company massive layoffs. > Where else is an old over 50 year old > going to work. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 12:06:14 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 10:06:14 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> Message-ID: Right on, Doug. I have a few small clients who go back over 25 years... hardly big money makers but every computer job they need, they call. I have kept their business running for years. Now one son, who is starting his own business is calling. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Tuesday, January 31, 2012 8:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out All my clients have ended up being small businesses as well. I'd add another point: small businesses are so used to getting bad service from contractors, that when they do find a contractor who is doing good work and isn't ripping them off, they tend to keep the contractor forever. Doug. On Tue, Jan 31, 2012 at 7:37 AM, jwcolby wrote: > I too am a one man show. I have always focused on very small business, as > in 100 person or less. What I find is that these small businesses are: > > 1) Hard to find > 2) Easy to get into once found > 3) Easy to work with > 4) Pay well enough to make it worthwhile. > 5) Won't even consider overseas IT. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > > On 1/31/2012 9:55 AM, Mark Simms wrote: > >> Very profound Shamil...and your experience with the busted development >> teams >> is quite a tell with regards to the recent problems in the industry. >> The Freedom aspect is interesting: in my current case, I've two >> work-at-home-office contracts....which does provide for some >> freedom....er at >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at >> the >> gym, etc. >> When I was on remote contract, it really stunk: no flexibility, long >> commute, >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had >> little >> time to work-out....which I think is essential for this stressful >> business. >> >> Lately, I'm been getting some ridiculous offers to work at remote >> locations >> several hundred miles away....with no compensation for travel or stay over >> night expenses. After expenses, I'd be making like $30/hr ! I guess >> there's a >> lot of desperate programmers out there. >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. >> All of these are valid reasons to leave the industry. >> >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/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 colbyconsulting.com Tue Jan 31 12:10:37 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 13:10:37 -0500 Subject: [AccessD] Burn-out In-Reply-To: <004a01cce034$d73863e0$85a92ba0$@net> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> <004a01cce034$d73863e0$85a92ba0$@net> Message-ID: <4F282E9D.4060007@colbyconsulting.com> I do Mom and Pop however I get paid "often", i.e. not too many hours at a time at first, so that if I am not paid it is not a huge portion of my income for that month. Once a payment history is established then I loosen up. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 11:24 AM, Mark Simms wrote: > Yes John, one of my clients fits this profile perfectly. > I do counsel everyone not to consider Mom-and-Pop level however.... > I've been burnt with non-payment from these guys. > >> What I find is that these small businesses are: >> >> 1) Hard to find >> 2) Easy to get into once found >> 3) Easy to work with >> 4) Pay well enough to make it worthwhile. >> 5) Won't even consider overseas IT. >> >> John W. Colby > > From kismert at gmail.com Tue Jan 31 12:38:02 2012 From: kismert at gmail.com (Kenneth Ismert) Date: Tue, 31 Jan 2012 12:38:02 -0600 Subject: [AccessD] Burn-out Message-ID: > > Jim Dettman > > ... plus everything is heading to the web anyway, which is something I've totally avoid to date (gonna pay big time for that decision). > Not necessarily. You've actually managed to avoid a LOT of drudgery in the old web way of doing things (ASP.NET WinForms, browser Incompatibility, poor Javascript performance, creaky, obsolete PHP hosting...) You can now safely ignore that, and learn the cool, new web stuff: * HTML5 * CSS3 * MVC frameworks (good choices exist for .NET and open-source platforms) * Javascript frameworks (JQuery is well-supported by MVC frameworks) * Easy-to-sync, fault-tolerant, scalable hosting solutions (for PHP, see Pagoda Box ( http://newpagodabox.com/ ) and PHP Fog ( https://www.phpfog.com/ ) This range of new technology makes it much easier to target web apps for mobile devices. Plus, there are cool new platforms for Mobile, including Xamarin ( http://xamarin.com/ ), which is a .NET / Mono / Visual Studio platform for developing Android and iOS applications. So, you can view your procrastination as strategically waiting for a time like now to jump into cool new things. -Ken From jimdettman at verizon.net Tue Jan 31 13:07:48 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 31 Jan 2012 14:07:48 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <16735E94506C4B7683AC1430218EB82A@XPS> <> I like that! Now I can say procrastination has finally paid off. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, January 31, 2012 01:38 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Burn-out > > Jim Dettman > > ... plus everything is heading to the web anyway, which is something I've totally avoid to date (gonna pay big time for that decision). > Not necessarily. You've actually managed to avoid a LOT of drudgery in the old web way of doing things (ASP.NET WinForms, browser Incompatibility, poor Javascript performance, creaky, obsolete PHP hosting...) You can now safely ignore that, and learn the cool, new web stuff: * HTML5 * CSS3 * MVC frameworks (good choices exist for .NET and open-source platforms) * Javascript frameworks (JQuery is well-supported by MVC frameworks) * Easy-to-sync, fault-tolerant, scalable hosting solutions (for PHP, see Pagoda Box ( http://newpagodabox.com/ ) and PHP Fog ( https://www.phpfog.com/ ) This range of new technology makes it much easier to target web apps for mobile devices. Plus, there are cool new platforms for Mobile, including Xamarin ( http://xamarin.com/ ), which is a .NET / Mono / Visual Studio platform for developing Android and iOS applications. So, you can view your procrastination as strategically waiting for a time like now to jump into cool new things. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at chartisinsurance.com Tue Jan 31 13:10:53 2012 From: Lambert.Heenan at chartisinsurance.com (Heenan, Lambert) Date: Tue, 31 Jan 2012 14:10:53 -0500 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: "C2DbErrHandrBldr"... Isn't that something from John Colby's framework? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, January 31, 2012 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBEErrorHandler.dll Hi Tony: We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 8:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBEErrorHandler.dll Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 TSeptav at uniserve.com Tue Jan 31 13:13:32 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 31 Jan 2012 11:13:32 -0800 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: Hey Jim Thanks for the response. Sorry. I am working in Access2003 trying update some features for a client's application. I go into my script lets say for an AfterUpdate, position the cursor to the left of Private Sub and Err Error Handler on the tool bar and the message appears. What baffles me is this is how I have always done it and it worked fine yesterday. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, January 31, 2012 9:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBEErrorHandler.dll Hi Tony: We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 8:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBEErrorHandler.dll Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: 01/31/12 From jwcolby at colbyconsulting.com Tue Jan 31 13:22:10 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 14:22:10 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <00bb01cce028$6c21cd50$446567f0$@net> Message-ID: <4F283F62.50307@colbyconsulting.com> The drive towards the "global village" began thousands of years ago with sailing fleets, which could "efficiently" move goods from place to place. Steamships and carbon fuel sped up the movement and efficiency. Railroads likewise. America runs on truck fleets. Efficient transportation is the key to this trend. > This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) From the "Macro" view you are right Shamil, and long term it is a good thing (for people) and a bad thing (for the earth). Jobs moving mean money moving. The destination population makes more and their standard of living rises. They buy more which causes an increase in demand for goods (there). The standard of living falls where the jobs left, causing a mathematical "tend" towards income equalization, and a decrease in demand for goods (there). The biggest problem is when enormous, rapidly growing populations exist, populations which can effectively absorb every job available. China has made huge strides in controlling their population growth, India not so much. Walmart is the great equalizer. Buy for the lowest price possible and move the goods to where the demand is. Behind the model is cheap labor, cheap transportation, cheap resources. Visualize those three things as the legs of a triangle. The jobs exist at the center. As any leg or combination of legs changes size, the center of the triangle shifts, jobs move. This has been going on for thousands of years. For IT, transportation is the internet. That leg has effectively been shortened to zero. The Resources leg is educated labor. Lots of (poor) people and a good education system creates a valuable product - lots of educated underpaid people. India wins, China wins. The US loses (average income too high, mediocre educational system). Of course this is just a model but it fits many of the observations. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 11:34 AM, Salakhetdinov Shamil wrote: > Hi Mark -- > >> All of these are valid reasons to leave the industry. > One can find reasons to leave any/most of the industries these days - you say "Inidianazation of IT", I can say Tajikistanization, Uzbekinistanazation,,, (name all of ex-USSR republics as well as Chinese and even Vietnamese workers) of building business of all kinds and many other real businesses - guest-workers have got "flooded" Russia, and of course they agree to work based on ridiculous pay rate... > > ... but as JC say - you have the luxury to find strong small businesses there whose business will be driven by your custom development - and then you'll be safe, and there will be no need to leave our industry - just keep looking for such businesses :) > >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. > One can say this is "lightweight" maphia, another one will say - equal opportunity employment - both will be right. > This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) > > Thank you. > > -- Shamil > > > 31 ?????? 2012, 18:57 ?? "Mark Simms": >> Very profound Shamil...and your experience with the busted development teams >> is quite a tell with regards to the recent problems in the industry. >> The Freedom aspect is interesting: in my current case, I've two >> work-at-home-office contracts....which does provide for some freedom....er at >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at the >> gym, etc. >> When I was on remote contract, it really stunk: no flexibility, long commute, >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little >> time to work-out....which I think is essential for this stressful business. >> >> Lately, I'm been getting some ridiculous offers to work at remote locations >> several hundred miles away....with no compensation for travel or stay over >> night expenses. After expenses, I'd be making like $30/hr ! I guess there's a >> lot of desperate programmers out there. >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. >> All of these are valid reasons to leave the industry. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > From TSeptav at uniserve.com Tue Jan 31 13:28:46 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 31 Jan 2012 11:28:46 -0800 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav><5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: Hey Lambert Yes, I think John and Seth and others developed the program. It is still available on Seth's site. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, January 31, 2012 11:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBEErrorHandler.dll "C2DbErrHandrBldr"... Isn't that something from John Colby's framework? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, January 31, 2012 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBEErrorHandler.dll Hi Tony: We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 8:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBEErrorHandler.dll Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: 01/31/12 From jwcolby at colbyconsulting.com Tue Jan 31 13:28:49 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 14:28:49 -0500 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: <4F2840F1.70804@colbyconsulting.com> > "C2DbErrHandrBldr"... Isn't that something from John Colby's framework? I have been hiding under my desk. It is actually an Access add-in which I wrote years ago for adding error handlers to Access projects. Once I discovered MZ-Tools I stopped using my own tool. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 2:10 PM, Heenan, Lambert wrote: > "C2DbErrHandrBldr"... Isn't that something from John Colby's framework? > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Tuesday, January 31, 2012 12:54 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VBEErrorHandler.dll > > Hi Tony: > > We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Tuesday, January 31, 2012 8:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] VBEErrorHandler.dll > > Hey All > Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry > > Object variable or With block variable not set > > I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. > > Any ideas > > Thanks > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 colbyconsulting.com Tue Jan 31 13:30:17 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 14:30:17 -0500 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: <4F284149.5010703@colbyconsulting.com> Make sure that everything compiles. Beyond that, move to MZ-Tools. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 2:13 PM, Tony Septav wrote: > Hey Jim > Thanks for the response. > Sorry. I am working in Access2003 trying update some features for a client's > application. > I go into my script lets say for an AfterUpdate, position the cursor to the > left of Private Sub and Err Error Handler on the tool bar and the > message appears. What baffles me is this is how I have always done it and it > worked fine yesterday. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Tuesday, January 31, 2012 9:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VBEErrorHandler.dll > > Hi Tony: > > We will need a little more information than that. What line does the > function fail on...what does you debug or breaks say. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Tuesday, January 31, 2012 8:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] VBEErrorHandler.dll > > Hey All > Today (out of the blue) Seth's ErrorHandler is giving me the error message > Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry > > Object variable or With block variable not set > > I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still > getting the error message. > > Any ideas > > Thanks > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: 01/31/12 > From TSeptav at uniserve.com Tue Jan 31 13:38:29 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 31 Jan 2012 11:38:29 -0800 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: <4F284149.5010703@colbyconsulting.com> References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav><5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> <4F284149.5010703@colbyconsulting.com> Message-ID: Hey John This is an old dog, who really loves the addin, just can't figure out why it worked yesterday but not today. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 31, 2012 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VBEErrorHandler.dll Make sure that everything compiles. Beyond that, move to MZ-Tools. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 2:13 PM, Tony Septav wrote: > Hey Jim > Thanks for the response. > Sorry. I am working in Access2003 trying update some features for a > client's application. > I go into my script lets say for an AfterUpdate, position the cursor > to the left of Private Sub and Err Error Handler on the tool > bar and the message appears. What baffles me is this is how I have > always done it and it worked fine yesterday. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Tuesday, January 31, 2012 9:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VBEErrorHandler.dll > > Hi Tony: > > We will need a little more information than that. What line does the > function fail on...what does you debug or breaks say. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: Tuesday, January 31, 2012 8:09 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] VBEErrorHandler.dll > > Hey All > Today (out of the blue) Seth's ErrorHandler is giving me the error > message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry > > Object variable or With block variable not set > > I downloaded a fresh VBEErrorHandler.dll and registered it. But I am > still getting the error message. > > Any ideas > > Thanks > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: > 01/31/12 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: 01/31/12 From TSeptav at uniserve.com Tue Jan 31 13:42:51 2012 From: TSeptav at uniserve.com (Tony Septav) Date: Tue, 31 Jan 2012 11:42:51 -0800 Subject: [AccessD] Burn Out Message-ID: Hey All To busy - Oh cry me a river. (Just joking) I wish I was too busy. The last 2 years have been dreadful, business went from a long major peak to a bottomless valley. The only work I am currently getting is from my "old Mom and Pops clients" wanting small updates to their current applications. I have sent out many demos to potential new clients, but the response is always the same "We really like it but we cannot afford it at this time". I am thinking of maybe looking at developing Apps for the mobile sector. Congratulations to those of you who have been able to remain busy. From fuller.artful at gmail.com Tue Jan 31 14:17:34 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 31 Jan 2012 15:17:34 -0500 Subject: [AccessD] Burn Out In-Reply-To: References: Message-ID: Despite the fact that I just received an invitation to bid on an Access 2003/2010 contract yesterday, I am convinced that the market for said development is, and that the market in C# is looking far more fertile than the market for VBA, and the market for SQL DBA/Dev skills (+BIDS +SSIS +SSAS) is more fertile yet. This morning's bid for an Access Dev is the first such nibble I've received in months or even a year. In said year, I've been called upon to deliver some enhancements to apps I wrote a few years back, but I've found almost no nibbles on new Access projects. That's OK by me, since the little I've learned so far about C# totally eclipses my decade+ of Access development skills.C# totally Rocks! And I've barely begun to scratch the surface. But I am sold Sold SOLD on its profound superiority. It makes Access look like a DOS app. Granted, I still haven't figured out lots of things in C#, but I did manage to write an RTF MDI text editor, and it required about 30 lines of code. Wow! I don't think I'm quite ready to start billing for work in C#, but give me a few more months and I will be. Arthur From marksimms at verizon.net Tue Jan 31 14:18:57 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 15:18:57 -0500 Subject: [AccessD] Burn-out In-Reply-To: <4F282E9D.4060007@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> <004a01cce034$d73863e0$85a92ba0$@net> <4F282E9D.4060007@colbyconsulting.com> Message-ID: <008301cce055$90562b30$b1028190$@net> John - I made the mistake ONCE of letting the billing go for months without getting paid... ..and it was an attorney. I went to small claims and LOST. He never paid me nearly $1600 in fees. > I do Mom and Pop however I get paid "often", i.e. not too many hours at > a time at first, so that if > I am not paid it is not a huge portion of my income for that month. > Once a payment history is > established then I loosen up. > > John W. Colby From marksimms at verizon.net Tue Jan 31 14:25:38 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 15:25:38 -0500 Subject: [AccessD] Burn Out In-Reply-To: References: Message-ID: <008401cce056$7f684190$7e38c4b0$@net> Re: dearth of work... The combination of Google Apps, Open Office, Star Office, etc. Have really dented the world of Microsoft Office IMHO. Even though many of those are not nearly as robust as Office, especially for full blown custom office apps... and special add-ins, corporations don't care....they're just "into" the cost savings. From Chester_Kaup at kindermorgan.com Tue Jan 31 15:20:41 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 31 Jan 2012 15:20:41 -0600 Subject: [AccessD] Access 2003 vs Access 2007 VB Question Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? Set RSArea1 = RS4.OpenRecordset Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From jimdettman at verizon.net Tue Jan 31 15:32:30 2012 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 31 Jan 2012 16:32:30 -0500 Subject: [AccessD] Access 2003 vs Access 2007 VB Question In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> Message-ID: Check your references in VBA. You most likely set to ADO instead of DAO. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, January 31, 2012 04:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 vs Access 2007 VB Question I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? Set RSArea1 = RS4.OpenRecordset Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From steve at goodhall.info Tue Jan 31 15:33:52 2012 From: steve at goodhall.info (Steve Goodhall) Date: Tue, 31 Jan 2012 16:33:52 -0500 Subject: [AccessD] Access 2003 vs Access 2007 VB Question In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> Message-ID: It might be a difference in database default settings. How are RSArea1 and RS4 defined? Steve Goodhall, MSCS, PMP -----Original message----- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tue, Jan 31, 2012 21:21:55 GMT+00:00 Subject: [AccessD] Access 2003 vs Access 2007 VB Question I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? Set RSArea1 = RS4.OpenRecordset Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Jan 31 15:33:56 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 01 Feb 2012 01:33:56 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: <4F283F62.50307@colbyconsulting.com> References: <4F283F62.50307@colbyconsulting.com> Message-ID: Hi John -- > This has been going on for thousands of years Yes, I know (we were taught worldwide history and geography here for 6 years in secondary school starting year 7000-5000BC, including ancient Egypt, Middle East, China, Japan etc. - that was and still is a good education system for the one who wanted to learn...) And "Globalization" has just got accelerated enormously during the last 20 years - that what I meant... > India wins, China wins. The US loses Small US businesses could be loosing but US and Western Europe corporations and US and Western Europe countries, and now China and India corporations and countries do win I suppose. After all "Chinese Miracle" arose thirty years ago "fueled" by Chinese Communist Party "wise communism and capitalism cooperation politics" and then it was grown all the last thirty years by US and Western Europe corporations moving jobs and money oversees driven by "capitalistic greed"... And if you only know how many key industries' factories and businesses are owned and governed by US and Western corporations here in Russia, if you only know... Putin is just playing fool for "mere mortals" here and there - "divide and conquer" your know... Something like that... Thank you. -- Shamil 31 ?????? 2012, 23:24 ?? jwcolby : > The drive towards the "global village" began thousands of years ago with sailing fleets, which could > "efficiently" move goods from place to place. Steamships and carbon fuel sped up the movement and > efficiency. Railroads likewise. America runs on truck fleets. Efficient transportation is the key > to this trend. > > > This World has been made a "Global Village" driven by large corporations - it will take another > 50-100 or more years till the labor productivity/efficiency and life level will become comparable > worldwide - and we happened to live in "changing times" to witness how this World gets more and > more opened - aren't we lucky? :) > > From the "Macro" view you are right Shamil, and long term it is a good thing (for people) and a bad > thing (for the earth). Jobs moving mean money moving. The destination population makes more and > their standard of living rises. They buy more which causes an increase in demand for goods (there). > The standard of living falls where the jobs left, causing a mathematical "tend" towards income > equalization, and a decrease in demand for goods (there). > > The biggest problem is when enormous, rapidly growing populations exist, populations which can > effectively absorb every job available. China has made huge strides in controlling their population > growth, India not so much. > > Walmart is the great equalizer. Buy for the lowest price possible and move the goods to where the > demand is. Behind the model is cheap labor, cheap transportation, cheap resources. Visualize those > three things as the legs of a triangle. The jobs exist at the center. As any leg or combination of > legs changes size, the center of the triangle shifts, jobs move. This has been going on for > thousands of years. > > For IT, transportation is the internet. That leg has effectively been shortened to zero. The > Resources leg is educated labor. Lots of (poor) people and a good education system creates a > valuable product - lots of educated underpaid people. India wins, China wins. The US loses > (average income too high, mediocre educational system). > > Of course this is just a model but it fits many of the observations. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/31/2012 11:34 AM, Salakhetdinov Shamil wrote: > > Hi Mark -- > > > >> All of these are valid reasons to leave the industry. > > One can find reasons to leave any/most of the industries these days - you say "Inidianazation of IT", I can say Tajikistanization, Uzbekinistanazation,,, (name all of ex-USSR republics as well as Chinese and even Vietnamese workers) of building business of all kinds and many other real businesses - guest-workers have got "flooded" Russia, and of course they agree to work based on ridiculous pay rate... > > > > ... but as JC say - you have the luxury to find strong small businesses there whose business will be driven by your custom development - and then you'll be safe, and there will be no need to leave our industry - just keep looking for such businesses :) > > > >> The other development lately has been major corps forcing everyone into W2 > >> contracts instead of more favorable 1099 or corp-to-corp arrangements. > > One can say this is "lightweight" maphia, another one will say - equal opportunity employment - both will be right. > > This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) > > > > Thank you. > > > > -- Shamil > > > > > > 31 ?????? 2012, 18:57 ?? "Mark Simms": > >> Very profound Shamil...and your experience with the busted development teams > >> is quite a tell with regards to the recent problems in the industry. > >> The Freedom aspect is interesting: in my current case, I've two > >> work-at-home-office contracts....which does provide for some freedom....er at > >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at the > >> gym, etc. > >> When I was on remote contract, it really stunk: no flexibility, long commute, > >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little > >> time to work-out....which I think is essential for this stressful business. > >> > >> Lately, I'm been getting some ridiculous offers to work at remote locations > >> several hundred miles away....with no compensation for travel or stay over > >> night expenses. After expenses, I'd be making like $30/hr ! I guess there's a > >> lot of desperate programmers out there. > >> The other development lately has been major corps forcing everyone into W2 > >> contracts instead of more favorable 1099 or corp-to-corp arrangements. > >> All of these are valid reasons to leave the industry. > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Jan 31 15:50:06 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 13:50:06 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: Message-ID: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> It seems that most of the best programming is now going into the development of web and internet deployment. You have to look no further than Microsoft new Windows 8 offering to realize that. The key to all this development is the browser platform and its scripting engine. There are various factions, like IE, Chrome, FireFox, Opera and Safari and they have some of the most sophisticated programming in the market today. JavaScript is different from conventional programming in which it is totally event driven and is truly multi-tasking and multi-user. It is object oriented and now with MS compliance with industry JS standards the future look very rosy. (An aside: And as a added bonus that bound data is history!!! :-)) I like that you can just set a task like, place a new form on the page get some data, fill it with that data and while just carrying on doing other processes. One of the tricks to populating or updating pages really fast is to just push the new pages structure and data straight between a set of position ided DIV tags...let the engine do the work and it is a good 10 times as fast as any other method...just discovered this and was quite delighted and I will never use innerHTML or preformatting again. How awesome is the browser engines? For example; a programmer took the Open Source V8 engine, built into Chrome browser and installed as a web server. He put a wrapper around it and called it Node.js. It makes a great web server. It is said that the coding in V8 engine performs at the level of pure compiled C. Needless to say Node.js blows the doors of any other web server; far faster than IIS or Apache. The beauty of it is that it just takes JavaScript to code so all the FE and BE can be built having to learn just one language...and it will run on any desktop, any platform or smartphone/iphone/tablet etc. Check it out: http://nodejs.org/ ...and listen to the ramblings of the programmer at: http://www.youtube.com/watch?v=jo_B4LTHi3I A lot of this technology is really bleeding edge as it is growing so fast but it is one of the most exciting fields of development work. The latest standards, in JavaScript design, now that HTML 5 and CSS3 are set, is to increase JS programming security and that should please a lot of the systems guys. In summary, JavaScript is easy to learn but it takes a lifetime to master. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Tuesday, January 31, 2012 10:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Burn-out > > Jim Dettman > > ... plus everything is heading to the web anyway, which is something I've totally avoid to date (gonna pay big time for that decision). > Not necessarily. You've actually managed to avoid a LOT of drudgery in the old web way of doing things (ASP.NET WinForms, browser Incompatibility, poor Javascript performance, creaky, obsolete PHP hosting...) You can now safely ignore that, and learn the cool, new web stuff: * HTML5 * CSS3 * MVC frameworks (good choices exist for .NET and open-source platforms) * Javascript frameworks (JQuery is well-supported by MVC frameworks) * Easy-to-sync, fault-tolerant, scalable hosting solutions (for PHP, see Pagoda Box ( http://newpagodabox.com/ ) and PHP Fog ( https://www.phpfog.com/ ) This range of new technology makes it much easier to target web apps for mobile devices. Plus, there are cool new platforms for Mobile, including Xamarin ( http://xamarin.com/ ), which is a .NET / Mono / Visual Studio platform for developing Android and iOS applications. So, you can view your procrastination as strategically waiting for a time like now to jump into cool new things. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Jan 31 15:52:59 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 31 Jan 2012 15:52:59 -0600 Subject: [AccessD] Access 2003 vs Access 2007 VB Question In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BFC@houex1.kindermorgan.com> Thanks. That fixed it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, January 31, 2012 3:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2003 vs Access 2007 VB Question Check your references in VBA. You most likely set to ADO instead of DAO. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, January 31, 2012 04:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 vs Access 2007 VB Question I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? Set RSArea1 = RS4.OpenRecordset Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 15:57:04 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 13:57:04 -0800 Subject: [AccessD] Burn-out In-Reply-To: <4F283F62.50307@colbyconsulting.com> References: <00bb01cce028$6c21cd50$446567f0$@net> <4F283F62.50307@colbyconsulting.com> Message-ID: Hi John: I would tend to agree with you Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, January 31, 2012 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out The drive towards the "global village" began thousands of years ago with sailing fleets, which could "efficiently" move goods from place to place. Steamships and carbon fuel sped up the movement and efficiency. Railroads likewise. America runs on truck fleets. Efficient transportation is the key to this trend. > This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) From the "Macro" view you are right Shamil, and long term it is a good thing (for people) and a bad thing (for the earth). Jobs moving mean money moving. The destination population makes more and their standard of living rises. They buy more which causes an increase in demand for goods (there). The standard of living falls where the jobs left, causing a mathematical "tend" towards income equalization, and a decrease in demand for goods (there). The biggest problem is when enormous, rapidly growing populations exist, populations which can effectively absorb every job available. China has made huge strides in controlling their population growth, India not so much. Walmart is the great equalizer. Buy for the lowest price possible and move the goods to where the demand is. Behind the model is cheap labor, cheap transportation, cheap resources. Visualize those three things as the legs of a triangle. The jobs exist at the center. As any leg or combination of legs changes size, the center of the triangle shifts, jobs move. This has been going on for thousands of years. For IT, transportation is the internet. That leg has effectively been shortened to zero. The Resources leg is educated labor. Lots of (poor) people and a good education system creates a valuable product - lots of educated underpaid people. India wins, China wins. The US loses (average income too high, mediocre educational system). Of course this is just a model but it fits many of the observations. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 11:34 AM, Salakhetdinov Shamil wrote: > Hi Mark -- > >> All of these are valid reasons to leave the industry. > One can find reasons to leave any/most of the industries these days - you say "Inidianazation of IT", I can say Tajikistanization, Uzbekinistanazation,,, (name all of ex-USSR republics as well as Chinese and even Vietnamese workers) of building business of all kinds and many other real businesses - guest-workers have got "flooded" Russia, and of course they agree to work based on ridiculous pay rate... > > ... but as JC say - you have the luxury to find strong small businesses there whose business will be driven by your custom development - and then you'll be safe, and there will be no need to leave our industry - just keep looking for such businesses :) > >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. > One can say this is "lightweight" maphia, another one will say - equal opportunity employment - both will be right. > This World has been made a "Global Village" driven by large corporations - it will take another 50-100 or more years till the labor productivity/efficiency and life level will become comparable worldwide - and we happened to live in "changing times" to witness how this World gets more and more opened - aren't we lucky? :) > > Thank you. > > -- Shamil > > > 31 ?????? 2012, 18:57 ?? "Mark Simms": >> Very profound Shamil...and your experience with the busted development teams >> is quite a tell with regards to the recent problems in the industry. >> The Freedom aspect is interesting: in my current case, I've two >> work-at-home-office contracts....which does provide for some freedom....er at >> least "flexibility" i.e. working at 3 am to spend time AM to work-out at the >> gym, etc. >> When I was on remote contract, it really stunk: no flexibility, long commute, >> lots of stress, lowered my health...I put on 10 lbs ! Of course, I had little >> time to work-out....which I think is essential for this stressful business. >> >> Lately, I'm been getting some ridiculous offers to work at remote locations >> several hundred miles away....with no compensation for travel or stay over >> night expenses. After expenses, I'd be making like $30/hr ! I guess there's a >> lot of desperate programmers out there. >> The other development lately has been major corps forcing everyone into W2 >> contracts instead of more favorable 1099 or corp-to-corp arrangements. >> All of these are valid reasons to leave the industry. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Chester_Kaup at kindermorgan.com Tue Jan 31 15:58:23 2012 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 31 Jan 2012 15:58:23 -0600 Subject: [AccessD] Access 2003 vs Access 2007 VB Question In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C199BCC3D60@houex1.kindermorgan.com> It was a reference problem. Fixed now. Thanks to everyone. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, January 31, 2012 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 vs Access 2007 VB Question It might be a difference in database default settings. How are RSArea1 and RS4 defined? Steve Goodhall, MSCS, PMP -----Original message----- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tue, Jan 31, 2012 21:21:55 GMT+00:00 Subject: [AccessD] Access 2003 vs Access 2007 VB Question I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? Set RSArea1 = RS4.OpenRecordset Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 16:01:11 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 14:01:11 -0800 Subject: [AccessD] Burn Out In-Reply-To: References: Message-ID: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> Maybe MS Access has run it course and it is time to move on? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 11:43 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Burn Out Hey All To busy - Oh cry me a river. (Just joking) I wish I was too busy. The last 2 years have been dreadful, business went from a long major peak to a bottomless valley. The only work I am currently getting is from my "old Mom and Pops clients" wanting small updates to their current applications. I have sent out many demos to potential new clients, but the response is always the same "We really like it but we cannot afford it at this time". I am thinking of maybe looking at developing Apps for the mobile sector. Congratulations to those of you who have been able to remain busy. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jan 31 16:06:34 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 14:06:34 -0800 Subject: [AccessD] VBEErrorHandler.dll In-Reply-To: References: <0E94A2FBCAE84EC68B42401C265D3BBB@TonySeptav> <5F45345B77FB4712A8F65FBE19EA8F6B@creativesystemdesigns.com> Message-ID: Hi Tony: If that is the case there must be something missing or over-looked...this is usually the case. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 11:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBEErrorHandler.dll Hey Jim Thanks for the response. Sorry. I am working in Access2003 trying update some features for a client's application. I go into my script lets say for an AfterUpdate, position the cursor to the left of Private Sub and Err Error Handler on the tool bar and the message appears. What baffles me is this is how I have always done it and it worked fine yesterday. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, January 31, 2012 9:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VBEErrorHandler.dll Hi Tony: We will need a little more information than that. What line does the function fail on...what does you debug or breaks say. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Tuesday, January 31, 2012 8:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] VBEErrorHandler.dll Hey All Today (out of the blue) Seth's ErrorHandler is giving me the error message Error in Function C2DbErrHandrBldr.ErrHndlrBldEntry Object variable or With block variable not set I downloaded a fresh VBEErrorHandler.dll and registered it. But I am still getting the error message. Any ideas Thanks -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4778 - Release Date: 01/31/12 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Tue Jan 31 16:16:05 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 01 Feb 2012 02:16:05 +0400 Subject: [AccessD] =?utf-8?q?Burn-out?= In-Reply-To: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> Message-ID: Hi Jim -- > It is object oriented It's "object based" not "object oriented" isn't it? Just like VBA or VB6 are? :) And it even doesn't have a notion of a class... Well, is it "object oriented" or not - opinions vary: http://stackoverflow.com/questions/107464/is-javascript-object-oriented ... > JavaScript is easy to learn Are you kidding? :) Just learning how to use "object based" language with "prototypical inheritance" to make so flexible and powerful coding - just that makes learning JavaScript not an easy exercise, isn't? > but it takes a lifetime to master. True. This is JavaScript - http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html I wonder how soon it will replace Photoshop or something like that... Thank you. -- Shamil 01 ??????? 2012, 01:51 ?? "Jim Lawrence" : > It seems that most of the best programming is now going into the development > of web and internet deployment. You have to look no further than Microsoft > new Windows 8 offering to realize that. > > The key to all this development is the browser platform and its scripting > engine. There are various factions, like IE, Chrome, FireFox, Opera and > Safari and they have some of the most sophisticated programming in the > market today. JavaScript is different from conventional programming in which > it is totally event driven and is truly multi-tasking and multi-user. It is > object oriented and now with MS compliance with industry JS standards the > future look very rosy. > > (An aside: And as a added bonus that bound data is history!!! :-)) > > I like that you can just set a task like, place a new form on the page get > some data, fill it with that data and while just carrying on doing other > processes. One of the tricks to populating or updating pages really fast is > to just push the new pages structure and data straight between a set of > position ided DIV tags...let the engine do the work and it is a good 10 > times as fast as any other method...just discovered this and was quite > delighted and I will never use innerHTML or preformatting again. > > How awesome is the browser engines? For example; a programmer took the Open > Source V8 engine, built into Chrome browser and installed as a web server. > He put a wrapper around it and called it Node.js. It makes a great web > server. It is said that the coding in V8 engine performs at the level of > pure compiled C. Needless to say Node.js blows the doors of any other web > server; far faster than IIS or Apache. The beauty of it is that it just > takes JavaScript to code so all the FE and BE can be built having to learn > just one language...and it will run on any desktop, any platform or > smartphone/iphone/tablet etc. > > Check it out: http://nodejs.org/ > ...and listen to the ramblings of the programmer at: > http://www.youtube.com/watch?v=jo_B4LTHi3I > > A lot of this technology is really bleeding edge as it is growing so fast > but it is one of the most exciting fields of development work. The latest > standards, in JavaScript design, now that HTML 5 and CSS3 are set, is to > increase JS programming security and that should please a lot of the systems > guys. > > In summary, JavaScript is easy to learn but it takes a lifetime to master. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert > Sent: Tuesday, January 31, 2012 10:38 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Burn-out > > > > > Jim Dettman > > > > ... plus everything is heading to the web anyway, which is > > something I've totally avoid to date (gonna pay big time > > for that decision). > > > > Not necessarily. You've actually managed to avoid a LOT of drudgery in the > old web way of doing things (ASP.NET WinForms, browser Incompatibility, > poor Javascript performance, creaky, obsolete PHP hosting...) > > You can now safely ignore that, and learn the cool, new web stuff: > > * HTML5 > * CSS3 > * MVC frameworks (good choices exist for .NET and open-source platforms) > * Javascript frameworks (JQuery is well-supported by MVC frameworks) > * Easy-to-sync, fault-tolerant, scalable hosting solutions (for PHP, see > Pagoda Box ( http://newpagodabox.com/ ) and PHP Fog ( > https://www.phpfog.com/ ) > > This range of new technology makes it much easier to target web apps for > mobile devices. > > Plus, there are cool new platforms for Mobile, including Xamarin ( > http://xamarin.com/ ), which is a .NET / Mono / Visual Studio platform for > developing Android and iOS applications. > > So, you can view your procrastination as strategically waiting for a time > like now to jump into cool new things. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darryl at whittleconsulting.com.au Tue Jan 31 16:47:52 2012 From: darryl at whittleconsulting.com.au (Darryl Collins) Date: Tue, 31 Jan 2012 22:47:52 +0000 Subject: [AccessD] Burn-out In-Reply-To: <4F280AB8.10606@colbyconsulting.com> References: <56653D383CB80341995245C537A9E7B56314D3@SINPRD0402MB099.apcprd04.prod.outlook.com> <000801ccdfa0$e63f95f0$b2bec1d0$@activebilling.com.au> <00bb01cce028$6c21cd50$446567f0$@net> <4F280AB8.10606@colbyconsulting.com> Message-ID: <56653D383CB80341995245C537A9E7B563186B@SINPRD0402MB099.apcprd04.prod.outlook.com> John, I am sure part of your edge is the fact you know your stuff and can be contactable locally and respond quickly. Small business generally like that and need to feel supported by someone who understands their business and is around long term for them - They don't have the time or desire to re-explain the problem AGAIN to whomever they get at the support call centre. They want to talk to the same person who already has a good understanding of their day to day requirements and knows how to respond appropriately and promptly. Cost is important of course, - most small businesses don't have deep pockets, but I feel you should never aim to be the cheapest, rather the best value for money for your client. In your market I suspect many of your clients have figured out that you ARE the best value for their $ given the level of expertise and speed of response they get from you. A few quality ongoing relationships with clients if better than many one off gigs anyday. Cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, 1 February 2012 2:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out I too am a one man show. I have always focused on very small business, as in 100 person or less. What I find is that these small businesses are: 1) Hard to find 2) Easy to get into once found 3) Easy to work with 4) Pay well enough to make it worthwhile. 5) Won't even consider overseas IT. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 9:55 AM, Mark Simms wrote: > Very profound Shamil...and your experience with the busted development > teams is quite a tell with regards to the recent problems in the industry. > The Freedom aspect is interesting: in my current case, I've two > work-at-home-office contracts....which does provide for some > freedom....er at least "flexibility" i.e. working at 3 am to spend > time AM to work-out at the gym, etc. > When I was on remote contract, it really stunk: no flexibility, long > commute, lots of stress, lowered my health...I put on 10 lbs ! Of > course, I had little time to work-out....which I think is essential for this stressful business. > > Lately, I'm been getting some ridiculous offers to work at remote > locations several hundred miles away....with no compensation for > travel or stay over night expenses. After expenses, I'd be making like > $30/hr ! I guess there's a lot of desperate programmers out there. > The other development lately has been major corps forcing everyone > into W2 contracts instead of more favorable 1099 or corp-to-corp arrangements. > All of these are valid reasons to leave the industry. > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Tue Jan 31 18:47:26 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 19:47:26 -0500 Subject: [AccessD] Burn Out In-Reply-To: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> Message-ID: <00bc01cce07b$11f4b1f0$35de15d0$@net> Jim - as I had pointed out in a prior post, that appears to be the case. I think it all started to go downhill with AC2007. Had that app been more robust in the area of web deployment, things might have been different. Them, Google Apps and the rest, chipped away at it. I was contacted last week about a really large and complex Access & Excel app....built for a state government. The day after I made an inquiry, the contract was already signed....effectively in 2 DAYS ! That provides a great backdrop for gauging supply/demand in this market for Access/Excel VBA expertise. > Maybe MS Access has run it course and it is time to move on? > Jim From marksimms at verizon.net Tue Jan 31 18:49:18 2012 From: marksimms at verizon.net (Mark Simms) Date: Tue, 31 Jan 2012 19:49:18 -0500 Subject: [AccessD] Burn-out In-Reply-To: References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> Message-ID: <00bd01cce07b$54cbe6b0$fe63b410$@net> Javascript is great, but has been plagued with terrible IDE and debugging tools From accessd at shaw.ca Tue Jan 31 19:51:29 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 17:51:29 -0800 Subject: [AccessD] Burn Out In-Reply-To: <00bc01cce07b$11f4b1f0$35de15d0$@net> References: <1063BCCE654B41659897FBE330CAC603@creativesystemdesigns.com> <00bc01cce07b$11f4b1f0$35de15d0$@net> Message-ID: <1B5C21E5F5714D918BF76CFFDF5A8E89@creativesystemdesigns.com> Hi Mark: All Microsoft would have to do to make Access a real application again is to bundle and integrate Express SQL and the VS express, with it and create a migration path/product from VB to .Net and from MDB to SQL...and maybe do the same for Excel. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, January 31, 2012 4:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Burn Out Jim - as I had pointed out in a prior post, that appears to be the case. I think it all started to go downhill with AC2007. Had that app been more robust in the area of web deployment, things might have been different. Them, Google Apps and the rest, chipped away at it. I was contacted last week about a really large and complex Access & Excel app....built for a state government. The day after I made an inquiry, the contract was already signed....effectively in 2 DAYS ! That provides a great backdrop for gauging supply/demand in this market for Access/Excel VBA expertise. > Maybe MS Access has run it course and it is time to move on? > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jan 31 20:21:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 31 Jan 2012 21:21:48 -0500 Subject: [AccessD] Access 2003 vs Access 2007 VB Question In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C199BF78BD2@houex1.kindermorgan.com> Message-ID: <4F28A1BC.2020203@colbyconsulting.com> Check whether you have ADO referenced before DAO. When you dim the recordset do you set the lib? dim RSArea1 as dao.recordset? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/31/2012 4:20 PM, Kaup, Chester wrote: > I moved a database from access 2003 to access 2007. The following statement compiles fine in Access 2003. In access 2007 it generates an error of Compile Error Method or Data Member not Found. What needs to be different ? > > Set RSArea1 = RS4.OpenRecordset > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > From accessd at shaw.ca Tue Jan 31 21:21:09 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 31 Jan 2012 19:21:09 -0800 Subject: [AccessD] Burn-out In-Reply-To: References: <956DDC67D59E4C19BC9BB84A96C31B0B@creativesystemdesigns.com> Message-ID: <40599451EC374C98BEEDE5401EB07F38@creativesystemdesigns.com> Hi Shamil: You are right but JavaScript is a strange bird...somewhere in-between. You can make objects and assign properties and you can make class as attributes...but in the truest sense of the book description of what a class and object is, it would be a fairly liberal interpretation. In the future, looking at some of the development work in the latest ECMAScript 5 (New JS industry standard) Here is a article describing the objects and properties: http://ejohn.org/blog/ecmascript-5-objects-and-properties/ ECMAScript 5 is even starting to address techniques for accessing local hardware that will yet again speed the processes. When I describe basic JavaScript, I think of sizing windows, translating input, doing simple math, creating substring etc....from then on there is no real limits; graphic editing like you have showing, calling for data, replacing sections of your screens, new forms or images, creating invoice forms (being populated and being updated, in real-time), charts, managing inline data...this can all get really complex really fast. Fortunately, there is JQuery and hundreds of small apps, forums and a very active community that is keeping the momentum up. Presently, most of my development uses what I call pseudo ASP.Net. I tend to use .Net to the basic design windows, forms, build the BE data connections. After I remove much of the extra code and resource directory and strip everything down to the layout and JQuery calls. Then all the AJAX management and user interface is up to me. One day I will be able to write everything from top to bottom or have enough "field-tested" code to just cut and paste and patch...but not today. Right now it is this vertical learning wall. I suspect before you are an expert with you Windows Phone, you will know a lot more about JS than you ever wanted to know. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Tuesday, January 31, 2012 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Burn-out Hi Jim -- > It is object oriented It's "object based" not "object oriented" isn't it? Just like VBA or VB6 are? :) And it even doesn't have a notion of a class... Well, is it "object oriented" or not - opinions vary: http://stackoverflow.com/questions/107464/is-javascript-object-oriented ... > JavaScript is easy to learn Are you kidding? :) Just learning how to use "object based" language with "prototypical inheritance" to make so flexible and powerful coding - just that makes learning JavaScript not an easy exercise, isn't? > but it takes a lifetime to master. True. This is JavaScript - http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html I wonder how soon it will replace Photoshop or something like that... Thank you. -- Shamil